enju_message 0.1.14.pre10 → 0.1.14.pre11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/enju_message/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +8 -8
- data/spec/dummy/db/migrate/{20080905191442_create_patron_types.rb → 20080905191442_create_agent_types.rb} +3 -3
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
- data/spec/dummy/db/schema.rb +63 -63
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/_a3.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/{segments_i1 → segments_jp} +0 -0
- data/spec/fixtures/{patrons.yml → agents.yml} +46 -46
- data/spec/fixtures/message_templates.yml +15 -0
- metadata +32 -30
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +0 -11
- data/spec/dummy/solr/data/test/index/_93.tis +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.fdt → _a3.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.fdx → _a3.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.fnm → _a3.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.frq → _a3.frq} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.nrm → _a3.nrm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.prx → _a3.prx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_93.tii → _a3.tii} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99805770eb2bea506d27a50014c339697fdce66b
|
4
|
+
data.tar.gz: 08544762fe4db98a3dd5b1afe6180b7af8fd95d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0df04ba41955377bf9df2e92cb369cb44dcb11e21ca952c67052ebb8926bc716fd86d95f3f80c7813aa323458a85f9b2fcf6d0e74754d7106188f688ef6e28a4
|
7
|
+
data.tar.gz: 2c3d7ce5f6d45cdc80aad132caf329ed08bdc3c6b26a96a5705002d13ac1e5ee858ca93702e195965d95f93f420fb0216cceab294df1b1aaa8af70ecdd495b01
|
data/lib/enju_message/version.rb
CHANGED
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
class
|
1
|
+
class CreateAgents < ActiveRecord::Migration
|
2
2
|
def change
|
3
|
-
create_table :
|
3
|
+
create_table :agents do |t|
|
4
4
|
t.integer :user_id
|
5
5
|
t.string :last_name
|
6
6
|
t.string :middle_name
|
@@ -35,7 +35,7 @@ class CreatePatrons < ActiveRecord::Migration
|
|
35
35
|
t.datetime :date_of_death
|
36
36
|
t.integer :language_id, :default => 1, :null => false
|
37
37
|
t.integer :country_id, :default => 1, :null => false
|
38
|
-
t.integer :
|
38
|
+
t.integer :agent_type_id, :default => 1, :null => false
|
39
39
|
t.integer :lock_version, :default => 0, :null => false
|
40
40
|
t.text :note
|
41
41
|
t.integer :required_role_id, :default => 1, :null => false
|
@@ -44,10 +44,10 @@ class CreatePatrons < ActiveRecord::Migration
|
|
44
44
|
t.text :email
|
45
45
|
t.text :url
|
46
46
|
end
|
47
|
-
add_index :
|
48
|
-
add_index :
|
49
|
-
add_index :
|
50
|
-
add_index :
|
51
|
-
add_index :
|
47
|
+
add_index :agents, :user_id, :unique => true
|
48
|
+
add_index :agents, :language_id
|
49
|
+
add_index :agents, :country_id
|
50
|
+
add_index :agents, :required_role_id
|
51
|
+
add_index :agents, :full_name
|
52
52
|
end
|
53
53
|
end
|
@@ -1,6 +1,6 @@
|
|
1
|
-
class
|
1
|
+
class CreateAgentTypes < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
|
-
create_table :
|
3
|
+
create_table :agent_types do |t|
|
4
4
|
t.string :name, :null => false
|
5
5
|
t.text :display_name
|
6
6
|
t.text :note
|
@@ -11,6 +11,6 @@ class CreatePatronTypes < ActiveRecord::Migration
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.down
|
14
|
-
drop_table :
|
14
|
+
drop_table :agent_types
|
15
15
|
end
|
16
16
|
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class AddBirthDateAndDeathDateToAgent < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :agents, :birth_date, :string
|
4
|
+
add_column :agents, :death_date, :string
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.down
|
8
|
+
remove_column :agents, :death_date
|
9
|
+
remove_column :agents, :birth_date
|
10
|
+
end
|
11
|
+
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -24,6 +24,69 @@ ActiveRecord::Schema.define(:version => 20130412083556) do
|
|
24
24
|
add_index "accepts", ["basket_id"], :name => "index_accepts_on_basket_id"
|
25
25
|
add_index "accepts", ["item_id"], :name => "index_accepts_on_item_id"
|
26
26
|
|
27
|
+
create_table "agent_types", :force => true do |t|
|
28
|
+
t.string "name", :null => false
|
29
|
+
t.text "display_name"
|
30
|
+
t.text "note"
|
31
|
+
t.integer "position"
|
32
|
+
t.datetime "created_at", :null => false
|
33
|
+
t.datetime "updated_at", :null => false
|
34
|
+
end
|
35
|
+
|
36
|
+
create_table "agents", :force => true do |t|
|
37
|
+
t.integer "user_id"
|
38
|
+
t.string "last_name"
|
39
|
+
t.string "middle_name"
|
40
|
+
t.string "first_name"
|
41
|
+
t.string "last_name_transcription"
|
42
|
+
t.string "middle_name_transcription"
|
43
|
+
t.string "first_name_transcription"
|
44
|
+
t.string "corporate_name"
|
45
|
+
t.string "corporate_name_transcription"
|
46
|
+
t.string "full_name"
|
47
|
+
t.text "full_name_transcription"
|
48
|
+
t.text "full_name_alternative"
|
49
|
+
t.datetime "created_at", :null => false
|
50
|
+
t.datetime "updated_at", :null => false
|
51
|
+
t.datetime "deleted_at"
|
52
|
+
t.string "zip_code_1"
|
53
|
+
t.string "zip_code_2"
|
54
|
+
t.text "address_1"
|
55
|
+
t.text "address_2"
|
56
|
+
t.text "address_1_note"
|
57
|
+
t.text "address_2_note"
|
58
|
+
t.string "telephone_number_1"
|
59
|
+
t.string "telephone_number_2"
|
60
|
+
t.string "fax_number_1"
|
61
|
+
t.string "fax_number_2"
|
62
|
+
t.text "other_designation"
|
63
|
+
t.text "place"
|
64
|
+
t.string "postal_code"
|
65
|
+
t.text "street"
|
66
|
+
t.text "locality"
|
67
|
+
t.text "region"
|
68
|
+
t.datetime "date_of_birth"
|
69
|
+
t.datetime "date_of_death"
|
70
|
+
t.integer "language_id", :default => 1, :null => false
|
71
|
+
t.integer "country_id", :default => 1, :null => false
|
72
|
+
t.integer "agent_type_id", :default => 1, :null => false
|
73
|
+
t.integer "lock_version", :default => 0, :null => false
|
74
|
+
t.text "note"
|
75
|
+
t.integer "required_role_id", :default => 1, :null => false
|
76
|
+
t.integer "required_score", :default => 0, :null => false
|
77
|
+
t.string "state"
|
78
|
+
t.text "email"
|
79
|
+
t.text "url"
|
80
|
+
t.string "birth_date"
|
81
|
+
t.string "death_date"
|
82
|
+
end
|
83
|
+
|
84
|
+
add_index "agents", ["country_id"], :name => "index_agents_on_country_id"
|
85
|
+
add_index "agents", ["full_name"], :name => "index_agents_on_full_name"
|
86
|
+
add_index "agents", ["language_id"], :name => "index_agents_on_language_id"
|
87
|
+
add_index "agents", ["required_role_id"], :name => "index_agents_on_required_role_id"
|
88
|
+
add_index "agents", ["user_id"], :name => "index_agents_on_user_id", :unique => true
|
89
|
+
|
27
90
|
create_table "baskets", :force => true do |t|
|
28
91
|
t.integer "user_id"
|
29
92
|
t.text "note"
|
@@ -196,69 +259,6 @@ ActiveRecord::Schema.define(:version => 20130412083556) do
|
|
196
259
|
add_index "messages", ["receiver_id"], :name => "index_messages_on_receiver_id"
|
197
260
|
add_index "messages", ["sender_id"], :name => "index_messages_on_sender_id"
|
198
261
|
|
199
|
-
create_table "patron_types", :force => true do |t|
|
200
|
-
t.string "name", :null => false
|
201
|
-
t.text "display_name"
|
202
|
-
t.text "note"
|
203
|
-
t.integer "position"
|
204
|
-
t.datetime "created_at", :null => false
|
205
|
-
t.datetime "updated_at", :null => false
|
206
|
-
end
|
207
|
-
|
208
|
-
create_table "patrons", :force => true do |t|
|
209
|
-
t.integer "user_id"
|
210
|
-
t.string "last_name"
|
211
|
-
t.string "middle_name"
|
212
|
-
t.string "first_name"
|
213
|
-
t.string "last_name_transcription"
|
214
|
-
t.string "middle_name_transcription"
|
215
|
-
t.string "first_name_transcription"
|
216
|
-
t.string "corporate_name"
|
217
|
-
t.string "corporate_name_transcription"
|
218
|
-
t.string "full_name"
|
219
|
-
t.text "full_name_transcription"
|
220
|
-
t.text "full_name_alternative"
|
221
|
-
t.datetime "created_at", :null => false
|
222
|
-
t.datetime "updated_at", :null => false
|
223
|
-
t.datetime "deleted_at"
|
224
|
-
t.string "zip_code_1"
|
225
|
-
t.string "zip_code_2"
|
226
|
-
t.text "address_1"
|
227
|
-
t.text "address_2"
|
228
|
-
t.text "address_1_note"
|
229
|
-
t.text "address_2_note"
|
230
|
-
t.string "telephone_number_1"
|
231
|
-
t.string "telephone_number_2"
|
232
|
-
t.string "fax_number_1"
|
233
|
-
t.string "fax_number_2"
|
234
|
-
t.text "other_designation"
|
235
|
-
t.text "place"
|
236
|
-
t.string "postal_code"
|
237
|
-
t.text "street"
|
238
|
-
t.text "locality"
|
239
|
-
t.text "region"
|
240
|
-
t.datetime "date_of_birth"
|
241
|
-
t.datetime "date_of_death"
|
242
|
-
t.integer "language_id", :default => 1, :null => false
|
243
|
-
t.integer "country_id", :default => 1, :null => false
|
244
|
-
t.integer "patron_type_id", :default => 1, :null => false
|
245
|
-
t.integer "lock_version", :default => 0, :null => false
|
246
|
-
t.text "note"
|
247
|
-
t.integer "required_role_id", :default => 1, :null => false
|
248
|
-
t.integer "required_score", :default => 0, :null => false
|
249
|
-
t.string "state"
|
250
|
-
t.text "email"
|
251
|
-
t.text "url"
|
252
|
-
t.string "birth_date"
|
253
|
-
t.string "death_date"
|
254
|
-
end
|
255
|
-
|
256
|
-
add_index "patrons", ["country_id"], :name => "index_patrons_on_country_id"
|
257
|
-
add_index "patrons", ["full_name"], :name => "index_patrons_on_full_name"
|
258
|
-
add_index "patrons", ["language_id"], :name => "index_patrons_on_language_id"
|
259
|
-
add_index "patrons", ["required_role_id"], :name => "index_patrons_on_required_role_id"
|
260
|
-
add_index "patrons", ["user_id"], :name => "index_patrons_on_user_id", :unique => true
|
261
|
-
|
262
262
|
create_table "request_status_types", :force => true do |t|
|
263
263
|
t.string "name", :null => false
|
264
264
|
t.text "display_name"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
|
2
|
+
agent_00001:
|
3
3
|
place: ""
|
4
4
|
last_name: Administrator
|
5
5
|
first_name:
|
@@ -12,11 +12,11 @@ patron_00001:
|
|
12
12
|
address_1:
|
13
13
|
language_id: 1
|
14
14
|
country_id: 1
|
15
|
-
|
15
|
+
agent_type_id: 1
|
16
16
|
required_role_id: 1
|
17
17
|
created_at: 2007-11-19 17:06:06.507237 +09:00
|
18
18
|
user_id: 1
|
19
|
-
|
19
|
+
agent_00002:
|
20
20
|
place: ""
|
21
21
|
last_name: Librarian1
|
22
22
|
first_name:
|
@@ -29,11 +29,11 @@ patron_00002:
|
|
29
29
|
address_1:
|
30
30
|
language_id: 1
|
31
31
|
country_id: 1
|
32
|
-
|
32
|
+
agent_type_id: 1
|
33
33
|
required_role_id: 4
|
34
34
|
created_at: 2007-11-19 17:06:07.724517 +09:00
|
35
35
|
user_id: 2
|
36
|
-
|
36
|
+
agent_00003:
|
37
37
|
place:
|
38
38
|
last_name: Kosuke
|
39
39
|
first_name: Tanabe
|
@@ -46,11 +46,11 @@ patron_00003:
|
|
46
46
|
address_1:
|
47
47
|
language_id: 1
|
48
48
|
country_id: 1
|
49
|
-
|
49
|
+
agent_type_id: 1
|
50
50
|
required_role_id: 3
|
51
51
|
created_at: 2007-12-04 16:25:01.523618 +09:00
|
52
52
|
user_id: 3
|
53
|
-
|
53
|
+
agent_00004:
|
54
54
|
place:
|
55
55
|
last_name: Librarian2
|
56
56
|
first_name:
|
@@ -63,11 +63,11 @@ patron_00004:
|
|
63
63
|
address_1:
|
64
64
|
language_id: 1
|
65
65
|
country_id: 1
|
66
|
-
|
66
|
+
agent_type_id: 1
|
67
67
|
required_role_id: 1
|
68
68
|
created_at: 2007-12-04 16:25:01.785027 +09:00
|
69
69
|
user_id: 4
|
70
|
-
|
70
|
+
agent_00005:
|
71
71
|
place: ""
|
72
72
|
last_name: User2
|
73
73
|
first_name:
|
@@ -80,15 +80,15 @@ patron_00005:
|
|
80
80
|
address_1:
|
81
81
|
language_id: 1
|
82
82
|
country_id: 1
|
83
|
-
|
83
|
+
agent_type_id: 1
|
84
84
|
required_role_id: 2
|
85
85
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
86
86
|
user_id: 5
|
87
|
-
|
87
|
+
agent_00006:
|
88
88
|
place: ""
|
89
|
-
last_name: New
|
89
|
+
last_name: New agent 1
|
90
90
|
first_name:
|
91
|
-
full_name: New
|
91
|
+
full_name: New agent 1
|
92
92
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
93
93
|
other_designation: ""
|
94
94
|
id: 6
|
@@ -97,14 +97,14 @@ patron_00006:
|
|
97
97
|
address_1:
|
98
98
|
language_id: 1
|
99
99
|
country_id: 1
|
100
|
-
|
100
|
+
agent_type_id: 1
|
101
101
|
required_role_id: 1
|
102
102
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
103
|
-
|
103
|
+
agent_00007:
|
104
104
|
place: ""
|
105
|
-
last_name: New
|
105
|
+
last_name: New agent 2
|
106
106
|
first_name:
|
107
|
-
full_name: New
|
107
|
+
full_name: New agent 2
|
108
108
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
109
109
|
other_designation: ""
|
110
110
|
id: 7
|
@@ -113,14 +113,14 @@ patron_00007:
|
|
113
113
|
address_1:
|
114
114
|
language_id: 1
|
115
115
|
country_id: 1
|
116
|
-
|
116
|
+
agent_type_id: 1
|
117
117
|
required_role_id: 1
|
118
118
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
119
|
-
|
119
|
+
agent_00008:
|
120
120
|
place: ""
|
121
|
-
last_name: New
|
121
|
+
last_name: New agent 3
|
122
122
|
first_name:
|
123
|
-
full_name: New
|
123
|
+
full_name: New agent 3
|
124
124
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
125
125
|
other_designation: ""
|
126
126
|
id: 8
|
@@ -129,14 +129,14 @@ patron_00008:
|
|
129
129
|
address_1:
|
130
130
|
language_id: 1
|
131
131
|
country_id: 1
|
132
|
-
|
132
|
+
agent_type_id: 1
|
133
133
|
required_role_id: 1
|
134
134
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
135
|
-
|
135
|
+
agent_00009:
|
136
136
|
place: ""
|
137
|
-
last_name: New
|
137
|
+
last_name: New agent 4
|
138
138
|
first_name:
|
139
|
-
full_name: New
|
139
|
+
full_name: New agent 4
|
140
140
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
141
141
|
other_designation: ""
|
142
142
|
id: 9
|
@@ -145,14 +145,14 @@ patron_00009:
|
|
145
145
|
address_1:
|
146
146
|
language_id: 1
|
147
147
|
country_id: 1
|
148
|
-
|
148
|
+
agent_type_id: 1
|
149
149
|
required_role_id: 1
|
150
150
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
151
|
-
|
151
|
+
agent_00010:
|
152
152
|
place: ""
|
153
|
-
last_name: New
|
153
|
+
last_name: New agent 5
|
154
154
|
first_name:
|
155
|
-
full_name: New
|
155
|
+
full_name: New agent 5
|
156
156
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
157
157
|
other_designation: ""
|
158
158
|
id: 10
|
@@ -161,10 +161,10 @@ patron_00010:
|
|
161
161
|
address_1:
|
162
162
|
language_id: 1
|
163
163
|
country_id: 1
|
164
|
-
|
164
|
+
agent_type_id: 1
|
165
165
|
required_role_id: 1
|
166
166
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
167
|
-
|
167
|
+
agent_00011:
|
168
168
|
place: ""
|
169
169
|
last_name: User3
|
170
170
|
first_name:
|
@@ -177,11 +177,11 @@ patron_00011:
|
|
177
177
|
address_1:
|
178
178
|
language_id: 1
|
179
179
|
country_id: 1
|
180
|
-
|
180
|
+
agent_type_id: 1
|
181
181
|
required_role_id: 1
|
182
182
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
183
183
|
user_id: 6
|
184
|
-
|
184
|
+
agent_00101:
|
185
185
|
place: ""
|
186
186
|
last_name: テスト名字
|
187
187
|
first_name: テスト名前
|
@@ -194,10 +194,10 @@ patron_00101:
|
|
194
194
|
address_1:
|
195
195
|
language_id: 1
|
196
196
|
country_id: 1
|
197
|
-
|
197
|
+
agent_type_id: 1
|
198
198
|
required_role_id: 1
|
199
199
|
created_at: 2010-03-03 17:00:00.579396 +09:00
|
200
|
-
|
200
|
+
agent_00102:
|
201
201
|
place: ""
|
202
202
|
last_name:
|
203
203
|
first_name:
|
@@ -210,10 +210,10 @@ patron_00102:
|
|
210
210
|
address_1:
|
211
211
|
language_id: 1
|
212
212
|
country_id: 1
|
213
|
-
|
213
|
+
agent_type_id: 1
|
214
214
|
required_role_id: 1
|
215
215
|
created_at: 2010-03-03 17:00:00.579396 +09:00
|
216
|
-
|
216
|
+
agent_00103:
|
217
217
|
place: ""
|
218
218
|
last_name:
|
219
219
|
first_name:
|
@@ -226,10 +226,10 @@ patron_00103:
|
|
226
226
|
address_1:
|
227
227
|
language_id: 1
|
228
228
|
country_id: 1
|
229
|
-
|
229
|
+
agent_type_id: 1
|
230
230
|
required_role_id: 1
|
231
231
|
created_at: 2010-03-16 19:00:00.579396 +09:00
|
232
|
-
|
232
|
+
agent_00104:
|
233
233
|
place: ""
|
234
234
|
last_name:
|
235
235
|
first_name:
|
@@ -242,10 +242,10 @@ patron_00104:
|
|
242
242
|
address_1:
|
243
243
|
language_id: 1
|
244
244
|
country_id: 1
|
245
|
-
|
245
|
+
agent_type_id: 1
|
246
246
|
required_role_id: 1
|
247
247
|
created_at: 2010-03-16 19:00:00.579396 +09:00
|
248
|
-
|
248
|
+
agent_00201:
|
249
249
|
place: ""
|
250
250
|
last_name:
|
251
251
|
first_name:
|
@@ -258,10 +258,10 @@ patron_00201:
|
|
258
258
|
address_1:
|
259
259
|
language_id: 1
|
260
260
|
country_id: 1
|
261
|
-
|
261
|
+
agent_type_id: 1
|
262
262
|
required_role_id: 1
|
263
263
|
created_at: 2010-03-15 17:00:00.579396 +09:00
|
264
|
-
|
264
|
+
agent_00202:
|
265
265
|
place: ""
|
266
266
|
last_name:
|
267
267
|
first_name:
|
@@ -274,7 +274,7 @@ patron_00202:
|
|
274
274
|
address_1:
|
275
275
|
language_id: 1
|
276
276
|
country_id: 1
|
277
|
-
|
277
|
+
agent_type_id: 1
|
278
278
|
required_role_id: 1
|
279
279
|
created_at: 2010-03-15 17:00:00.579396 +09:00
|
280
280
|
|
@@ -285,7 +285,7 @@ patron_00202:
|
|
285
285
|
|
286
286
|
# == Schema Information
|
287
287
|
#
|
288
|
-
# Table name:
|
288
|
+
# Table name: agents
|
289
289
|
#
|
290
290
|
# id :integer not null, primary key
|
291
291
|
# user_id :integer
|
@@ -322,7 +322,7 @@ patron_00202:
|
|
322
322
|
# date_of_death :datetime
|
323
323
|
# language_id :integer default(1), not null
|
324
324
|
# country_id :integer default(1), not null
|
325
|
-
#
|
325
|
+
# agent_type_id :integer default(1), not null
|
326
326
|
# lock_version :integer default(0), not null
|
327
327
|
# note :text
|
328
328
|
# required_role_id :integer default(1), not null
|
@@ -82,3 +82,18 @@ message_template_00012:
|
|
82
82
|
body: Reservation postponed
|
83
83
|
position: 12
|
84
84
|
locale: ja
|
85
|
+
|
86
|
+
# == Schema Information
|
87
|
+
#
|
88
|
+
# Table name: message_templates
|
89
|
+
#
|
90
|
+
# id :integer not null, primary key
|
91
|
+
# status :string(255) not null
|
92
|
+
# title :text not null
|
93
|
+
# body :text not null
|
94
|
+
# position :integer
|
95
|
+
# locale :string(255) default("en")
|
96
|
+
# created_at :datetime not null
|
97
|
+
# updated_at :datetime not null
|
98
|
+
#
|
99
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_message
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.14.
|
4
|
+
version: 0.1.14.pre11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_core
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.1.0.
|
131
|
+
version: 1.1.0.rc4
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ~>
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.1.0.
|
138
|
+
version: 1.1.0.rc4
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec-rails
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,7 +283,8 @@ files:
|
|
283
283
|
- spec/dummy/config/locales/en.yml
|
284
284
|
- spec/dummy/config/routes.rb
|
285
285
|
- spec/dummy/config.ru
|
286
|
-
- spec/dummy/db/
|
286
|
+
- spec/dummy/db/development.sqlite3
|
287
|
+
- spec/dummy/db/migrate/001_create_agents.rb
|
287
288
|
- spec/dummy/db/migrate/059_create_libraries.rb
|
288
289
|
- spec/dummy/db/migrate/069_create_shelves.rb
|
289
290
|
- spec/dummy/db/migrate/077_create_user_groups.rb
|
@@ -292,7 +293,7 @@ files:
|
|
292
293
|
- spec/dummy/db/migrate/124_create_bookstores.rb
|
293
294
|
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
294
295
|
- spec/dummy/db/migrate/131_create_request_types.rb
|
295
|
-
- spec/dummy/db/migrate/
|
296
|
+
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
296
297
|
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
297
298
|
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
298
299
|
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
@@ -303,7 +304,7 @@ files:
|
|
303
304
|
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
304
305
|
- spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
|
305
306
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
306
|
-
- spec/dummy/db/migrate/
|
307
|
+
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
307
308
|
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
308
309
|
- spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
|
309
310
|
- spec/dummy/db/migrate/20111201121636_create_languages.rb
|
@@ -335,16 +336,16 @@ files:
|
|
335
336
|
- spec/dummy/solr/conf/spellings.txt
|
336
337
|
- spec/dummy/solr/conf/stopwords.txt
|
337
338
|
- spec/dummy/solr/conf/synonyms.txt
|
338
|
-
- spec/dummy/solr/data/test/index/
|
339
|
-
- spec/dummy/solr/data/test/index/
|
340
|
-
- spec/dummy/solr/data/test/index/
|
341
|
-
- spec/dummy/solr/data/test/index/
|
342
|
-
- spec/dummy/solr/data/test/index/
|
343
|
-
- spec/dummy/solr/data/test/index/
|
344
|
-
- spec/dummy/solr/data/test/index/
|
345
|
-
- spec/dummy/solr/data/test/index/
|
339
|
+
- spec/dummy/solr/data/test/index/_a3.fdt
|
340
|
+
- spec/dummy/solr/data/test/index/_a3.fdx
|
341
|
+
- spec/dummy/solr/data/test/index/_a3.fnm
|
342
|
+
- spec/dummy/solr/data/test/index/_a3.frq
|
343
|
+
- spec/dummy/solr/data/test/index/_a3.nrm
|
344
|
+
- spec/dummy/solr/data/test/index/_a3.prx
|
345
|
+
- spec/dummy/solr/data/test/index/_a3.tii
|
346
|
+
- spec/dummy/solr/data/test/index/_a3.tis
|
346
347
|
- spec/dummy/solr/data/test/index/segments.gen
|
347
|
-
- spec/dummy/solr/data/test/index/
|
348
|
+
- spec/dummy/solr/data/test/index/segments_jp
|
348
349
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
349
350
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
350
351
|
- spec/factories/library.rb
|
@@ -352,12 +353,12 @@ files:
|
|
352
353
|
- spec/factories/message_request.rb
|
353
354
|
- spec/factories/message_template.rb
|
354
355
|
- spec/factories/user.rb
|
356
|
+
- spec/fixtures/agents.yml
|
355
357
|
- spec/fixtures/libraries.yml
|
356
358
|
- spec/fixtures/library_groups.yml
|
357
359
|
- spec/fixtures/message_requests.yml
|
358
360
|
- spec/fixtures/message_templates.yml
|
359
361
|
- spec/fixtures/messages.yml
|
360
|
-
- spec/fixtures/patrons.yml
|
361
362
|
- spec/fixtures/roles.yml
|
362
363
|
- spec/fixtures/user_groups.yml
|
363
364
|
- spec/fixtures/user_has_roles.yml
|
@@ -429,7 +430,8 @@ test_files:
|
|
429
430
|
- spec/dummy/config/locales/en.yml
|
430
431
|
- spec/dummy/config/routes.rb
|
431
432
|
- spec/dummy/config.ru
|
432
|
-
- spec/dummy/db/
|
433
|
+
- spec/dummy/db/development.sqlite3
|
434
|
+
- spec/dummy/db/migrate/001_create_agents.rb
|
433
435
|
- spec/dummy/db/migrate/059_create_libraries.rb
|
434
436
|
- spec/dummy/db/migrate/069_create_shelves.rb
|
435
437
|
- spec/dummy/db/migrate/077_create_user_groups.rb
|
@@ -438,7 +440,7 @@ test_files:
|
|
438
440
|
- spec/dummy/db/migrate/124_create_bookstores.rb
|
439
441
|
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
440
442
|
- spec/dummy/db/migrate/131_create_request_types.rb
|
441
|
-
- spec/dummy/db/migrate/
|
443
|
+
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
442
444
|
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
443
445
|
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
444
446
|
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
@@ -449,7 +451,7 @@ test_files:
|
|
449
451
|
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
450
452
|
- spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
|
451
453
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
452
|
-
- spec/dummy/db/migrate/
|
454
|
+
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
453
455
|
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
454
456
|
- spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
|
455
457
|
- spec/dummy/db/migrate/20111201121636_create_languages.rb
|
@@ -481,16 +483,16 @@ test_files:
|
|
481
483
|
- spec/dummy/solr/conf/spellings.txt
|
482
484
|
- spec/dummy/solr/conf/stopwords.txt
|
483
485
|
- spec/dummy/solr/conf/synonyms.txt
|
484
|
-
- spec/dummy/solr/data/test/index/
|
485
|
-
- spec/dummy/solr/data/test/index/
|
486
|
-
- spec/dummy/solr/data/test/index/
|
487
|
-
- spec/dummy/solr/data/test/index/
|
488
|
-
- spec/dummy/solr/data/test/index/
|
489
|
-
- spec/dummy/solr/data/test/index/
|
490
|
-
- spec/dummy/solr/data/test/index/
|
491
|
-
- spec/dummy/solr/data/test/index/
|
486
|
+
- spec/dummy/solr/data/test/index/_a3.fdt
|
487
|
+
- spec/dummy/solr/data/test/index/_a3.fdx
|
488
|
+
- spec/dummy/solr/data/test/index/_a3.fnm
|
489
|
+
- spec/dummy/solr/data/test/index/_a3.frq
|
490
|
+
- spec/dummy/solr/data/test/index/_a3.nrm
|
491
|
+
- spec/dummy/solr/data/test/index/_a3.prx
|
492
|
+
- spec/dummy/solr/data/test/index/_a3.tii
|
493
|
+
- spec/dummy/solr/data/test/index/_a3.tis
|
492
494
|
- spec/dummy/solr/data/test/index/segments.gen
|
493
|
-
- spec/dummy/solr/data/test/index/
|
495
|
+
- spec/dummy/solr/data/test/index/segments_jp
|
494
496
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
495
497
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
496
498
|
- spec/factories/library.rb
|
@@ -498,12 +500,12 @@ test_files:
|
|
498
500
|
- spec/factories/message_request.rb
|
499
501
|
- spec/factories/message_template.rb
|
500
502
|
- spec/factories/user.rb
|
503
|
+
- spec/fixtures/agents.yml
|
501
504
|
- spec/fixtures/libraries.yml
|
502
505
|
- spec/fixtures/library_groups.yml
|
503
506
|
- spec/fixtures/message_requests.yml
|
504
507
|
- spec/fixtures/message_templates.yml
|
505
508
|
- spec/fixtures/messages.yml
|
506
|
-
- spec/fixtures/patrons.yml
|
507
509
|
- spec/fixtures/roles.yml
|
508
510
|
- spec/fixtures/user_groups.yml
|
509
511
|
- spec/fixtures/user_has_roles.yml
|
@@ -1,11 +0,0 @@
|
|
1
|
-
class AddBirthDateAndDeathDateToPatron < ActiveRecord::Migration
|
2
|
-
def self.up
|
3
|
-
add_column :patrons, :birth_date, :string
|
4
|
-
add_column :patrons, :death_date, :string
|
5
|
-
end
|
6
|
-
|
7
|
-
def self.down
|
8
|
-
remove_column :patrons, :death_date
|
9
|
-
remove_column :patrons, :birth_date
|
10
|
-
end
|
11
|
-
end
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|