fittings 3.0.0 → 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: b34b7959dc0786ec7cb0a307e047277eec6350dd9d339f30c000debfd4e0beb0
4
- data.tar.gz: 5cdc9ef6aff8cb263f5c9cc803ec4e05df163e502b84659ee1c4efa24934cabd
3
+ metadata.gz: 24cee8334941da8c02765aceff21ac9f8548d071cf6e6a8381ac669e2e97f053
4
+ data.tar.gz: 4a97af1a35e65aa6b785020618e707a6c4d6c0e95a3022eaffeb11706e47c181
5
5
  SHA512:
6
- metadata.gz: 454b0e050fa243b5db905f9809fcad8f64e2c8725c9586d3abe92b8780c1cf8f45df01825f7b65af515296d01606fcdcde8e8197ca75368172085dfbc38884ac
7
- data.tar.gz: 84d90e2d33fd91a6c7182288550c355049b9e120ed5777faf9d2ef4b68dcd76adfc75dce6430efb95a9cd500a6bebe63a2686d68474ff31f7f562788440ff430
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.0"
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"
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.0
4
+ version: 3.0.2.RC1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Cruz
@@ -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: