ninja-model 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ module NinjaModel
5
5
 
6
6
  included do
7
7
  include ActiveModel::Validations
8
+ include ActiveModel::Validations::Callbacks
8
9
  define_model_callbacks :validation
9
10
  end
10
11
 
@@ -1,3 +1,3 @@
1
1
  module NinjaModel
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,132 +1,136 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ninja-model
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.2
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.9.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Josh Williams
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-17 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-11-08 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: activerecord
16
- requirement: &77634890 !ruby/object:Gem::Requirement
17
+ requirement: &id001 !ruby/object:Gem::Requirement
17
18
  none: false
18
- requirements:
19
+ requirements:
19
20
  - - ~>
20
- - !ruby/object:Gem::Version
21
+ - !ruby/object:Gem::Version
21
22
  version: 3.1.0
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *77634890
25
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
26
27
  name: rake
27
- requirement: &77634140 !ruby/object:Gem::Requirement
28
+ requirement: &id002 !ruby/object:Gem::Requirement
28
29
  none: false
29
- requirements:
30
+ requirements:
30
31
  - - ~>
31
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
32
33
  version: 0.9.2
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *77634140
36
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
37
38
  name: rspec
38
- requirement: &77633590 !ruby/object:Gem::Requirement
39
+ requirement: &id003 !ruby/object:Gem::Requirement
39
40
  none: false
40
- requirements:
41
+ requirements:
41
42
  - - ~>
42
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
43
44
  version: 2.8.0
44
45
  type: :development
45
46
  prerelease: false
46
- version_requirements: *77633590
47
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
48
49
  name: mocha
49
- requirement: &77633280 !ruby/object:Gem::Requirement
50
+ requirement: &id004 !ruby/object:Gem::Requirement
50
51
  none: false
51
- requirements:
52
+ requirements:
52
53
  - - ~>
53
- - !ruby/object:Gem::Version
54
+ - !ruby/object:Gem::Version
54
55
  version: 0.10.0
55
56
  type: :development
56
57
  prerelease: false
57
- version_requirements: *77633280
58
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
59
60
  name: guard-rspec
60
- requirement: &77632800 !ruby/object:Gem::Requirement
61
+ requirement: &id005 !ruby/object:Gem::Requirement
61
62
  none: false
62
- requirements:
63
+ requirements:
63
64
  - - ~>
64
- - !ruby/object:Gem::Version
65
+ - !ruby/object:Gem::Version
65
66
  version: 0.5.10
66
67
  type: :development
67
68
  prerelease: false
68
- version_requirements: *77632800
69
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
70
71
  name: libnotify
71
- requirement: &77632430 !ruby/object:Gem::Requirement
72
+ requirement: &id006 !ruby/object:Gem::Requirement
72
73
  none: false
73
- requirements:
74
+ requirements:
74
75
  - - ~>
75
- - !ruby/object:Gem::Version
76
+ - !ruby/object:Gem::Version
76
77
  version: 0.6.0
77
78
  type: :development
78
79
  prerelease: false
79
- version_requirements: *77632430
80
- - !ruby/object:Gem::Dependency
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
81
82
  name: yard
82
- requirement: &77631850 !ruby/object:Gem::Requirement
83
+ requirement: &id007 !ruby/object:Gem::Requirement
83
84
  none: false
84
- requirements:
85
+ requirements:
85
86
  - - ~>
86
- - !ruby/object:Gem::Version
87
+ - !ruby/object:Gem::Version
87
88
  version: 0.7.4
88
89
  type: :development
89
90
  prerelease: false
90
- version_requirements: *77631850
91
- - !ruby/object:Gem::Dependency
91
+ version_requirements: *id007
92
+ - !ruby/object:Gem::Dependency
92
93
  name: redcarpet
93
- requirement: &77547760 !ruby/object:Gem::Requirement
94
+ requirement: &id008 !ruby/object:Gem::Requirement
94
95
  none: false
95
- requirements:
96
+ requirements:
96
97
  - - ~>
97
- - !ruby/object:Gem::Version
98
+ - !ruby/object:Gem::Version
98
99
  version: 2.0.0
99
100
  type: :development
100
101
  prerelease: false
101
- version_requirements: *77547760
102
- - !ruby/object:Gem::Dependency
102
+ version_requirements: *id008
103
+ - !ruby/object:Gem::Dependency
103
104
  name: sqlite3
104
- requirement: &77546900 !ruby/object:Gem::Requirement
105
+ requirement: &id009 !ruby/object:Gem::Requirement
105
106
  none: false
106
- requirements:
107
+ requirements:
107
108
  - - ~>
108
- - !ruby/object:Gem::Version
109
+ - !ruby/object:Gem::Version
109
110
  version: 1.3.5
110
111
  type: :development
111
112
  prerelease: false
112
- version_requirements: *77546900
113
- - !ruby/object:Gem::Dependency
113
+ version_requirements: *id009
114
+ - !ruby/object:Gem::Dependency
114
115
  name: factory_girl
115
- requirement: &77545950 !ruby/object:Gem::Requirement
116
+ requirement: &id010 !ruby/object:Gem::Requirement
116
117
  none: false
117
- requirements:
118
+ requirements:
118
119
  - - ~>
119
- - !ruby/object:Gem::Version
120
+ - !ruby/object:Gem::Version
120
121
  version: 2.5.0
121
122
  type: :development
122
123
  prerelease: false
123
- version_requirements: *77545950
124
+ version_requirements: *id010
124
125
  description: Pseudo-ORM for Ruby/Rails with an ActiveRecord-like interface
125
126
  email: theprime@codingprime.com
126
127
  executables: []
128
+
127
129
  extensions: []
130
+
128
131
  extra_rdoc_files: []
129
- files:
132
+
133
+ files:
130
134
  - .gitignore
131
135
  - .rvmrc
132
136
  - Gemfile
@@ -218,35 +222,38 @@ files:
218
222
  - spec/support/matchers/convert.rb
219
223
  homepage: http://github.com/t3hpr1m3/ninja-model.git
220
224
  licenses: []
225
+
221
226
  post_install_message:
222
227
  rdoc_options: []
223
- require_paths:
228
+
229
+ require_paths:
224
230
  - lib
225
- required_ruby_version: !ruby/object:Gem::Requirement
231
+ required_ruby_version: !ruby/object:Gem::Requirement
226
232
  none: false
227
- requirements:
228
- - - ! '>='
229
- - !ruby/object:Gem::Version
230
- version: '0'
231
- segments:
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ hash: 483263405
237
+ segments:
232
238
  - 0
233
- hash: 395217295
234
- required_rubygems_version: !ruby/object:Gem::Requirement
239
+ version: "0"
240
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
241
  none: false
236
- requirements:
237
- - - ! '>='
238
- - !ruby/object:Gem::Version
239
- version: '0'
240
- segments:
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ hash: 483263405
246
+ segments:
241
247
  - 0
242
- hash: 395217295
248
+ version: "0"
243
249
  requirements: []
250
+
244
251
  rubyforge_project: ninja-model
245
- rubygems_version: 1.8.12
252
+ rubygems_version: 1.8.24
246
253
  signing_key:
247
254
  specification_version: 3
248
255
  summary: Pseudo-ORM for Ruby
249
- test_files:
256
+ test_files:
250
257
  - spec/db/schema.rb
251
258
  - spec/lib/ninja_model/adapters/abstract_adapter_spec.rb
252
259
  - spec/lib/ninja_model/adapters/adapter_manager_spec.rb