mutations_generator 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/generators/mutation/templates/mutation.erb +13 -12
- data/lib/mutations_generator/version.rb +1 -1
- metadata +1 -2
- data/bin/build_gem_local +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a9177068a2a6b70f86a7bbc67983e1ead0ddb3501723195c96e13c26d445003
|
4
|
+
data.tar.gz: 6ba46d9198c4b95037cca712fbe442e9b51d7c6ae52438e8c57714e6a3754b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca1cdf1f75c2c0c522de9e65a1c3b165eec44bdb63a7535c35ff3604cc9fa7fe435f909095f3a11724a906f9ae84585fd5e6ed3a4efeb63699710e4a81eadbc
|
7
|
+
data.tar.gz: 062b2547fe4f673c9a5d3626cd97edd07b6917eff00e7eda691d4b59664081ba666bf21712c638fe2efaf291a5e157ce5de7a4a035f17c9987b6488fef36abc1
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
class <%= @klass_name %> < Mutations::Command
|
2
|
-
|
2
|
+
|
3
|
+
<% if !@required.empty? -%>
|
3
4
|
required do
|
4
|
-
<% @required.each do |i
|
5
|
-
|
6
|
-
<% end
|
7
|
-
|
8
|
-
<% end
|
5
|
+
<% @required.each do |i| -%>
|
6
|
+
<%= i.filter %> :<%= i.name %>
|
7
|
+
<% end -%>
|
8
|
+
end
|
9
|
+
<% end -%>
|
9
10
|
|
10
|
-
<% if !@optional.empty?
|
11
|
+
<% if !@optional.empty? -%>
|
11
12
|
optional do
|
12
|
-
<% @optional.each do |i
|
13
|
-
|
14
|
-
<% end
|
15
|
-
|
16
|
-
<% end
|
13
|
+
<% @optional.each do |i| -%>
|
14
|
+
<%= i.filter %> :<%= i.name %>
|
15
|
+
<% end -%>
|
16
|
+
end
|
17
|
+
<% end -%>
|
17
18
|
|
18
19
|
def validate
|
19
20
|
# TODO your validation logic goes here
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutations_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- robertsimoes
|
@@ -53,7 +53,6 @@ files:
|
|
53
53
|
- LICENSE.txt
|
54
54
|
- README.md
|
55
55
|
- Rakefile
|
56
|
-
- bin/build_gem_local
|
57
56
|
- bin/console
|
58
57
|
- bin/setup
|
59
58
|
- lib/generators/mutation/USAGE
|
data/bin/build_gem_local
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rm -f mutations_generator-0.1.0.gem && gem build mutations_generator.gemspec && gem install mutations_generator-0.1.0.gem
|