lacerda 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 13bff5451aa612adedb40d0d20a26d6826796546
4
- data.tar.gz: 4051b656fe279dea8381b73351b4dbc7a55d0cb8
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjNkYzVjMGQyNGIyM2M3YjMzNjVjYzE3ODE0OWUxZTZkZWNlNDE5YQ==
5
+ data.tar.gz: !binary |-
6
+ NjRkYzhiMGEyZGM1MmQzZDQzMjhkMjljMzk4N2E0MjVkMzgxZjBhMA==
5
7
  SHA512:
6
- metadata.gz: d80147036af1a6424d731c34141d670519996363e3e1234ee5ee6e05393581bf0f07e63ebe6b883e2864851ffd83264ba4e18e26f68041b3cdeb4e385e660298
7
- data.tar.gz: fb3ca9e05a706d6bae08d0461f5b6c319724120cb385af737bc25771eb8721934f950a58f76d29abdf066942b5a47e595211cacf25b785a3ff03ac9c98225674
8
+ metadata.gz: !binary |-
9
+ MmFiZGI1NzA3YjQ3NTE1NDk2ZjJhMGJjMDJkMzQwMzg5MmFlMTc1ZDgxNTEy
10
+ MjcxYWJhOGJjNDg2Y2NjNzg1YzRhOTlmZTNiYzliN2RiMzQ4MjM5NDJmODA1
11
+ OGRmNDgzMjMzYzc4NDU1NGYyYmY3MTM0ODRiMTI3Njg2ODY0NjI=
12
+ data.tar.gz: !binary |-
13
+ ZjkyMDExNDYwODM4MDAyYTBlNjVjNjdkNjY2ZGFkZDE5YWNlNzQ0MGIxNTA0
14
+ YTY2YTkwNjliNTEyMTRlZGY2YTUxMDNhNmQ4YmEyMjExZmI3MzViZjZiYTA2
15
+ YjVjMWRhMjFhMGRhOWQzMmRiZmMzYTJkYzcxZGY5NThjNTQ0NDY=
data/CHANGELOG.markdown CHANGED
@@ -1,4 +1,7 @@
1
- # 0.12.0 (06-Nov-15)
1
+ # 0.12.1 (12-Nov-15)
2
+ - allow empty publish specifications
3
+
4
+ # 0.12.0 (11-Nov-15)
2
5
  - add Lacerda::Service#publishes?(object_name)
3
6
  - add Lacerda::Service#consumes?(object_name)
4
7
  - add Lacerda::Service#consumes_from?(service_name, object_name)
data/lacerda.gemspec CHANGED
@@ -26,6 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.add_runtime_dependency "colorize"
27
27
  spec.add_runtime_dependency "blumquist", ["~> 0.3"]
28
28
 
29
+ # Tins 1.7.0 is ruby 2.0 only
30
+ spec.add_runtime_dependency "tins", ["~> 1.6.0"]
31
+
29
32
  spec.add_development_dependency "bundler", ["~> 1"]
30
33
  spec.add_development_dependency "guard-bundler", ["~> 2.1"]
31
34
  spec.add_development_dependency "guard-ctags-bundler", ["~> 1.4"]
@@ -55,6 +55,7 @@ module Lacerda
55
55
 
56
56
  def add_properties_to_json_schema
57
57
  return unless @data['sections']
58
+ return unless @data['sections'].length > 0
58
59
  members = @data['sections'].select{|d| d['class'] == 'memberType' }.first['content'].select{|d| d['class'] == 'property' }
59
60
  members.each do |s|
60
61
  content = s['content']
@@ -1,3 +1,3 @@
1
1
  module Lacerda
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  end
metadata CHANGED
@@ -1,237 +1,251 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lacerda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.2'
34
34
  type: :runtime
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: '10.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json-schema
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.5'
48
48
  type: :runtime
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: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: redsnow
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.4'
62
62
  type: :runtime
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: '0.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: colorize
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: :runtime
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
  - !ruby/object:Gem::Dependency
84
84
  name: blumquist
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: tins
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 1.6.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 1.6.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: bundler
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: '1'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - "~>"
122
+ - - ~>
109
123
  - !ruby/object:Gem::Version
110
124
  version: '1'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: guard-bundler
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - "~>"
129
+ - - ~>
116
130
  - !ruby/object:Gem::Version
117
131
  version: '2.1'
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - "~>"
136
+ - - ~>
123
137
  - !ruby/object:Gem::Version
124
138
  version: '2.1'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: guard-ctags-bundler
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - "~>"
143
+ - - ~>
130
144
  - !ruby/object:Gem::Version
131
145
  version: '1.4'
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - "~>"
150
+ - - ~>
137
151
  - !ruby/object:Gem::Version
138
152
  version: '1.4'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: guard-rspec
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - "~>"
157
+ - - ~>
144
158
  - !ruby/object:Gem::Version
145
159
  version: '4.6'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - "~>"
164
+ - - ~>
151
165
  - !ruby/object:Gem::Version
152
166
  version: '4.6'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: rspec
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - "~>"
171
+ - - ~>
158
172
  - !ruby/object:Gem::Version
159
173
  version: '3.3'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - "~>"
178
+ - - ~>
165
179
  - !ruby/object:Gem::Version
166
180
  version: '3.3'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: coveralls
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
- - - "~>"
185
+ - - ~>
172
186
  - !ruby/object:Gem::Version
173
187
  version: '0.8'
174
188
  type: :development
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
- - - "~>"
192
+ - - ~>
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0.8'
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: codeclimate-test-reporter
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - ">="
199
+ - - ! '>='
186
200
  - !ruby/object:Gem::Version
187
201
  version: '0'
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - ">="
206
+ - - ! '>='
193
207
  - !ruby/object:Gem::Version
194
208
  version: '0'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: pry
197
211
  requirement: !ruby/object:Gem::Requirement
198
212
  requirements:
199
- - - ">="
213
+ - - ! '>='
200
214
  - !ruby/object:Gem::Version
201
215
  version: '0'
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
- - - ">="
220
+ - - ! '>='
207
221
  - !ruby/object:Gem::Version
208
222
  version: '0'
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: pry-rescue
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
- - - ">="
227
+ - - ! '>='
214
228
  - !ruby/object:Gem::Version
215
229
  version: '0'
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
- - - ">="
234
+ - - ! '>='
221
235
  - !ruby/object:Gem::Version
222
236
  version: '0'
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: pry-stack_explorer
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
- - - ">="
241
+ - - ! '>='
228
242
  - !ruby/object:Gem::Version
229
243
  version: '0'
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
- - - ">="
248
+ - - ! '>='
235
249
  - !ruby/object:Gem::Version
236
250
  version: '0'
237
251
  description: Specify which objects your services publish or consume in MSON (markdown)
@@ -242,10 +256,10 @@ executables: []
242
256
  extensions: []
243
257
  extra_rdoc_files: []
244
258
  files:
245
- - ".gitignore"
246
- - ".rspec"
247
- - ".ruby-gemset"
248
- - ".ruby-version"
259
+ - .gitignore
260
+ - .rspec
261
+ - .ruby-gemset
262
+ - .ruby-version
249
263
  - CHANGELOG.markdown
250
264
  - Gemfile
251
265
  - Guardfile
@@ -285,12 +299,12 @@ require_paths:
285
299
  - lib
286
300
  required_ruby_version: !ruby/object:Gem::Requirement
287
301
  requirements:
288
- - - ">="
302
+ - - ! '>='
289
303
  - !ruby/object:Gem::Version
290
304
  version: '0'
291
305
  required_rubygems_version: !ruby/object:Gem::Requirement
292
306
  requirements:
293
- - - ">="
307
+ - - ! '>='
294
308
  - !ruby/object:Gem::Version
295
309
  version: '0'
296
310
  requirements: []