audit_rails 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :audit, class: 'AuditRails::Audit' do
5
+ action 'home'
6
+ controller 'welcome'
7
+ user_name 'Fake user'
8
+ description 'Anything'
9
+ end
10
+ end
@@ -17,6 +17,8 @@ ENV["RAILS_ENV"] ||= 'test'
17
17
  require File.expand_path("../../spec/dummy/config/environment", __FILE__)
18
18
  require 'rspec/rails'
19
19
  require 'rspec/autorun'
20
+ require 'factory_girl'
21
+ require 'factory_girl_rails'
20
22
 
21
23
  # Requires supporting ruby files with custom matchers and macros, etc,
22
24
  # in spec/support/ and its subdirectories.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gourav Tiwari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-27 00:00:00.000000000 Z
11
+ date: 2013-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>'
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.6
20
+ - - <
18
21
  - !ruby/object:Gem::Version
19
- version: 3.2.9
22
+ version: '5'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>'
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.6
30
+ - - <
25
31
  - !ruby/object:Gem::Version
26
- version: 3.2.9
32
+ version: '5'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: to_xls
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -42,56 +48,70 @@ dependencies:
42
48
  name: jquery-rails
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ! '>='
51
+ - - '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ! '>='
58
+ - - '>='
53
59
  - !ruby/object:Gem::Version
54
60
  version: '0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: sqlite3
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ! '>='
65
+ - - '>='
60
66
  - !ruby/object:Gem::Version
61
67
  version: '0'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ! '>='
72
+ - - '>='
67
73
  - !ruby/object:Gem::Version
68
74
  version: '0'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rspec
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ! '>='
79
+ - - '>='
74
80
  - !ruby/object:Gem::Version
75
81
  version: '0'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ! '>='
86
+ - - '>='
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rspec-rails
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - ! '>='
93
+ - - '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: factory_girl_rails
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - '>='
88
108
  - !ruby/object:Gem::Version
89
109
  version: '0'
90
110
  type: :development
91
111
  prerelease: false
92
112
  version_requirements: !ruby/object:Gem::Requirement
93
113
  requirements:
94
- - - ! '>='
114
+ - - '>='
95
115
  - !ruby/object:Gem::Version
96
116
  version: '0'
97
117
  - !ruby/object:Gem::Dependency
@@ -112,84 +132,84 @@ dependencies:
112
132
  name: guard-spork
113
133
  requirement: !ruby/object:Gem::Requirement
114
134
  requirements:
115
- - - ! '>='
135
+ - - '>='
116
136
  - !ruby/object:Gem::Version
117
137
  version: '0'
118
138
  type: :development
119
139
  prerelease: false
120
140
  version_requirements: !ruby/object:Gem::Requirement
121
141
  requirements:
122
- - - ! '>='
142
+ - - '>='
123
143
  - !ruby/object:Gem::Version
124
144
  version: '0'
125
145
  - !ruby/object:Gem::Dependency
126
146
  name: guard-rspec
127
147
  requirement: !ruby/object:Gem::Requirement
128
148
  requirements:
129
- - - ! '>='
149
+ - - '>='
130
150
  - !ruby/object:Gem::Version
131
151
  version: '0'
132
152
  type: :development
133
153
  prerelease: false
134
154
  version_requirements: !ruby/object:Gem::Requirement
135
155
  requirements:
136
- - - ! '>='
156
+ - - '>='
137
157
  - !ruby/object:Gem::Version
138
158
  version: '0'
139
159
  - !ruby/object:Gem::Dependency
140
160
  name: guard-bundler
141
161
  requirement: !ruby/object:Gem::Requirement
142
162
  requirements:
143
- - - ! '>='
163
+ - - '>='
144
164
  - !ruby/object:Gem::Version
145
165
  version: '0'
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
149
169
  requirements:
150
- - - ! '>='
170
+ - - '>='
151
171
  - !ruby/object:Gem::Version
152
172
  version: '0'
153
173
  - !ruby/object:Gem::Dependency
154
174
  name: rb-fsevent
155
175
  requirement: !ruby/object:Gem::Requirement
156
176
  requirements:
157
- - - ! '>='
177
+ - - '>='
158
178
  - !ruby/object:Gem::Version
159
179
  version: '0'
160
180
  type: :development
161
181
  prerelease: false
162
182
  version_requirements: !ruby/object:Gem::Requirement
163
183
  requirements:
164
- - - ! '>='
184
+ - - '>='
165
185
  - !ruby/object:Gem::Version
166
186
  version: '0'
167
187
  - !ruby/object:Gem::Dependency
168
188
  name: shoulda-matchers
169
189
  requirement: !ruby/object:Gem::Requirement
170
190
  requirements:
171
- - - ! '>='
191
+ - - '>='
172
192
  - !ruby/object:Gem::Version
173
193
  version: '0'
174
194
  type: :development
175
195
  prerelease: false
176
196
  version_requirements: !ruby/object:Gem::Requirement
177
197
  requirements:
178
- - - ! '>='
198
+ - - '>='
179
199
  - !ruby/object:Gem::Version
180
200
  version: '0'
181
201
  - !ruby/object:Gem::Dependency
182
202
  name: simplecov
183
203
  requirement: !ruby/object:Gem::Requirement
184
204
  requirements:
185
- - - ! '>='
205
+ - - '>='
186
206
  - !ruby/object:Gem::Version
187
207
  version: '0'
188
208
  type: :development
189
209
  prerelease: false
190
210
  version_requirements: !ruby/object:Gem::Requirement
191
211
  requirements:
192
- - - ! '>='
212
+ - - '>='
193
213
  - !ruby/object:Gem::Version
194
214
  version: '0'
195
215
  description: An action based auditor, which has internal as well as outgoing link
@@ -259,6 +279,7 @@ files:
259
279
  - spec/dummy/Rakefile
260
280
  - spec/dummy/README.rdoc
261
281
  - spec/dummy/script/rails
282
+ - spec/factories/audits.rb
262
283
  - spec/models/audit_rails/audit_spec.rb
263
284
  - spec/spec_helper.rb
264
285
  homepage: https://github.com/gouravtiwari/audit_rails
@@ -270,17 +291,17 @@ require_paths:
270
291
  - lib
271
292
  required_ruby_version: !ruby/object:Gem::Requirement
272
293
  requirements:
273
- - - ! '>='
294
+ - - '>='
274
295
  - !ruby/object:Gem::Version
275
296
  version: '0'
276
297
  required_rubygems_version: !ruby/object:Gem::Requirement
277
298
  requirements:
278
- - - ! '>='
299
+ - - '>='
279
300
  - !ruby/object:Gem::Version
280
301
  version: '0'
281
302
  requirements: []
282
303
  rubyforge_project:
283
- rubygems_version: 2.0.7
304
+ rubygems_version: 2.0.6
284
305
  signing_key:
285
306
  specification_version: 4
286
307
  summary: An action based auditor, which has internal as well as outgoing link tracking.
@@ -320,5 +341,6 @@ test_files:
320
341
  - spec/dummy/Rakefile
321
342
  - spec/dummy/README.rdoc
322
343
  - spec/dummy/script/rails
344
+ - spec/factories/audits.rb
323
345
  - spec/models/audit_rails/audit_spec.rb
324
346
  - spec/spec_helper.rb