logical_model 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/safe_log.rb +1 -1
  3. data/logical_model.gemspec +9 -8
  4. metadata +235 -264
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
data/lib/safe_log.rb CHANGED
@@ -3,7 +3,7 @@ module SafeLog
3
3
  # Filters api_key
4
4
  # @return [String]
5
5
  def mask_api_key(str)
6
- if use_api_key
6
+ if use_api_key && str
7
7
  str = str.gsub(api_key,'[SECRET]')
8
8
  end
9
9
  str
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "logical_model"
8
- s.version = "0.4.4"
7
+ s.name = %q{logical_model}
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dwayne Macgowan"]
12
- s.date = "2012-12-25"
13
- s.description = "LogicalModel allows to use a resource as a model. It is based on web presentation http://www.slideshare.net/ihower/serviceoriented-design-and-implement-with-rails3"
14
- s.email = "dwaynemac@gmail.com"
12
+ s.date = %q{2013-02-08}
13
+ s.description = %q{LogicalModel allows to use a resource as a model. It is based on web presentation http://www.slideshare.net/ihower/serviceoriented-design-and-implement-with-rails3}
14
+ s.email = %q{dwaynemac@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -42,13 +42,14 @@ Gem::Specification.new do |s|
42
42
  "test/test_logical_model.rb",
43
43
  "test/typhoeus_mocks.rb"
44
44
  ]
45
- s.homepage = "http://github.com/dwaynemac/logical_model"
45
+ s.homepage = %q{http://github.com/dwaynemac/logical_model}
46
46
  s.licenses = ["MIT"]
47
47
  s.require_paths = ["lib"]
48
- s.rubygems_version = "1.8.24"
49
- s.summary = "LogicalModel allows to use a resource as a model."
48
+ s.rubygems_version = %q{1.3.7.1}
49
+ s.summary = %q{LogicalModel allows to use a resource as a model.}
50
50
 
51
51
  if s.respond_to? :specification_version then
52
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
52
53
  s.specification_version = 3
53
54
 
54
55
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,313 +1,279 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: logical_model
3
- version: !ruby/object:Gem::Version
4
- version: 0.4.4
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 4
8
+ - 5
9
+ version: 0.4.5
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Dwayne Macgowan
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2012-12-25 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2013-02-08 00:00:00 -03:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: activemodel
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: activesupport
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
38
31
  type: :runtime
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: activesupport
39
35
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: typhoeus
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - '='
52
- - !ruby/object:Gem::Version
53
- version: 0.5.0.alpha
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
54
44
  type: :runtime
45
+ version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
47
+ name: typhoeus
55
48
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - '='
60
- - !ruby/object:Gem::Version
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - "="
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
56
+ - 5
57
+ - 0
58
+ - alpha
61
59
  version: 0.5.0.alpha
62
- - !ruby/object:Gem::Dependency
63
- name: ethon
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - '='
68
- - !ruby/object:Gem::Version
69
- version: 0.4.2
70
60
  type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: ethon
71
64
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - '='
76
- - !ruby/object:Gem::Version
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - "="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
72
+ - 4
73
+ - 2
77
74
  version: 0.4.2
78
- - !ruby/object:Gem::Dependency
79
- name: kaminari
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 0.13.0
86
75
  type: :runtime
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: kaminari
87
79
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
80
+ requirement: &id005 !ruby/object:Gem::Requirement
89
81
  none: false
90
- requirements:
82
+ requirements:
91
83
  - - ~>
92
- - !ruby/object:Gem::Version
84
+ - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
87
+ - 13
88
+ - 0
93
89
  version: 0.13.0
94
- - !ruby/object:Gem::Dependency
90
+ type: :runtime
91
+ version_requirements: *id005
92
+ - !ruby/object:Gem::Dependency
95
93
  name: activerecord
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
94
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: shoulda
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
95
+ requirement: &id006 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ segments:
101
+ - 0
102
+ version: "0"
118
103
  type: :development
104
+ version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ name: shoulda
119
107
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: bundler
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 1.2.2
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 0
115
+ version: "0"
134
116
  type: :development
117
+ version_requirements: *id007
118
+ - !ruby/object:Gem::Dependency
119
+ name: bundler
135
120
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
121
+ requirement: &id008 !ruby/object:Gem::Requirement
137
122
  none: false
138
- requirements:
123
+ requirements:
139
124
  - - ~>
140
- - !ruby/object:Gem::Version
125
+ - !ruby/object:Gem::Version
126
+ segments:
127
+ - 1
128
+ - 2
129
+ - 2
141
130
  version: 1.2.2
142
- - !ruby/object:Gem::Dependency
143
- name: jeweler
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 1.6.4
150
131
  type: :development
132
+ version_requirements: *id008
133
+ - !ruby/object:Gem::Dependency
134
+ name: jeweler
151
135
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
136
+ requirement: &id009 !ruby/object:Gem::Requirement
153
137
  none: false
154
- requirements:
138
+ requirements:
155
139
  - - ~>
156
- - !ruby/object:Gem::Version
140
+ - !ruby/object:Gem::Version
141
+ segments:
142
+ - 1
143
+ - 6
144
+ - 4
157
145
  version: 1.6.4
158
- - !ruby/object:Gem::Dependency
159
- name: rcov
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
146
  type: :development
147
+ version_requirements: *id009
148
+ - !ruby/object:Gem::Dependency
149
+ name: rcov
167
150
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: sqlite3-ruby
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
151
+ requirement: &id010 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ segments:
157
+ - 0
158
+ version: "0"
182
159
  type: :development
160
+ version_requirements: *id010
161
+ - !ruby/object:Gem::Dependency
162
+ name: sqlite3-ruby
183
163
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: sinatra
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ~>
196
- - !ruby/object:Gem::Version
197
- version: 1.2.6
164
+ requirement: &id011 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ segments:
170
+ - 0
171
+ version: "0"
198
172
  type: :development
173
+ version_requirements: *id011
174
+ - !ruby/object:Gem::Dependency
175
+ name: sinatra
199
176
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
177
+ requirement: &id012 !ruby/object:Gem::Requirement
201
178
  none: false
202
- requirements:
179
+ requirements:
203
180
  - - ~>
204
- - !ruby/object:Gem::Version
181
+ - !ruby/object:Gem::Version
182
+ segments:
183
+ - 1
184
+ - 2
185
+ - 6
205
186
  version: 1.2.6
206
- - !ruby/object:Gem::Dependency
207
- name: json
208
- requirement: !ruby/object:Gem::Requirement
209
- none: false
210
- requirements:
211
- - - ! '>='
212
- - !ruby/object:Gem::Version
213
- version: '0'
214
187
  type: :development
188
+ version_requirements: *id012
189
+ - !ruby/object:Gem::Dependency
190
+ name: json
215
191
  prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- - !ruby/object:Gem::Dependency
223
- name: gemcutter
224
- requirement: !ruby/object:Gem::Requirement
225
- none: false
226
- requirements:
227
- - - ! '>='
228
- - !ruby/object:Gem::Version
229
- version: '0'
192
+ requirement: &id013 !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ segments:
198
+ - 0
199
+ version: "0"
230
200
  type: :development
201
+ version_requirements: *id013
202
+ - !ruby/object:Gem::Dependency
203
+ name: gemcutter
231
204
  prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
- requirements:
235
- - - ! '>='
236
- - !ruby/object:Gem::Version
237
- version: '0'
238
- - !ruby/object:Gem::Dependency
239
- name: rspec-rails
240
- requirement: !ruby/object:Gem::Requirement
241
- none: false
242
- requirements:
243
- - - ! '>='
244
- - !ruby/object:Gem::Version
245
- version: '0'
205
+ requirement: &id014 !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ segments:
211
+ - 0
212
+ version: "0"
246
213
  type: :development
214
+ version_requirements: *id014
215
+ - !ruby/object:Gem::Dependency
216
+ name: rspec-rails
247
217
  prerelease: false
248
- version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
- requirements:
251
- - - ! '>='
252
- - !ruby/object:Gem::Version
253
- version: '0'
254
- - !ruby/object:Gem::Dependency
255
- name: guard-rspec
256
- requirement: !ruby/object:Gem::Requirement
257
- none: false
258
- requirements:
259
- - - ! '>='
260
- - !ruby/object:Gem::Version
261
- version: '0'
218
+ requirement: &id015 !ruby/object:Gem::Requirement
219
+ none: false
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ segments:
224
+ - 0
225
+ version: "0"
262
226
  type: :development
227
+ version_requirements: *id015
228
+ - !ruby/object:Gem::Dependency
229
+ name: guard-rspec
263
230
  prerelease: false
264
- version_requirements: !ruby/object:Gem::Requirement
265
- none: false
266
- requirements:
267
- - - ! '>='
268
- - !ruby/object:Gem::Version
269
- version: '0'
270
- - !ruby/object:Gem::Dependency
271
- name: rb-inotify
272
- requirement: !ruby/object:Gem::Requirement
273
- none: false
274
- requirements:
275
- - - ! '>='
276
- - !ruby/object:Gem::Version
277
- version: '0'
231
+ requirement: &id016 !ruby/object:Gem::Requirement
232
+ none: false
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ segments:
237
+ - 0
238
+ version: "0"
278
239
  type: :development
240
+ version_requirements: *id016
241
+ - !ruby/object:Gem::Dependency
242
+ name: rb-inotify
279
243
  prerelease: false
280
- version_requirements: !ruby/object:Gem::Requirement
281
- none: false
282
- requirements:
283
- - - ! '>='
284
- - !ruby/object:Gem::Version
285
- version: '0'
286
- - !ruby/object:Gem::Dependency
287
- name: libnotify
288
- requirement: !ruby/object:Gem::Requirement
289
- none: false
290
- requirements:
291
- - - ! '>='
292
- - !ruby/object:Gem::Version
293
- version: '0'
244
+ requirement: &id017 !ruby/object:Gem::Requirement
245
+ none: false
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ segments:
250
+ - 0
251
+ version: "0"
294
252
  type: :development
253
+ version_requirements: *id017
254
+ - !ruby/object:Gem::Dependency
255
+ name: libnotify
295
256
  prerelease: false
296
- version_requirements: !ruby/object:Gem::Requirement
297
- none: false
298
- requirements:
299
- - - ! '>='
300
- - !ruby/object:Gem::Version
301
- version: '0'
302
- description: LogicalModel allows to use a resource as a model. It is based on web
303
- presentation http://www.slideshare.net/ihower/serviceoriented-design-and-implement-with-rails3
257
+ requirement: &id018 !ruby/object:Gem::Requirement
258
+ none: false
259
+ requirements:
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ segments:
263
+ - 0
264
+ version: "0"
265
+ type: :development
266
+ version_requirements: *id018
267
+ description: LogicalModel allows to use a resource as a model. It is based on web presentation http://www.slideshare.net/ihower/serviceoriented-design-and-implement-with-rails3
304
268
  email: dwaynemac@gmail.com
305
269
  executables: []
270
+
306
271
  extensions: []
307
- extra_rdoc_files:
272
+
273
+ extra_rdoc_files:
308
274
  - LICENSE.txt
309
275
  - README.rdoc
310
- files:
276
+ files:
311
277
  - .document
312
278
  - Gemfile
313
279
  - Gemfile.lock
@@ -332,32 +298,37 @@ files:
332
298
  - test/helper.rb
333
299
  - test/test_logical_model.rb
334
300
  - test/typhoeus_mocks.rb
301
+ has_rdoc: true
335
302
  homepage: http://github.com/dwaynemac/logical_model
336
- licenses:
303
+ licenses:
337
304
  - MIT
338
305
  post_install_message:
339
306
  rdoc_options: []
340
- require_paths:
307
+
308
+ require_paths:
341
309
  - lib
342
- required_ruby_version: !ruby/object:Gem::Requirement
310
+ required_ruby_version: !ruby/object:Gem::Requirement
343
311
  none: false
344
- requirements:
345
- - - ! '>='
346
- - !ruby/object:Gem::Version
347
- version: '0'
348
- segments:
312
+ requirements:
313
+ - - ">="
314
+ - !ruby/object:Gem::Version
315
+ segments:
349
316
  - 0
350
- hash: -1039810563
351
- required_rubygems_version: !ruby/object:Gem::Requirement
317
+ version: "0"
318
+ required_rubygems_version: !ruby/object:Gem::Requirement
352
319
  none: false
353
- requirements:
354
- - - ! '>='
355
- - !ruby/object:Gem::Version
356
- version: '0'
320
+ requirements:
321
+ - - ">="
322
+ - !ruby/object:Gem::Version
323
+ segments:
324
+ - 0
325
+ version: "0"
357
326
  requirements: []
327
+
358
328
  rubyforge_project:
359
- rubygems_version: 1.8.24
329
+ rubygems_version: 1.3.7.1
360
330
  signing_key:
361
331
  specification_version: 3
362
332
  summary: LogicalModel allows to use a resource as a model.
363
333
  test_files: []
334
+