enju_event 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/event_import_file.rb +24 -15
- data/app/views/event_import_files/index.html.erb +2 -2
- data/app/views/event_import_files/show.html.erb +8 -3
- data/config/locales/translation_en.yml +2 -1
- data/config/locales/translation_ja.yml +2 -1
- data/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb +9 -0
- data/lib/enju_event/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +3 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/fixtures/event_import_files.yml +6 -4
- data/spec/models/event_import_file_spec.rb +9 -4
- metadata +163 -52
@@ -28,9 +28,18 @@ class EventImportFile < ActiveRecord::Base
|
|
28
28
|
event :sm_fail do
|
29
29
|
transition :started => :failed
|
30
30
|
end
|
31
|
+
|
32
|
+
before_transition any => :started do |patron_import_file|
|
33
|
+
patron_import_file.executed_at = Time.zone.now
|
34
|
+
end
|
35
|
+
|
36
|
+
before_transition any => :completed do |patron_import_file|
|
37
|
+
patron_import_file.error_message = nil
|
38
|
+
end
|
31
39
|
end
|
32
40
|
|
33
41
|
def import_start
|
42
|
+
executed_at = Time.zone.now
|
34
43
|
sm_start!
|
35
44
|
case edit_mode
|
36
45
|
when 'create'
|
@@ -47,10 +56,9 @@ class EventImportFile < ActiveRecord::Base
|
|
47
56
|
def import
|
48
57
|
self.reload
|
49
58
|
num = {:imported => 0, :failed => 0}
|
50
|
-
row_num = 2
|
51
|
-
|
52
59
|
rows = open_import_file
|
53
60
|
check_field(rows.first)
|
61
|
+
row_num = 2
|
54
62
|
|
55
63
|
rows.each do |row|
|
56
64
|
next if row['dummy'].to_s.strip.present?
|
@@ -84,7 +92,6 @@ class EventImportFile < ActiveRecord::Base
|
|
84
92
|
import_result.save!
|
85
93
|
row_num += 1
|
86
94
|
end
|
87
|
-
self.update_attribute(:imported_at, Time.zone.now)
|
88
95
|
Sunspot.commit
|
89
96
|
rows.close
|
90
97
|
sm_complete!
|
@@ -92,12 +99,14 @@ class EventImportFile < ActiveRecord::Base
|
|
92
99
|
rescue => e
|
93
100
|
self.error_message = "line #{row_num}: #{e.message}"
|
94
101
|
sm_fail!
|
102
|
+
raise e
|
95
103
|
end
|
96
104
|
|
97
105
|
def modify
|
98
106
|
sm_start!
|
99
107
|
rows = open_import_file
|
100
108
|
check_field(rows.first)
|
109
|
+
row_num = 2
|
101
110
|
|
102
111
|
rows.each do |row|
|
103
112
|
next if row['dummy'].to_s.strip.present?
|
@@ -116,11 +125,13 @@ class EventImportFile < ActiveRecord::Base
|
|
116
125
|
event.all_day = true
|
117
126
|
end
|
118
127
|
event.save!
|
128
|
+
row_num += 1
|
119
129
|
end
|
120
130
|
sm_complete!
|
121
131
|
rescue => e
|
122
132
|
self.error_message = "line #{row_num}: #{e.message}"
|
123
133
|
sm_fail!
|
134
|
+
raise e
|
124
135
|
end
|
125
136
|
|
126
137
|
def remove
|
@@ -133,11 +144,13 @@ class EventImportFile < ActiveRecord::Base
|
|
133
144
|
next if row['dummy'].to_s.strip.present?
|
134
145
|
event = Event.find(row['id'].to_s.strip)
|
135
146
|
event.destroy
|
147
|
+
row_num += 1
|
136
148
|
end
|
137
149
|
sm_complete!
|
138
150
|
rescue => e
|
139
151
|
self.error_message = "line #{row_num}: #{e.message}"
|
140
152
|
sm_fail!
|
153
|
+
raise e
|
141
154
|
end
|
142
155
|
|
143
156
|
def self.import
|
@@ -163,15 +176,9 @@ class EventImportFile < ActiveRecord::Base
|
|
163
176
|
}
|
164
177
|
tempfile.close
|
165
178
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
rows = CSV.open(tempfile, :headers => header, :col_sep => "\t")
|
170
|
-
else
|
171
|
-
file = FasterCSV.open(tempfile.path, :col_sep => "\t")
|
172
|
-
header = file.first
|
173
|
-
rows = FasterCSV.open(tempfile.path, :headers => header, :col_sep => "\t")
|
174
|
-
end
|
179
|
+
file = CSV.open(tempfile, :col_sep => "\t")
|
180
|
+
header = file.first
|
181
|
+
rows = CSV.open(tempfile, :headers => header, :col_sep => "\t")
|
175
182
|
EventImportResult.create!(:event_import_file => self, :body => header.join("\t"))
|
176
183
|
tempfile.close(true)
|
177
184
|
file.close
|
@@ -198,15 +205,17 @@ end
|
|
198
205
|
# size :integer
|
199
206
|
# user_id :integer
|
200
207
|
# note :text
|
201
|
-
#
|
208
|
+
# executed_at :datetime
|
202
209
|
# state :string(255)
|
203
210
|
# event_import_file_name :string(255)
|
204
211
|
# event_import_content_type :string(255)
|
205
212
|
# event_import_file_size :integer
|
206
213
|
# event_import_updated_at :datetime
|
207
|
-
# created_at :datetime
|
208
|
-
# updated_at :datetime
|
209
214
|
# edit_mode :string(255)
|
210
215
|
# event_import_fingerprint :string(255)
|
216
|
+
# created_at :datetime not null
|
217
|
+
# updated_at :datetime not null
|
218
|
+
# event_fingerprint :string(255)
|
219
|
+
# error_message :text
|
211
220
|
#
|
212
221
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<tr>
|
7
7
|
<th>Id</th>
|
8
8
|
<th><%= t('activerecord.attributes.event_import_file.event_import_file_name') -%></th>
|
9
|
-
<th><%= t('activerecord.attributes.event_import_file.
|
9
|
+
<th><%= t('activerecord.attributes.event_import_file.executed_at') -%></th>
|
10
10
|
<th><%= t('activerecord.models.user') -%></th>
|
11
11
|
<th><%= t('activerecord.attributes.event_import_file.edit_mode') -%></th>
|
12
12
|
<th><%= t('activerecord.attributes.event_import_file.state') -%></th>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<tr class="line<%= cycle("0", "1") -%>">
|
18
18
|
<td><%= link_to (event_import_file.id), event_import_file -%></td>
|
19
19
|
<td><%= link_to event_import_file.event_import_file_name, event_import_file -%></td>
|
20
|
-
<td><%= l(event_import_file.
|
20
|
+
<td><%= l(event_import_file.executed_at) if event_import_file.executed_at -%></td>
|
21
21
|
<td><%= link_to event_import_file.user.username, event_import_file.user -%></td>
|
22
22
|
<td><%= event_import_file.edit_mode -%></td>
|
23
23
|
<td><%= localized_state(event_import_file.state) -%></td>
|
@@ -34,8 +34,8 @@
|
|
34
34
|
</p>
|
35
35
|
|
36
36
|
<p>
|
37
|
-
<strong><%= t('activerecord.attributes.event_import_file.
|
38
|
-
<%= l(@event_import_file.
|
37
|
+
<strong><%= t('activerecord.attributes.event_import_file.executed_at') -%>:</strong>
|
38
|
+
<%= l(@event_import_file.executed_at) if @event_import_file.executed_at -%>
|
39
39
|
</p>
|
40
40
|
|
41
41
|
<p>
|
@@ -44,10 +44,15 @@
|
|
44
44
|
</p>
|
45
45
|
|
46
46
|
<p>
|
47
|
-
<strong><%= t('activerecord.attributes.
|
47
|
+
<strong><%= t('activerecord.attributes.event_import_file.state') -%>:</strong>
|
48
48
|
<%= localized_state(@event_import_file.state) -%>
|
49
49
|
</p>
|
50
50
|
|
51
|
+
<p>
|
52
|
+
<strong><%= t('activerecord.attributes.event_import_file.error_message') -%>:</strong>
|
53
|
+
<%= @event_import_file.error_message -%>
|
54
|
+
</p>
|
55
|
+
|
51
56
|
<p>
|
52
57
|
<strong><%= t('activerecord.models.user') -%>:</strong>
|
53
58
|
<%= link_to @event_import_file.user.username, @event_import_file.user -%>
|
@@ -26,10 +26,11 @@ en:
|
|
26
26
|
event_import_file_size: Size
|
27
27
|
event_import_fingerprint: File hash
|
28
28
|
note: Note
|
29
|
-
|
29
|
+
executed_at: Executed at
|
30
30
|
event_import_updated_at: Updated at
|
31
31
|
state: State
|
32
32
|
edit_mode: Edit mode
|
33
|
+
error_message: Error message
|
33
34
|
event_import_result:
|
34
35
|
body: Body
|
35
36
|
|
@@ -26,10 +26,11 @@ ja:
|
|
26
26
|
event_import_file_size: ファイルサイズ
|
27
27
|
event_import_fingerprint: ファイルのハッシュ
|
28
28
|
note: 注記
|
29
|
-
|
29
|
+
executed_at: 実行時刻
|
30
30
|
event_import_updated_at: 更新時刻
|
31
31
|
state: 状態
|
32
32
|
edit_mode: 編集モード
|
33
|
+
error_message: エラーメッセージ
|
33
34
|
event_import_result:
|
34
35
|
body: 本文
|
35
36
|
|
data/lib/enju_event/version.rb
CHANGED
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20120415060342) do
|
15
15
|
|
16
16
|
create_table "countries", :force => true do |t|
|
17
17
|
t.string "name", :null => false
|
@@ -58,13 +58,14 @@ ActiveRecord::Schema.define(:version => 20120413170734) do
|
|
58
58
|
t.integer "size"
|
59
59
|
t.integer "user_id"
|
60
60
|
t.text "note"
|
61
|
-
t.datetime "
|
61
|
+
t.datetime "executed_at"
|
62
62
|
t.string "state"
|
63
63
|
t.string "event_import_file_name"
|
64
64
|
t.string "event_import_content_type"
|
65
65
|
t.integer "event_import_file_size"
|
66
66
|
t.datetime "event_import_updated_at"
|
67
67
|
t.string "edit_mode"
|
68
|
+
t.string "event_import_fingerprint"
|
68
69
|
t.datetime "created_at", :null => false
|
69
70
|
t.datetime "updated_at", :null => false
|
70
71
|
t.string "event_fingerprint"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -30,17 +30,19 @@ event_import_file_00003:
|
|
30
30
|
# parent_id :integer
|
31
31
|
# content_type :string(255)
|
32
32
|
# size :integer
|
33
|
-
# file_hash :string(255)
|
34
33
|
# user_id :integer
|
35
34
|
# note :text
|
36
|
-
#
|
35
|
+
# executed_at :datetime
|
37
36
|
# state :string(255)
|
38
37
|
# event_import_file_name :string(255)
|
39
38
|
# event_import_content_type :string(255)
|
40
39
|
# event_import_file_size :integer
|
41
40
|
# event_import_updated_at :datetime
|
42
|
-
# created_at :datetime
|
43
|
-
# updated_at :datetime
|
44
41
|
# edit_mode :string(255)
|
42
|
+
# event_import_fingerprint :string(255)
|
43
|
+
# created_at :datetime not null
|
44
|
+
# updated_at :datetime not null
|
45
|
+
# event_fingerprint :string(255)
|
46
|
+
# error_message :text
|
45
47
|
#
|
46
48
|
|
@@ -17,6 +17,9 @@ describe EventImportFile do
|
|
17
17
|
Event.count.should eq old_events_count + 3
|
18
18
|
Event.closing_days.size.should eq closing_days_size + 1
|
19
19
|
EventImportResult.count.should eq old_import_results_count + 4
|
20
|
+
|
21
|
+
@file.event_import_fingerprint.should be_true
|
22
|
+
@file.executed_at.should be_true
|
20
23
|
end
|
21
24
|
end
|
22
25
|
|
@@ -75,17 +78,19 @@ end
|
|
75
78
|
# parent_id :integer
|
76
79
|
# content_type :string(255)
|
77
80
|
# size :integer
|
78
|
-
# file_hash :string(255)
|
79
81
|
# user_id :integer
|
80
82
|
# note :text
|
81
|
-
#
|
83
|
+
# executed_at :datetime
|
82
84
|
# state :string(255)
|
83
85
|
# event_import_file_name :string(255)
|
84
86
|
# event_import_content_type :string(255)
|
85
87
|
# event_import_file_size :integer
|
86
88
|
# event_import_updated_at :datetime
|
87
|
-
# created_at :datetime
|
88
|
-
# updated_at :datetime
|
89
89
|
# edit_mode :string(255)
|
90
|
+
# event_import_fingerprint :string(255)
|
91
|
+
# created_at :datetime not null
|
92
|
+
# updated_at :datetime not null
|
93
|
+
# event_fingerprint :string(255)
|
94
|
+
# error_message :text
|
90
95
|
#
|
91
96
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '3.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: event-calendar
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: 2.3.3
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.3.3
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: simple_form
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: devise
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: cancan
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :runtime
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: attribute_normalizer
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ~>
|
@@ -76,10 +101,15 @@ dependencies:
|
|
76
101
|
version: '1.1'
|
77
102
|
type: :runtime
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.1'
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: inherited_resources
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
115
|
- - ! '>='
|
@@ -87,10 +117,15 @@ dependencies:
|
|
87
117
|
version: '0'
|
88
118
|
type: :runtime
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
91
126
|
- !ruby/object:Gem::Dependency
|
92
127
|
name: friendly_id
|
93
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
94
129
|
none: false
|
95
130
|
requirements:
|
96
131
|
- - ~>
|
@@ -98,10 +133,15 @@ dependencies:
|
|
98
133
|
version: '4.0'
|
99
134
|
type: :runtime
|
100
135
|
prerelease: false
|
101
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '4.0'
|
102
142
|
- !ruby/object:Gem::Dependency
|
103
143
|
name: sunspot_rails
|
104
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
105
145
|
none: false
|
106
146
|
requirements:
|
107
147
|
- - ! '>='
|
@@ -109,10 +149,15 @@ dependencies:
|
|
109
149
|
version: '0'
|
110
150
|
type: :runtime
|
111
151
|
prerelease: false
|
112
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
113
158
|
- !ruby/object:Gem::Dependency
|
114
159
|
name: sunspot_solr
|
115
|
-
requirement:
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
116
161
|
none: false
|
117
162
|
requirements:
|
118
163
|
- - ! '>='
|
@@ -120,10 +165,15 @@ dependencies:
|
|
120
165
|
version: '0'
|
121
166
|
type: :runtime
|
122
167
|
prerelease: false
|
123
|
-
version_requirements:
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
124
174
|
- !ruby/object:Gem::Dependency
|
125
175
|
name: will_paginate
|
126
|
-
requirement:
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
127
177
|
none: false
|
128
178
|
requirements:
|
129
179
|
- - ~>
|
@@ -131,10 +181,15 @@ dependencies:
|
|
131
181
|
version: '3.0'
|
132
182
|
type: :runtime
|
133
183
|
prerelease: false
|
134
|
-
version_requirements:
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '3.0'
|
135
190
|
- !ruby/object:Gem::Dependency
|
136
191
|
name: has_scope
|
137
|
-
requirement:
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
138
193
|
none: false
|
139
194
|
requirements:
|
140
195
|
- - ! '>='
|
@@ -142,10 +197,15 @@ dependencies:
|
|
142
197
|
version: '0'
|
143
198
|
type: :runtime
|
144
199
|
prerelease: false
|
145
|
-
version_requirements:
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
146
206
|
- !ruby/object:Gem::Dependency
|
147
207
|
name: configatron
|
148
|
-
requirement:
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
149
209
|
none: false
|
150
210
|
requirements:
|
151
211
|
- - ! '>='
|
@@ -153,10 +213,15 @@ dependencies:
|
|
153
213
|
version: '0'
|
154
214
|
type: :runtime
|
155
215
|
prerelease: false
|
156
|
-
version_requirements:
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
157
222
|
- !ruby/object:Gem::Dependency
|
158
223
|
name: paperclip
|
159
|
-
requirement:
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
160
225
|
none: false
|
161
226
|
requirements:
|
162
227
|
- - ~>
|
@@ -164,10 +229,15 @@ dependencies:
|
|
164
229
|
version: '3.0'
|
165
230
|
type: :runtime
|
166
231
|
prerelease: false
|
167
|
-
version_requirements:
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ~>
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '3.0'
|
168
238
|
- !ruby/object:Gem::Dependency
|
169
239
|
name: state_machine
|
170
|
-
requirement:
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
171
241
|
none: false
|
172
242
|
requirements:
|
173
243
|
- - ! '>='
|
@@ -175,10 +245,15 @@ dependencies:
|
|
175
245
|
version: '0'
|
176
246
|
type: :runtime
|
177
247
|
prerelease: false
|
178
|
-
version_requirements:
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
179
254
|
- !ruby/object:Gem::Dependency
|
180
255
|
name: addressable
|
181
|
-
requirement:
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
182
257
|
none: false
|
183
258
|
requirements:
|
184
259
|
- - ! '>='
|
@@ -186,32 +261,47 @@ dependencies:
|
|
186
261
|
version: '0'
|
187
262
|
type: :runtime
|
188
263
|
prerelease: false
|
189
|
-
version_requirements:
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ! '>='
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: '0'
|
190
270
|
- !ruby/object:Gem::Dependency
|
191
271
|
name: acts_as_list
|
192
|
-
requirement:
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
193
273
|
none: false
|
194
274
|
requirements:
|
195
275
|
- - ~>
|
196
276
|
- !ruby/object:Gem::Version
|
197
|
-
version: 0.1.
|
277
|
+
version: 0.1.6
|
198
278
|
type: :runtime
|
199
279
|
prerelease: false
|
200
|
-
version_requirements:
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ~>
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: 0.1.6
|
201
286
|
- !ruby/object:Gem::Dependency
|
202
287
|
name: enju_message
|
203
|
-
requirement:
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
204
289
|
none: false
|
205
290
|
requirements:
|
206
|
-
- -
|
291
|
+
- - ! '>='
|
207
292
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.0.
|
293
|
+
version: 0.0.18
|
209
294
|
type: :runtime
|
210
295
|
prerelease: false
|
211
|
-
version_requirements:
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ! '>='
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: 0.0.18
|
212
302
|
- !ruby/object:Gem::Dependency
|
213
303
|
name: sqlite3
|
214
|
-
requirement:
|
304
|
+
requirement: !ruby/object:Gem::Requirement
|
215
305
|
none: false
|
216
306
|
requirements:
|
217
307
|
- - ! '>='
|
@@ -219,10 +309,15 @@ dependencies:
|
|
219
309
|
version: '0'
|
220
310
|
type: :development
|
221
311
|
prerelease: false
|
222
|
-
version_requirements:
|
312
|
+
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ! '>='
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
223
318
|
- !ruby/object:Gem::Dependency
|
224
319
|
name: rspec-rails
|
225
|
-
requirement:
|
320
|
+
requirement: !ruby/object:Gem::Requirement
|
226
321
|
none: false
|
227
322
|
requirements:
|
228
323
|
- - ! '>='
|
@@ -230,10 +325,15 @@ dependencies:
|
|
230
325
|
version: '0'
|
231
326
|
type: :development
|
232
327
|
prerelease: false
|
233
|
-
version_requirements:
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
234
334
|
- !ruby/object:Gem::Dependency
|
235
335
|
name: sunspot-rails-tester
|
236
|
-
requirement:
|
336
|
+
requirement: !ruby/object:Gem::Requirement
|
237
337
|
none: false
|
238
338
|
requirements:
|
239
339
|
- - ! '>='
|
@@ -241,18 +341,28 @@ dependencies:
|
|
241
341
|
version: '0'
|
242
342
|
type: :development
|
243
343
|
prerelease: false
|
244
|
-
version_requirements:
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
346
|
+
requirements:
|
347
|
+
- - ! '>='
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: '0'
|
245
350
|
- !ruby/object:Gem::Dependency
|
246
351
|
name: factory_girl_rails
|
247
|
-
requirement:
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
248
353
|
none: false
|
249
354
|
requirements:
|
250
|
-
- -
|
355
|
+
- - ! '>='
|
251
356
|
- !ruby/object:Gem::Version
|
252
|
-
version: '
|
357
|
+
version: '0'
|
253
358
|
type: :development
|
254
359
|
prerelease: false
|
255
|
-
version_requirements:
|
360
|
+
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
362
|
+
requirements:
|
363
|
+
- - ! '>='
|
364
|
+
- !ruby/object:Gem::Version
|
365
|
+
version: '0'
|
256
366
|
description: Event management for Next-L Enju
|
257
367
|
email:
|
258
368
|
- tanabe@mwr.mediacom.keio.ac.jp
|
@@ -312,6 +422,7 @@ files:
|
|
312
422
|
- db/migrate/20100925074639_create_event_import_results.rb
|
313
423
|
- db/migrate/20120413051535_add_event_fingerprint_to_event_import_file.rb
|
314
424
|
- db/migrate/20120413170734_add_error_message_to_event_import_file.rb
|
425
|
+
- db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
|
315
426
|
- lib/enju_event/engine.rb
|
316
427
|
- lib/enju_event/import_file.rb
|
317
428
|
- lib/enju_event/version.rb
|
@@ -474,7 +585,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
474
585
|
version: '0'
|
475
586
|
requirements: []
|
476
587
|
rubyforge_project:
|
477
|
-
rubygems_version: 1.8.
|
588
|
+
rubygems_version: 1.8.23
|
478
589
|
signing_key:
|
479
590
|
specification_version: 3
|
480
591
|
summary: enju_event plugin
|