archiving 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/archiving/archive_table.rb +4 -1
- data/test/archive_table_test.rb +11 -0
- data/test/dummy/app/models/log_other.rb +7 -0
- data/test/dummy/config/database.yml +21 -0
- data/test/dummy/db/migrate/20161103093656_create_log_other.rb +8 -0
- data/test/dummy/db/migrate/20161103100644_create_log_other_archive.rb +26 -0
- data/test/dummy/db/schema.rb +38 -28
- data/test/dummy/log/development.log +3224 -13
- data/test/dummy/log/test.log +30254 -14597
- data/test/test_helper.rb +2 -0
- metadata +18 -12
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archiving
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Vangberg
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -94,33 +94,33 @@ dependencies:
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
|
-
name:
|
97
|
+
name: rr
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0
|
102
|
+
version: '0'
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0
|
109
|
+
version: '0'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
111
|
+
name: minitest-focus
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0
|
116
|
+
version: '0'
|
117
117
|
type: :development
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0
|
123
|
+
version: '0'
|
124
124
|
description: Archiving aged records to archive table
|
125
125
|
email:
|
126
126
|
- teknik@firmafon.dk
|
@@ -145,6 +145,7 @@ files:
|
|
145
145
|
- test/dummy/app/helpers/application_helper.rb
|
146
146
|
- test/dummy/app/models/log_day.rb
|
147
147
|
- test/dummy/app/models/log_line.rb
|
148
|
+
- test/dummy/app/models/log_other.rb
|
148
149
|
- test/dummy/app/models/post.rb
|
149
150
|
- test/dummy/app/views/layouts/application.html.erb
|
150
151
|
- test/dummy/bin/bundle
|
@@ -172,6 +173,8 @@ files:
|
|
172
173
|
- test/dummy/db/migrate/20140220140952_posts_tag.rb
|
173
174
|
- test/dummy/db/migrate/20140317201702_create_logs.rb
|
174
175
|
- test/dummy/db/migrate/20140414124125_create_postable_on_log_day.rb
|
176
|
+
- test/dummy/db/migrate/20161103093656_create_log_other.rb
|
177
|
+
- test/dummy/db/migrate/20161103100644_create_log_other_archive.rb
|
175
178
|
- test/dummy/db/schema.rb
|
176
179
|
- test/dummy/log/development.log
|
177
180
|
- test/dummy/log/test.log
|
@@ -215,6 +218,7 @@ test_files:
|
|
215
218
|
- test/dummy/app/helpers/application_helper.rb
|
216
219
|
- test/dummy/app/models/log_day.rb
|
217
220
|
- test/dummy/app/models/log_line.rb
|
221
|
+
- test/dummy/app/models/log_other.rb
|
218
222
|
- test/dummy/app/models/post.rb
|
219
223
|
- test/dummy/app/views/layouts/application.html.erb
|
220
224
|
- test/dummy/bin/bundle
|
@@ -242,6 +246,8 @@ test_files:
|
|
242
246
|
- test/dummy/db/migrate/20140220140952_posts_tag.rb
|
243
247
|
- test/dummy/db/migrate/20140317201702_create_logs.rb
|
244
248
|
- test/dummy/db/migrate/20140414124125_create_postable_on_log_day.rb
|
249
|
+
- test/dummy/db/migrate/20161103093656_create_log_other.rb
|
250
|
+
- test/dummy/db/migrate/20161103100644_create_log_other_archive.rb
|
245
251
|
- test/dummy/db/schema.rb
|
246
252
|
- test/dummy/log/development.log
|
247
253
|
- test/dummy/log/test.log
|