fittings 3.0.1 → 3.0.2.RC1

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: d8a83abcea162ee3bbe64e45d8ae9aaaba7b3c8bc7b880ec1b2425126b4560da
4
- data.tar.gz: 201965f0dad612ff9deb52086ab356715ebd176bad9ebe7da56243f94907cfb1
3
+ metadata.gz: 24cee8334941da8c02765aceff21ac9f8548d071cf6e6a8381ac669e2e97f053
4
+ data.tar.gz: 4a97af1a35e65aa6b785020618e707a6c4d6c0e95a3022eaffeb11706e47c181
5
5
  SHA512:
6
- metadata.gz: 40230ecfe3a3ea8a2fa32c7976158ca36aaf03dad0c3b84f31a2c20e9df0dfa74ee184eaf5739ec58952783fae0ff26ec4e1c9cc0fbcbcf697948383dab02510
7
- data.tar.gz: bc6ee4da0fc3ff0975eef30f4888ba52f1620129241abe7ddd05da6138afc34ef1b561e8729ed679631cf4715822827b09051400a0fbb47e49300bfd5d3083fb
6
+ metadata.gz: 51858fee047b68a3b979ffca7a4012e88d477bfe18297ec9b468d66d06f13dfe5eab8d9645ab3f2c3f9e7b134b74c14972eca8ff48548d2c833806c5eaf8ad45
7
+ data.tar.gz: 398776085cb249a36525479f6694b559247af18b5fcd0cf9f0d15bc0b428ea0bdfa4842c8b6bac860d588cadac50f89d0e0e6f5d0b4485c59c2d444c8cedd139
data/.circleci/config.yml CHANGED
@@ -119,6 +119,8 @@ jobs:
119
119
  workflows:
120
120
  version: 2
121
121
  on-commit:
122
+ unless:
123
+ equal: [ "schedule", << pipeline.parameters.GHA_Event >> ]
122
124
  jobs:
123
125
  - release:
124
126
  context: org-global
data/fittings.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "fittings"
3
- s.version = "3.0.1"
3
+ s.version = "3.0.2.RC1"
4
4
 
5
5
  s.authors = ["Edwin Cruz", "Colin Shield"]
6
6
  s.date = %q{2011-09-06}
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.require_paths = ["lib"]
22
22
 
23
23
  s.required_ruby_version = ">= 2.4.0"
24
- s.add_dependency("hashie", ">= 4.0")
24
+ s.add_dependency("hashie")
25
25
  s.add_development_dependency "rspec"
26
26
  s.add_development_dependency "rake"
27
27
  s.add_development_dependency "rdoc"
data/lib/setting.rb CHANGED
@@ -82,7 +82,7 @@ class Setting
82
82
  #=================================================================
83
83
 
84
84
  def initialize
85
- @available_settings ||= Hashie::Mash.quiet(:default).new
85
+ @available_settings ||= new_available_settings
86
86
  end
87
87
 
88
88
  def has_key?(key)
@@ -146,7 +146,7 @@ class Setting
146
146
 
147
147
  def load(params)
148
148
  # reset settings hash
149
- @available_settings = Hashie::Mash.quiet(:default).new
149
+ @available_settings = new_available_settings
150
150
  @loaded = false
151
151
 
152
152
  files = []
@@ -177,4 +177,17 @@ class Setting
177
177
  @loaded = true
178
178
  @available_settings
179
179
  end
180
+
181
+ private
182
+
183
+ def new_available_settings
184
+ # Spectre and other monoliths are tied to Hashie 3.x
185
+ # so once that isn't a problem and all apps can use Hashie >= 4.0
186
+ # then then Hashie::Mash.quiet can become the default.
187
+ if Hashie::Mash.respond_to?(:quiet)
188
+ Hashie::Mash.quiet(:default).new
189
+ else
190
+ Hashie::Mash.new
191
+ end
192
+ end
180
193
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fittings
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2.RC1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Cruz
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '4.0'
20
+ version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '4.0'
27
+ version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -125,9 +125,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  version: 2.4.0
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">="
128
+ - - ">"
129
129
  - !ruby/object:Gem::Version
130
- version: '0'
130
+ version: 1.3.1
131
131
  requirements: []
132
132
  rubygems_version: 3.2.33
133
133
  signing_key: