enju_inter_library_loan 0.0.5 → 0.0.6

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.
data/Rakefile CHANGED
@@ -43,14 +43,3 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
43
43
  end
44
44
 
45
45
  task :default => :spec
46
- require 'rake/testtask'
47
-
48
- Rake::TestTask.new(:test) do |t|
49
- t.libs << 'lib'
50
- t.libs << 'test'
51
- t.pattern = 'test/**/*_test.rb'
52
- t.verbose = false
53
- end
54
-
55
-
56
- task :default => :test
@@ -1,7 +1,7 @@
1
1
  <div id="content_detail" class="ui-corner-all">
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.inter_library_loan')) -%></h1>
3
3
  <div id="content_list">
4
- <table class="index">
4
+ <table class="table table-striped index">
5
5
  <tr>
6
6
  <th><%= t('activerecord.models.item') -%></th>
7
7
  <th><%= t('activerecord.models.library') -%></th>
@@ -1,3 +1,3 @@
1
1
  module EnjuInterLibraryLoan
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -19,7 +19,6 @@ class CreateLibraries < ActiveRecord::Migration
19
19
  t.integer :users_count, :default => 0, :null => false
20
20
  t.integer :position
21
21
  t.integer :country_id
22
- t.string :isil
23
22
 
24
23
  t.timestamps
25
24
  t.datetime :deleted_at
@@ -1,19 +1,40 @@
1
1
  class AddDeviseToUsers < ActiveRecord::Migration
2
2
  def self.up
3
3
  change_table(:users) do |t|
4
- t.database_authenticatable :null => false
5
- t.recoverable
6
- t.rememberable
7
- t.trackable
4
+ ## Database authenticatable
5
+ t.string :email, :null => false, :default => ""
6
+ t.string :encrypted_password, :null => false, :default => ""
8
7
 
9
- # t.encryptable
10
- # t.confirmable
11
- # t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
12
- # t.token_authenticatable
8
+ ## Recoverable
9
+ t.string :reset_password_token
10
+ t.datetime :reset_password_sent_at
13
11
 
12
+ ## Rememberable
13
+ t.datetime :remember_created_at
14
14
 
15
- # Uncomment below if timestamps were not included in your original model.
16
- # t.timestamps
15
+ ## Trackable
16
+ t.integer :sign_in_count, :default => 0
17
+ t.datetime :current_sign_in_at
18
+ t.datetime :last_sign_in_at
19
+ t.string :current_sign_in_ip
20
+ t.string :last_sign_in_ip
21
+
22
+ ## Encryptable
23
+ t.string :password_salt
24
+
25
+ ## Confirmable
26
+ t.string :confirmation_token
27
+ t.datetime :confirmed_at
28
+ t.datetime :confirmation_sent_at
29
+ t.string :unconfirmed_email # Only if using reconfirmable
30
+
31
+ ## Lockable
32
+ t.integer :failed_attempts, :default => 0 # Only if lock strategy is :failed_attempts
33
+ t.string :unlock_token # Only if unlock strategy is :email or :both
34
+ t.datetime :locked_at
35
+
36
+ # Token authenticatable
37
+ t.string :authentication_token
17
38
  end
18
39
 
19
40
  add_index :users, :email #, :unique => true
@@ -23,8 +23,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
23
23
  t.datetime "return_received_at"
24
24
  t.datetime "deleted_at"
25
25
  t.string "state"
26
- t.datetime "created_at"
27
- t.datetime "updated_at"
26
+ t.datetime "created_at", :null => false
27
+ t.datetime "updated_at", :null => false
28
28
  end
29
29
 
30
30
  add_index "inter_library_loans", ["borrowing_library_id"], :name => "index_inter_library_loans_on_borrowing_library_id"
@@ -35,8 +35,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
35
35
  t.string "item_identifier"
36
36
  t.integer "circulation_status_id", :default => 5, :null => false
37
37
  t.integer "checkout_type_id", :default => 1, :null => false
38
- t.datetime "created_at"
39
- t.datetime "updated_at"
38
+ t.datetime "created_at", :null => false
39
+ t.datetime "updated_at", :null => false
40
40
  t.datetime "deleted_at"
41
41
  t.integer "shelf_id", :default => 1, :null => false
42
42
  t.integer "basket_id"
@@ -79,8 +79,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
79
79
  t.integer "users_count", :default => 0, :null => false
80
80
  t.integer "position"
81
81
  t.integer "country_id"
82
- t.datetime "created_at"
83
- t.datetime "updated_at"
82
+ t.datetime "created_at", :null => false
83
+ t.datetime "updated_at", :null => false
84
84
  t.datetime "deleted_at"
85
85
  t.string "isil"
86
86
  end
@@ -100,8 +100,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
100
100
  t.integer "valid_period_for_new_user", :default => 365, :null => false
101
101
  t.boolean "post_to_union_catalog", :default => false, :null => false
102
102
  t.integer "country_id"
103
- t.datetime "created_at"
104
- t.datetime "updated_at"
103
+ t.datetime "created_at", :null => false
104
+ t.datetime "updated_at", :null => false
105
105
  t.text "admin_networks"
106
106
  t.boolean "allow_bookmark_external_url", :default => false, :null => false
107
107
  t.integer "position"
@@ -118,8 +118,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
118
118
  t.string "manifestation_identifier"
119
119
  t.datetime "date_of_publication"
120
120
  t.datetime "copyright_date"
121
- t.datetime "created_at"
122
- t.datetime "updated_at"
121
+ t.datetime "created_at", :null => false
122
+ t.datetime "updated_at", :null => false
123
123
  t.datetime "deleted_at"
124
124
  t.string "access_address"
125
125
  t.integer "language_id", :default => 1, :null => false
@@ -174,8 +174,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
174
174
  t.text "display_name"
175
175
  t.text "note"
176
176
  t.integer "position"
177
- t.datetime "created_at"
178
- t.datetime "updated_at"
177
+ t.datetime "created_at", :null => false
178
+ t.datetime "updated_at", :null => false
179
179
  end
180
180
 
181
181
  create_table "patrons", :force => true do |t|
@@ -191,8 +191,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
191
191
  t.string "full_name"
192
192
  t.text "full_name_transcription"
193
193
  t.text "full_name_alternative"
194
- t.datetime "created_at"
195
- t.datetime "updated_at"
194
+ t.datetime "created_at", :null => false
195
+ t.datetime "updated_at", :null => false
196
196
  t.datetime "deleted_at"
197
197
  t.string "zip_code_1"
198
198
  t.string "zip_code_2"
@@ -239,8 +239,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
239
239
  t.text "display_name"
240
240
  t.text "note"
241
241
  t.integer "position"
242
- t.datetime "created_at"
243
- t.datetime "updated_at"
242
+ t.datetime "created_at", :null => false
243
+ t.datetime "updated_at", :null => false
244
244
  end
245
245
 
246
246
  create_table "shelves", :force => true do |t|
@@ -250,8 +250,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
250
250
  t.integer "library_id", :default => 1, :null => false
251
251
  t.integer "items_count", :default => 0, :null => false
252
252
  t.integer "position"
253
- t.datetime "created_at"
254
- t.datetime "updated_at"
253
+ t.datetime "created_at", :null => false
254
+ t.datetime "updated_at", :null => false
255
255
  t.datetime "deleted_at"
256
256
  end
257
257
 
@@ -260,8 +260,8 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
260
260
  create_table "user_has_roles", :force => true do |t|
261
261
  t.integer "user_id"
262
262
  t.integer "role_id"
263
- t.datetime "created_at"
264
- t.datetime "updated_at"
263
+ t.datetime "created_at", :null => false
264
+ t.datetime "updated_at", :null => false
265
265
  end
266
266
 
267
267
  create_table "users", :force => true do |t|
@@ -270,18 +270,27 @@ ActiveRecord::Schema.define(:version => 20120105074911) do
270
270
  t.string "username"
271
271
  t.text "note"
272
272
  t.string "locale"
273
- t.datetime "created_at"
274
- t.datetime "updated_at"
275
- t.string "email", :default => "", :null => false
276
- t.string "encrypted_password", :limit => 128, :default => "", :null => false
273
+ t.datetime "created_at", :null => false
274
+ t.datetime "updated_at", :null => false
275
+ t.string "email", :default => "", :null => false
276
+ t.string "encrypted_password", :default => "", :null => false
277
277
  t.string "reset_password_token"
278
278
  t.datetime "reset_password_sent_at"
279
279
  t.datetime "remember_created_at"
280
- t.integer "sign_in_count", :default => 0
280
+ t.integer "sign_in_count", :default => 0
281
281
  t.datetime "current_sign_in_at"
282
282
  t.datetime "last_sign_in_at"
283
283
  t.string "current_sign_in_ip"
284
284
  t.string "last_sign_in_ip"
285
+ t.string "password_salt"
286
+ t.string "confirmation_token"
287
+ t.datetime "confirmed_at"
288
+ t.datetime "confirmation_sent_at"
289
+ t.string "unconfirmed_email"
290
+ t.integer "failed_attempts", :default => 0
291
+ t.string "unlock_token"
292
+ t.datetime "locked_at"
293
+ t.string "authentication_token"
285
294
  end
286
295
 
287
296
  add_index "users", ["email"], :name => "index_users_on_email"
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_inter_library_loan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-19 00:00:00.000000000 Z
12
+ date: 2012-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -112,17 +112,17 @@ dependencies:
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements:
115
- - - ! '>='
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 2.0.0.pre.120720
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
123
- - - ! '>='
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: '0'
125
+ version: 2.0.0.pre.120720
126
126
  description: Inter library loan management for Next-L Enju
127
127
  email:
128
128
  - tanabe@mwr.mediacom.keio.ac.jp