bbc-cosmos-config 0.3.3 → 0.3.4

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: b55204017fd19fcf349c03feb431307e4ee5bece
4
- data.tar.gz: 4aaa89a4fb2a8aa0f07295263b5fe1670cde1ac4
3
+ metadata.gz: 1e86d1edf04e42d7d201783765baa4a181108d06
4
+ data.tar.gz: ba4179367bcad5a111a24cd4d9c3d5820fce1db1
5
5
  SHA512:
6
- metadata.gz: ea4f73da1c1708a817a9dc67078df48f7d32464366d0ab28b668018415d3da39294271e9e65b5de137e0efaa383a069352c4bafd0b2aa803e3e708550f5b51c6
7
- data.tar.gz: 0eb8286495f54884561a416a34481e0fbb9ef87e82490693f84ba2ddd7b7ccdade601db18fea47f9a45b115ff850481938ee8b0d576415359a04481448734c90
6
+ metadata.gz: ce1bdda668ca71436de95e56e49862fcde53160eba77088578f0799b61927553081bf3faf222dfa6e575290b5141d3d7108ad78c896988b35e1ed22dae2567de
7
+ data.tar.gz: 0c45738bed624cb2ee644f9bb4c7759621fbf8e8571b7881f7ae1adff3bb8bd5983e14736c690d8b398fcabddad9e6898a47b6457db5b05bb461e982cbcd5466
@@ -0,0 +1 @@
1
+ jruby-1.7
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Abstracts logic (required by multiple other BBC specific gems) surrounding configuration data loading and access.
4
4
 
5
+ [![Build Status](https://jenkins.news.cloud.bbc.co.uk/buildStatus/icon?job=bbc-cosmos-config&build=1)](https://jenkins.news.cloud.bbc.co.uk/job/bbc-cosmos-config/1/)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -44,8 +44,8 @@ module BBC
44
44
  def dummy_instance
45
45
  Struct.new(:tags).new({
46
46
  "aws:cloudformation:stack-name" => "stack_name",
47
- "Component" => "component_name",
48
- "AppName" => "development"
47
+ "BBCComponent" => "component_name",
48
+ "AppName" => "app_name"
49
49
  })
50
50
  end
51
51
 
@@ -19,7 +19,7 @@ module BBC
19
19
  end
20
20
 
21
21
  def component_name
22
- @aws_config.tags["Component"].downcase
22
+ @aws_config.tags["BBCComponent"].downcase
23
23
  end
24
24
 
25
25
  def component_config
@@ -1,7 +1,7 @@
1
1
  module BBC
2
2
  module Cosmos
3
3
  module Config
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.4"
5
5
  end
6
6
  end
7
7
  end
@@ -65,8 +65,8 @@ describe BBC::Cosmos::Config do
65
65
  expect(subject.aws.tags).to eq(
66
66
  {
67
67
  "aws:cloudformation:stack-name" => "stack_name",
68
- "Component" => "component_name",
69
- "AppName" => "app_name"
68
+ "BBCComponent" => "component_name",
69
+ "AppName" => "app_name"
70
70
  }
71
71
  )
72
72
  end
metadata CHANGED
@@ -1,169 +1,169 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc-cosmos-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Kenny
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-29 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '1.0'
25
+ prerelease: false
26
+ type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hashie
29
- requirement: !ruby/object:Gem::Requirement
29
+ version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
37
35
  requirements:
38
36
  - - '>='
39
37
  - !ruby/object:Gem::Version
40
38
  version: '0'
39
+ prerelease: false
40
+ type: :runtime
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
- requirement: !ruby/object:Gem::Requirement
43
+ version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.5'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
51
49
  requirements:
52
50
  - - ~>
53
51
  - !ruby/object:Gem::Version
54
52
  version: '1.5'
53
+ prerelease: false
54
+ type: :development
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
57
62
  requirement: !ruby/object:Gem::Requirement
58
63
  requirements:
59
64
  - - '>='
60
65
  - !ruby/object:Gem::Version
61
66
  version: '0'
62
- type: :development
63
67
  prerelease: false
68
+ type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
64
71
  version_requirements: !ruby/object:Gem::Requirement
65
72
  requirements:
66
73
  - - '>='
67
74
  - !ruby/object:Gem::Version
68
75
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
76
  requirement: !ruby/object:Gem::Requirement
72
77
  requirements:
73
78
  - - '>='
74
79
  - !ruby/object:Gem::Version
75
80
  version: '0'
76
- type: :development
77
81
  prerelease: false
82
+ type: :development
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-nc
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
80
87
  - - '>='
81
88
  - !ruby/object:Gem::Version
82
89
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec-nc
85
90
  requirement: !ruby/object:Gem::Requirement
86
91
  requirements:
87
92
  - - '>='
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
- type: :development
91
95
  prerelease: false
96
+ type: :development
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard
92
99
  version_requirements: !ruby/object:Gem::Requirement
93
100
  requirements:
94
101
  - - '>='
95
102
  - !ruby/object:Gem::Version
96
103
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: guard
99
104
  requirement: !ruby/object:Gem::Requirement
100
105
  requirements:
101
106
  - - '>='
102
107
  - !ruby/object:Gem::Version
103
108
  version: '0'
104
- type: :development
105
109
  prerelease: false
110
+ type: :development
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
106
113
  version_requirements: !ruby/object:Gem::Requirement
107
114
  requirements:
108
115
  - - '>='
109
116
  - !ruby/object:Gem::Version
110
117
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: guard-rspec
113
118
  requirement: !ruby/object:Gem::Requirement
114
119
  requirements:
115
120
  - - '>='
116
121
  - !ruby/object:Gem::Version
117
122
  version: '0'
118
- type: :development
119
123
  prerelease: false
124
+ type: :development
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
120
127
  version_requirements: !ruby/object:Gem::Requirement
121
128
  requirements:
122
129
  - - '>='
123
130
  - !ruby/object:Gem::Version
124
131
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: pry
127
132
  requirement: !ruby/object:Gem::Requirement
128
133
  requirements:
129
134
  - - '>='
130
135
  - !ruby/object:Gem::Version
131
136
  version: '0'
132
- type: :development
133
137
  prerelease: false
138
+ type: :development
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-remote
134
141
  version_requirements: !ruby/object:Gem::Requirement
135
142
  requirements:
136
143
  - - '>='
137
144
  - !ruby/object:Gem::Version
138
145
  version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: pry-remote
141
146
  requirement: !ruby/object:Gem::Requirement
142
147
  requirements:
143
148
  - - '>='
144
149
  - !ruby/object:Gem::Version
145
150
  version: '0'
146
- type: :development
147
151
  prerelease: false
152
+ type: :development
153
+ - !ruby/object:Gem::Dependency
154
+ name: pry-nav
148
155
  version_requirements: !ruby/object:Gem::Requirement
149
156
  requirements:
150
157
  - - '>='
151
158
  - !ruby/object:Gem::Version
152
159
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: pry-nav
155
160
  requirement: !ruby/object:Gem::Requirement
156
161
  requirements:
157
162
  - - '>='
158
163
  - !ruby/object:Gem::Version
159
164
  version: '0'
160
- type: :development
161
165
  prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - '>='
165
- - !ruby/object:Gem::Version
166
- version: '0'
166
+ type: :development
167
167
  description: Does what is says in the summary
168
168
  email:
169
169
  - kenoir@gmail.com
@@ -173,6 +173,7 @@ extra_rdoc_files: []
173
173
  files:
174
174
  - .gitignore
175
175
  - .rspec
176
+ - .ruby-version
176
177
  - Gemfile
177
178
  - Guardfile
178
179
  - LICENSE.txt
@@ -190,7 +191,7 @@ homepage: https://github.com/BBC-News/bbc-cosmos-config
190
191
  licenses:
191
192
  - MIT
192
193
  metadata: {}
193
- post_install_message:
194
+ post_install_message:
194
195
  rdoc_options: []
195
196
  require_paths:
196
197
  - lib
@@ -205,9 +206,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
206
  - !ruby/object:Gem::Version
206
207
  version: '0'
207
208
  requirements: []
208
- rubyforge_project:
209
- rubygems_version: 2.2.2
210
- signing_key:
209
+ rubyforge_project:
210
+ rubygems_version: 2.1.9
211
+ signing_key:
211
212
  specification_version: 4
212
213
  summary: Config wrapper gem for Ruby apps running on Cosmos
213
214
  test_files: