logical_model 0.4.5 → 0.4.6

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 +2 -2
  3. data/logical_model.gemspec +8 -9
  4. metadata +264 -235
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.5
1
+ 0.4.6
data/lib/safe_log.rb CHANGED
@@ -3,9 +3,9 @@ module SafeLog
3
3
  # Filters api_key
4
4
  # @return [String]
5
5
  def mask_api_key(str)
6
- if use_api_key && str
6
+ if use_api_key && api_key && str
7
7
  str = str.gsub(api_key,'[SECRET]')
8
8
  end
9
9
  str
10
10
  end
11
- end
11
+ end
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{logical_model}
8
- s.version = "0.4.5"
7
+ s.name = "logical_model"
8
+ s.version = "0.4.6"
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 = %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}
12
+ s.date = "2013-02-23"
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"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -42,14 +42,13 @@ Gem::Specification.new do |s|
42
42
  "test/test_logical_model.rb",
43
43
  "test/typhoeus_mocks.rb"
44
44
  ]
45
- s.homepage = %q{http://github.com/dwaynemac/logical_model}
45
+ s.homepage = "http://github.com/dwaynemac/logical_model"
46
46
  s.licenses = ["MIT"]
47
47
  s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.3.7.1}
49
- s.summary = %q{LogicalModel allows to use a resource as a model.}
48
+ s.rubygems_version = "1.8.25"
49
+ s.summary = "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
53
52
  s.specification_version = 3
54
53
 
55
54
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,279 +1,313 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: logical_model
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 5
9
- version: 0.4.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.6
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Dwayne Macgowan
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2013-02-08 00:00:00 -03:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activemodel
22
- prerelease: false
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"
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
- name: activesupport
35
23
  prerelease: false
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"
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'
44
38
  type: :runtime
45
- version_requirements: *id002
46
- - !ruby/object:Gem::Dependency
47
- name: typhoeus
48
39
  prerelease: false
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
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
59
53
  version: 0.5.0.alpha
60
54
  type: :runtime
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: ethon
64
55
  prerelease: false
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
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ 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
74
69
  version: 0.4.2
75
70
  type: :runtime
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
- name: kaminari
79
71
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - '='
76
+ - !ruby/object:Gem::Version
77
+ version: 0.4.2
78
+ - !ruby/object:Gem::Dependency
79
+ name: kaminari
80
+ requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
- requirements:
82
+ requirements:
83
83
  - - ~>
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
- - 13
88
- - 0
84
+ - !ruby/object:Gem::Version
89
85
  version: 0.13.0
90
86
  type: :runtime
91
- version_requirements: *id005
92
- - !ruby/object:Gem::Dependency
93
- name: activerecord
94
87
  prerelease: false
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"
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.13.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: activerecord
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
103
102
  type: :development
104
- version_requirements: *id006
105
- - !ruby/object:Gem::Dependency
106
- name: shoulda
107
103
  prerelease: false
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"
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'
116
118
  type: :development
117
- version_requirements: *id007
118
- - !ruby/object:Gem::Dependency
119
- name: bundler
120
119
  prerelease: false
121
- requirement: &id008 !ruby/object:Gem::Requirement
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
122
129
  none: false
123
- requirements:
130
+ requirements:
124
131
  - - ~>
125
- - !ruby/object:Gem::Version
126
- segments:
127
- - 1
128
- - 2
129
- - 2
132
+ - !ruby/object:Gem::Version
130
133
  version: 1.2.2
131
134
  type: :development
132
- version_requirements: *id008
133
- - !ruby/object:Gem::Dependency
134
- name: jeweler
135
135
  prerelease: false
136
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 1.2.2
142
+ - !ruby/object:Gem::Dependency
143
+ name: jeweler
144
+ requirement: !ruby/object:Gem::Requirement
137
145
  none: false
138
- requirements:
146
+ requirements:
139
147
  - - ~>
140
- - !ruby/object:Gem::Version
141
- segments:
142
- - 1
143
- - 6
144
- - 4
148
+ - !ruby/object:Gem::Version
145
149
  version: 1.6.4
146
150
  type: :development
