settei 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: ea3ce2375e85ac9e98985d0ec6ae3876f0698fd9
4
- data.tar.gz: 534303064fc333645a928ebb3fcde9272a82289f
3
+ metadata.gz: abbe0de5008c70b4b9fb1703ab0edef0d1129df0
4
+ data.tar.gz: 21645c85ee747b832277be84de6fc8e17ae87ecb
5
5
  SHA512:
6
- metadata.gz: 65ac49d58685f659586bf9f4fead8b5f99efdd217f7691fbcad2b6dbb7f5338da211553eae50e599c39bb481129894269ba3acf1d29dec38f96f280e5efd42ae
7
- data.tar.gz: d1720aac8d9f8ced2326cc36917ebda0cd912d79bc8aad4d38f406c766032319be613f5108a981ce5b74815cc7b62e06f139935007a0e780faf034dbe56bdcde
6
+ metadata.gz: 41193aa70e07e00806aa84ea9bb6241472cafb0d6c2c18fa6ca8dc836c8101f0faf0db8782fd037e093b52272c8f3d73137cd1cb1d96b41388dcbac64aa2a20b
7
+ data.tar.gz: 1ccca5e88917aaedb434a6d7e0afea6b83a264fa688a685d8cb74f68d303bdfae5fa97b0189f307a5844ebb14d39208690b39d364ac31e1a0f9c78f79b1a68d6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- settei (0.1.2)
4
+ settei (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -16,10 +16,11 @@ Config as YAML file yet still being 12-factor compliant...
16
16
 
17
17
  ## Installation
18
18
 
19
- Add this line to your application's Gemfile:
19
+ Insert into Gemfile:
20
20
 
21
21
  ```ruby
22
22
  gem 'settei'
23
+ # gem 'dig_rb' # for Ruby < 2.3
23
24
  ```
24
25
 
25
26
  And then execute:
@@ -133,9 +134,7 @@ One can start by editing the generated `setting.rb` file. The three parts are `S
133
134
 
134
135
  You can change `Setting` to other constants or a global variable.
135
136
 
136
- You can also extend or replace `Settei::Base` with your own class, or you can just use the hash without any wrapper.
137
-
138
- **Note** For Ruby < 2.3, `Hash#dig` is not available. What you can do is to replace `Settei::Base` with your own class, or even use `SettingsLogic.new(hash)`.
137
+ You can also extend `Settei::Base`, or replace it with other classes such as `SettingsLogic.new(hash)`, or you can just use the hash without it.
139
138
 
140
139
  ### Loader
141
140
 
@@ -1,3 +1,3 @@
1
1
  module Settei
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -20,8 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.required_ruby_version = '>= 2.3.0'
24
-
25
23
  spec.add_development_dependency "bundler", "~> 1.16"
26
24
  spec.add_development_dependency "rake", "~> 10.0"
27
25
  spec.add_development_dependency "rspec", "~> 3.7.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settei
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - lulalala
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 2.3.0
113
+ version: '0'
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="