enc 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MzJjNDliZDVkYjNjMDI5ODBjNmRiYmM2MmJhMTcyODc5ZWMzMWYzMg==
5
- data.tar.gz: !binary |-
6
- MWFjYmQwMGU2NjNiYTRiOTc1ODNlNmRkNGVlNzQ3M2UyNDVhZDdkMQ==
2
+ SHA1:
3
+ metadata.gz: b257ec5d360e76ab9ea6b2135c8cfeb925256594
4
+ data.tar.gz: fa15a16fd4b6026a8e6245b8df7b62df8f72daef
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Y2IzZTdmZWE5M2FlNDUzZmU1NGUyNzFlZWI4YzUxMDZkZTVhOTdiOGVlOTRj
10
- YWU1ODc1ZjZhZTEyOTBkYTZlZTgzNmQwOTVjNDFhOGNjY2ZhMWY2NTMzMjdm
11
- ZmQ5YzIxMDY3MWY2MzUyMjI5NzE1NjAxNmY4NmI5OGI0OGY0NWI=
12
- data.tar.gz: !binary |-
13
- MjQxOTE3ZWVkNTZiYjVlMzQ0ZDQwMGExOTE3MTBkZGJkMTIyMTA0YmI5N2I5
14
- MmJmYTlmMmRiY2Y0YzliZjE3MzBiYzQxNzIxYTVkYzIzNTY2YmVjMWFlOTk5
15
- NTY4ODExYjhhYjQ1Mjk0OTA2YTFkMWMxN2M2OWIxMDY3NDA1ZDg=
6
+ metadata.gz: b7dbfb96d013fb9d4f6e50c10875804a14b2d381e5f6cecb9599a7c4b4e98ebb04fc35c5f78eb0acf50ce0ac6d9fd028c52e1f5341721601cc30901f9c08e386
7
+ data.tar.gz: e62dff9ce66d6ade26414bb0b3e658a0dabfe531ed462b58456c6f455b243b6ca9a58eab36571afb1918ff28596a9a7dd41a23eee91cb348f74f84d00df443b6
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ vendor
3
+ .vendor
4
+
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ rvm:
2
+ - '1.9.3'
3
+ - '2.1.3'
data/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  source 'https://rubygems.org'
2
- ruby '1.9.3'
3
2
 
4
3
  # Specify your gem's dependencies in enc.gemspec
5
4
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enc (0.0.1)
4
+ enc (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/enc/manifest.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'erb'
1
2
  require 'yaml'
2
3
 
3
4
  # http://stackoverflow.com/questions/9381553/ruby-merge-nested-hash
@@ -34,7 +35,7 @@ module Enc
34
35
  end
35
36
 
36
37
  def manifests
37
- files.map{ |f| YAML.load(File.read(f)) }
38
+ files.map{ |f| YAML.load(ERB.new(File.read(f)).result(binding)) }
38
39
  end
39
40
 
40
41
  def files
data/lib/enc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Enc
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Shea.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-22 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: simplecov
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webmock
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description:
@@ -88,13 +88,14 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - ".gitignore"
92
+ - ".travis.yml"
91
93
  - Gemfile
92
94
  - Gemfile.lock
93
95
  - LICENSE.txt
94
96
  - README.md
95
97
  - Rakefile
96
98
  - bin/enc
97
- - enc-0.0.1.gem
98
99
  - enc.gemspec
99
100
  - lib/enc.rb
100
101
  - lib/enc/manifest.rb
@@ -113,12 +114,12 @@ require_paths:
113
114
  - lib
114
115
  required_ruby_version: !ruby/object:Gem::Requirement
115
116
  requirements:
116
- - - ! '>='
117
+ - - ">="
117
118
  - !ruby/object:Gem::Version
118
119
  version: '0'
119
120
  required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  requirements:
121
- - - ! '>='
122
+ - - ">="
122
123
  - !ruby/object:Gem::Version
123
124
  version: '0'
124
125
  requirements: []
data/enc-0.0.1.gem DELETED
Binary file