rake_factory 0.15.0 → 0.16.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9274cc89a9ceabab9bf5539fa3256f215dafb7feeb6c8ca8f6aa1ca305cada3
4
- data.tar.gz: 7b0873f6f3db9084a1a8e43ee6294bc70dc4643882bec39025c740eb1a0b2933
3
+ metadata.gz: 1745107343bde4ae58a3fef9d00797b5f454278b4c827e62730565709e70dd27
4
+ data.tar.gz: 5ee8625a407004484ac0b73b0f99c043138d5ab1670fd7f8fa1391487903e43b
5
5
  SHA512:
6
- metadata.gz: 7344a1b406161a073aa1deb8a58ad25aee484e75d485f051bacb18ebc215c7f36bb1620bab4ba2151b597c6a1ffc39347ea2fb481d0357a2ac552655482e38e0
7
- data.tar.gz: ad8d97e0a7b862980b3a16c0a307475727de9f471674c08a831f55cfd4387c867055fd7783b201f76c86475d978b99d5aece3a6899955f2e41a196168f8a85e5
6
+ metadata.gz: 0f6a25b3848d6477bd87595317e65bb8e462ba7063ab8b7ba8b5074f510844268567144b7ce827aed7c84298c5c08052aefad5d4be3fad587f29444c0d3b005f
7
+ data.tar.gz: dc5370dcb99da98b05f604d5f4caf379d917458c447aa5175497278cfcb422e335a1fa73e94d27cdb7ac920527a81ad3cb572183a77aba6185f82b4ed8e80cb4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_factory (0.15.0)
4
+ rake_factory (0.16.0.pre.1)
5
5
  activesupport (~> 5.2)
6
6
  rake (~> 13.0)
7
7
 
@@ -8,13 +8,13 @@ module RakeFactory
8
8
 
9
9
  def process_arguments(args)
10
10
  opts = args.first || {}
11
- opts.each { |key, value| set_if_value_present(key, value) }
11
+ opts.each { |key, value| set_if_parameter(key, value) }
12
12
  end
13
13
 
14
14
  private
15
15
 
16
- def set_if_value_present(key, value)
17
- if self.respond_to?("#{key}=") && !value.nil?
16
+ def set_if_parameter(key, value)
17
+ if self.respond_to?("#{key}=")
18
18
  self.send("#{key}=", value)
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module RakeFactory
2
- VERSION = '0.15.0'
2
+ VERSION = '0.16.0.pre.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-21 00:00:00.000000000 Z
11
+ date: 2020-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -181,9 +181,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
181
  version: '2.6'
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - ">="
184
+ - - ">"
185
185
  - !ruby/object:Gem::Version
186
- version: '0'
186
+ version: 1.3.1
187
187
  requirements: []
188
188
  rubygems_version: 3.0.1
189
189
  signing_key: