super_stack 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/super_stack/version.rb +1 -1
- data/spec/layer_spec.rb +4 -0
- data/super_stack.gemspec +5 -3
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a294ebb0f063bbe92fa34ae949daa7600db5143d
|
4
|
+
data.tar.gz: 138e2b64f4dcff40756b94ff72cd6fd2fbf70dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d459615c5cf1dc58f135cac32e4c39963c976d2ae62013391788b193be1c33b1b606745250b7dcab6edc7636d2aa64850fe07ce9a410b4d4f68d815a2126a948
|
7
|
+
data.tar.gz: a68bf1915f90e400d95072b7d82078a77288698778e6fab033d89f12e6b52f72e2edca02bdacba6f6d399f9e08d510c06335614e870ef1e2cf6af84ffbe2d4e0
|
data/README.md
CHANGED
@@ -3,8 +3,7 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/super_stack.svg)](http://badge.fury.io/rb/super_stack)
|
4
4
|
|
5
5
|
The purpose of this gem is to provide a simple way to manage the merge of different
|
6
|
-
hashes (layers).
|
7
|
-
It offers different merge policies.
|
6
|
+
hashes (layers) according to priority and different merge policies.
|
8
7
|
|
9
8
|
## Installation
|
10
9
|
|
@@ -26,7 +25,7 @@ TODO: Write usage instructions here
|
|
26
25
|
|
27
26
|
## Contributing
|
28
27
|
|
29
|
-
1. Fork it ( http://github.com
|
28
|
+
1. Fork it ( http://github.com/lbriais/super_stack/fork )
|
30
29
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
31
30
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
32
31
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/super_stack/version.rb
CHANGED
data/spec/layer_spec.rb
CHANGED
@@ -30,6 +30,10 @@ describe SuperStack::Layer do
|
|
30
30
|
expect( subject < other).to be_truthy
|
31
31
|
end
|
32
32
|
|
33
|
+
it 'can be created from any Hash' do
|
34
|
+
expect {Hash.new.extend SuperStack::LayerWrapper }.not_to raise_error
|
35
|
+
end
|
36
|
+
|
33
37
|
context 'when loaded from a YAML file' do
|
34
38
|
|
35
39
|
def file_from_type(file_type)
|
data/super_stack.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = SuperStack::VERSION
|
9
9
|
spec.authors = ['Laurent B.']
|
10
10
|
spec.email = ['lbnetid+gh@gmail.com']
|
11
|
-
spec.summary = %q{Provides a way to manage
|
12
|
-
spec.description = %q{
|
13
|
-
spec.homepage = ''
|
11
|
+
spec.summary = %q{Provides a way to manage the merge of different hashes according to priority and several merge policies.}
|
12
|
+
spec.description = %q{The purpose of this gem is to provide a simple way to manage the merge of different hashes (layers) according to priority and several merge policies.}
|
13
|
+
spec.homepage = 'https://github.com/lbriais/super_stack'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
+
spec.required_ruby_version = '>= 2'
|
22
|
+
|
21
23
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
22
24
|
spec.add_development_dependency 'rake'
|
23
25
|
spec.add_development_dependency 'pry'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super_stack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent B.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,8 @@ dependencies:
|
|
80
80
|
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: The purpose of this gem is to provide a simple way to manage the merge
|
84
|
+
of different hashes (layers) according to priority and several merge policies.
|
84
85
|
email:
|
85
86
|
- lbnetid+gh@gmail.com
|
86
87
|
executables: []
|
@@ -116,7 +117,7 @@ files:
|
|
116
117
|
- test/stacked_layer_2.yml
|
117
118
|
- test/stacked_layer_3.yml
|
118
119
|
- test/stacked_layer_4.yml
|
119
|
-
homepage:
|
120
|
+
homepage: https://github.com/lbriais/super_stack
|
120
121
|
licenses:
|
121
122
|
- MIT
|
122
123
|
metadata: {}
|
@@ -128,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
129
|
requirements:
|
129
130
|
- - '>='
|
130
131
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
132
|
+
version: '2'
|
132
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
134
|
requirements:
|
134
135
|
- - '>='
|
@@ -139,7 +140,8 @@ rubyforge_project:
|
|
139
140
|
rubygems_version: 2.0.0
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
|
-
summary: Provides a way to manage
|
143
|
+
summary: Provides a way to manage the merge of different hashes according to priority
|
144
|
+
and several merge policies.
|
143
145
|
test_files:
|
144
146
|
- spec/layer_spec.rb
|
145
147
|
- spec/manager_spec.rb
|