mc-settings 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ruby.yml +24 -0
- data/.gitignore +45 -0
- data/Gemfile +2 -13
- data/Gemfile.lock +48 -29
- data/LICENSE.txt +4 -17
- data/README.adoc +217 -0
- data/Rakefile +20 -41
- data/codecov.yml +29 -0
- data/lib/mc-settings/version.rb +5 -0
- data/lib/setting.rb +114 -90
- data/mc-settings.gemspec +27 -66
- data/spec/mc_settings_spec.rb +92 -54
- data/spec/spec_helper.rb +24 -6
- data/spec/support/settings_helper.rb +34 -16
- metadata +137 -117
- data/.document +0 -5
- data/README.rdoc +0 -154
- data/VERSION +0 -1
- data/spec/fixtures/joes-colors.yml +0 -9
- data/spec/fixtures/sample.yml +0 -35
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.2
|
data/spec/fixtures/sample.yml
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
tax:
|
2
|
-
default: 0.0
|
3
|
-
california: 7.5
|
4
|
-
states:
|
5
|
-
default:
|
6
|
-
- 'CA'
|
7
|
-
- 'WA'
|
8
|
-
- 'NY'
|
9
|
-
ship_to:
|
10
|
-
- 'CA'
|
11
|
-
- 'NY'
|
12
|
-
boolean_true:
|
13
|
-
default: 4
|
14
|
-
boolean_false:
|
15
|
-
default: false
|
16
|
-
negated: true
|
17
|
-
color:
|
18
|
-
default:
|
19
|
-
:grey
|
20
|
-
pants:
|
21
|
-
default:
|
22
|
-
:purple
|
23
|
-
favorite:
|
24
|
-
:red
|
25
|
-
school:
|
26
|
-
:blue
|
27
|
-
shorts:
|
28
|
-
default:
|
29
|
-
:plaid
|
30
|
-
favorite:
|
31
|
-
:yellow
|
32
|
-
school:
|
33
|
-
:black
|
34
|
-
|
35
|
-
|