147
- version_requirements: *id009
148
- - !ruby/object:Gem::Dependency
149
- name: rcov
150
151
  prerelease: false
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"
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ 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'
159
166
  type: :development
160
- version_requirements: *id010
161
- - !ruby/object:Gem::Dependency
162
- name: sqlite3-ruby
163
167
  prerelease: false
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"
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'
172
182
  type: :development
173
- version_requirements: *id011
174
- - !ruby/object:Gem::Dependency
175
- name: sinatra
176
183
  prerelease: false
177
- requirement: &id012 !ruby/object:Gem::Requirement
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
178
193
  none: false
179
- requirements:
194
+ requirements:
180
195
  - - ~>
181
- - !ruby/object:Gem::Version
182
- segments:
183
- - 1
184
- - 2
185
- - 6
196
+ - !ruby/object:Gem::Version
186
197
  version: 1.2.6
187
198
  type: :development
188
- version_requirements: *id012
189
- - !ruby/object:Gem::Dependency
190
- name: json
191
199
  prerelease: false
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"
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ~>
204
+ - !ruby/object:Gem::Version
205
+ 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'
200
214
  type: :development
201
- version_requirements: *id013
202
- - !ruby/object:Gem::Dependency
203
- name: gemcutter
204
215
  prerelease: false
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"
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'
213
230
  type: :development
214
- version_requirements: *id014
215
- - !ruby/object:Gem::Dependency
216
- name: rspec-rails
217
231
  prerelease: false
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"
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'
226
246
  type: :development
227
- version_requirements: *id015
228
- - !ruby/object:Gem::Dependency
229
- name: guard-rspec
230
247
  prerelease: false
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"
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'
239
262
  type: :development
240
- version_requirements: *id016
241
- - !ruby/object:Gem::Dependency
242
- name: rb-inotify
243
263
  prerelease: false
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"
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'
252
278
  type: :development
253
- version_requirements: *id017
254
- - !ruby/object:Gem::Dependency
255
- name: libnotify
256
279
  prerelease: false
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"
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'
265
294
  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
295
+ 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
268
304
  email: dwaynemac@gmail.com
269
305
  executables: []
270
-
271
306
  extensions: []
272
-
273
- extra_rdoc_files:
307
+ extra_rdoc_files:
274
308
  - LICENSE.txt
275
309
  - README.rdoc
276
- files:
310
+ files:
277
311
  - .document
278
312
  - Gemfile
279
313
  - Gemfile.lock
@@ -298,37 +332,32 @@ files:
298
332
  - test/helper.rb
299
333
  - test/test_logical_model.rb
300
334
  - test/typhoeus_mocks.rb
301
- has_rdoc: true
302
335
  homepage: http://github.com/dwaynemac/logical_model
303
- licenses:
336
+ licenses:
304
337
  - MIT
305
338
  post_install_message:
306
339
  rdoc_options: []
307
-
308
- require_paths:
340
+ require_paths:
309
341
  - lib
310
- required_ruby_version: !ruby/object:Gem::Requirement
342
+ required_ruby_version: !ruby/object:Gem::Requirement
311
343
  none: false
312
- requirements:
313
- - - ">="
314
- - !ruby/object:Gem::Version
315
- segments:
344
+ requirements:
345
+ - - ! '>='
346
+ - !ruby/object:Gem::Version
347
+ version: '0'
348
+ segments:
316
349
  - 0
317
- version: "0"
318
- required_rubygems_version: !ruby/object:Gem::Requirement
350
+ hash: 628075777
351
+ required_rubygems_version: !ruby/object:Gem::Requirement
319
352
  none: false
320
- requirements:
321
- - - ">="
322
- - !ruby/object:Gem::Version
323
- segments:
324
- - 0
325
- version: "0"
353
+ requirements:
354
+ - - ! '>='
355
+ - !ruby/object:Gem::Version
356
+ version: '0'
326
357
  requirements: []
327
-
328
358
  rubyforge_project:
329
- rubygems_version: 1.3.7.1
359
+ rubygems_version: 1.8.25
330
360
  signing_key:
331
361
  specification_version: 3
332
362
  summary: LogicalModel allows to use a resource as a model.
333
363
  test_files: []
334
-