settingson 1.7.6 → 1.7.11

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  ENV["RAILS_ENV"] ||= 'test'
2
2
 
3
- require "codeclimate-test-reporter"
4
- CodeClimate::TestReporter.start
3
+ require 'simplecov'
4
+ SimpleCov.start
5
5
 
6
6
  require ::File.expand_path('../dummy/config/environment', __FILE__)
7
7
  require 'rspec/rails'
@@ -35,7 +35,7 @@ RSpec.configure do |config|
35
35
  config.before(:suite) do
36
36
  begin
37
37
  DatabaseCleaner.strategy = :transaction
38
- DatabaseCleaner.clean_with(:truncation)
38
+ DatabaseCleaner.clean_with(:transaction)
39
39
  end
40
40
  end
41
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settingson
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - dan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: spring-commands-rspec
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: database_cleaner
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +136,7 @@ dependencies:
150
136
  - - ">="
151
137
  - !ruby/object:Gem::Version
152
138
  version: '0'
153
- description: 'Settings management for Ruby on Rails 4 applications (ActiveRecord) '
139
+ description: 'Settings management for Ruby on Rails applications (with ActiveRecord) '
154
140
  email:
155
141
  - daan.forever@gmail.com
156
142
  executables: []
@@ -173,12 +159,19 @@ files:
173
159
  - gemfiles/4.2.gemfile.lock
174
160
  - gemfiles/5.0.gemfile
175
161
  - gemfiles/5.0.gemfile.lock
162
+ - gemfiles/5.1.gemfile
163
+ - gemfiles/5.1.gemfile.lock
164
+ - gemfiles/5.2.gemfile
165
+ - gemfiles/5.2.gemfile.lock
176
166
  - lib/generators/settingson/settingson_generator.rb
177
167
  - lib/generators/settingson/templates/migrations/rename_name_to_key_on_settings.rb
178
168
  - lib/settingson.rb
179
169
  - lib/settingson/config.rb
170
+ - lib/settingson/default.rb
180
171
  - lib/settingson/engine.rb
181
172
  - lib/settingson/store.rb
173
+ - lib/settingson/store/default.rb
174
+ - lib/settingson/store/general.rb
182
175
  - lib/settingson/utils.rb
183
176
  - lib/settingson/version.rb
184
177
  - settingson.gemspec
@@ -230,6 +223,7 @@ files:
230
223
  - spec/dummy/public/500.html
231
224
  - spec/dummy/public/favicon.ico
232
225
  - spec/models/settings_spec.rb
226
+ - spec/models/settingson/defaults_spec.rb
233
227
  - spec/spec_helper.rb
234
228
  homepage: https://github.com/daanforever/settingson
235
229
  licenses:
@@ -251,11 +245,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
245
  - !ruby/object:Gem::Version
252
246
  version: '0'
253
247
  requirements: []
254
- rubyforge_project:
255
- rubygems_version: 2.6.10
248
+ rubygems_version: 3.2.22
256
249
  signing_key:
257
250
  specification_version: 4
258
- summary: Settings management for Ruby on Rails 4 applications (ActiveRecord)
251
+ summary: Settings management for Ruby on Rails applications (with ActiveRecord)
259
252
  test_files:
260
253
  - spec/dummy/README.rdoc
261
254
  - spec/dummy/Rakefile
@@ -305,4 +298,5 @@ test_files:
305
298
  - spec/dummy/public/500.html
306
299
  - spec/dummy/public/favicon.ico
307
300
  - spec/models/settings_spec.rb
301
+ - spec/models/settingson/defaults_spec.rb
308
302
  - spec/spec_helper.rb