view_model-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/templates/view_model_template.rb +1 -1
- data/lib/generators/view_model_generator.rb +1 -1
- data/lib/tasks/share/app/view_models/{view_model_base.rb → abstract_view_model.rb} +1 -1
- data/lib/tasks/view_model_tasks.rake +1 -1
- data/lib/view_model/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a17716b103d05b3002a3050ffb8cc54fe76f536
|
4
|
+
data.tar.gz: bc10eae38b230f28786707aa265f7736e557e21d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2148ce71069c7acc040588983590eb6427a6537c8f18e52ec80745461a4f2a5e9e72ad2ff6fd0d127f1b1cb57ff3c0c140b1bcad30aaa7109a2ab078446f41f9
|
7
|
+
data.tar.gz: ae88319fff30b8aaf9af5f84f94b63e11b84680791f7e00416f6f60cd186b6f83741ea75e0f54034908da549eb6d86d2ea35419edff1bbb4a96d4418cb3763db
|
@@ -1,2 +1,2 @@
|
|
1
|
-
class -classname- <
|
1
|
+
class -classname- < AbstractViewModel
|
2
2
|
end
|
@@ -15,7 +15,7 @@ class ViewModelGenerator < Rails::Generators::NamedBase
|
|
15
15
|
replace_class_name path
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
18
|
+
def create_view_model_test_file
|
19
19
|
path = "test/view_models/#{file_name}_view_model_test.rb"
|
20
20
|
if FileTest.exists?path
|
21
21
|
raise FileExistError, "This filename ist used by another view-model test:#{path}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: view_model-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Busold
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: view_model
|
@@ -85,7 +85,7 @@ files:
|
|
85
85
|
- lib/generators/templates/view_model_template.rb
|
86
86
|
- lib/generators/templates/view_model_test_template.rb
|
87
87
|
- lib/generators/view_model_generator.rb
|
88
|
-
- lib/tasks/share/app/view_models/
|
88
|
+
- lib/tasks/share/app/view_models/abstract_view_model.rb
|
89
89
|
- lib/tasks/view_model_tasks.rake
|
90
90
|
- lib/view_model-rails.rb
|
91
91
|
- lib/view_model/rails/engine.rb
|