enju_circulation 0.1.0.pre17 → 0.1.0.pre18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enju_circulation/version.rb +1 -1
- data/lib/generators/enju_circulation/setup/setup_generator.rb +2 -0
- data/lib/tasks/enju_circulation_tasks.rake +5 -0
- data/{db → spec/dummy/db}/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -2
- data/spec/dummy/db/schema.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- metadata +9 -7
- /data/{db → spec/dummy/db}/migrate/120_create_baskets.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d94a5a9b64b781c0f7f5952508c8568a1a8450f
|
4
|
+
data.tar.gz: 133938e0b9253a1f0cb0dd6bbd9d44fd458d2d69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b86219aed4e4aec5f476124cc92fbca0033b7fe93dc4a7c6bc53ad950f5adaa945c28612cf89fd5ffd30c4fd3be5a298eda91bd11803dbfc1c0edf7007c774
|
7
|
+
data.tar.gz: e79c63c6866a98e8048943452785f578558fd61c71ba25d86c73f893e4fcaa96c6a8083d791202a22162f889114608f8ffa6c855e9341b47029dfb45ed4bf267
|
@@ -4,5 +4,7 @@ class EnjuCirculation::SetupGenerator < Rails::Generators::Base
|
|
4
4
|
def copy_setup_files
|
5
5
|
directory("db/fixtures", "db/fixtures/enju_circulation")
|
6
6
|
rake("enju_circulation_engine:install:migrations")
|
7
|
+
generate("enju_event:setup")
|
8
|
+
generate("enju_message:setup")
|
7
9
|
end
|
8
10
|
end
|
@@ -5,5 +5,10 @@ namespace :enju_circulation do
|
|
5
5
|
Dir.glob(Rails.root.to_s + '/db/fixtures/enju_circulation/*.yml').each do |file|
|
6
6
|
ActiveRecord::Fixtures.create_fixtures('db/fixtures/enju_circulation', File.basename(file, '.*'))
|
7
7
|
end
|
8
|
+
|
9
|
+
Rake::Task['enju_event:setup'].invoke
|
10
|
+
Rake::Task['enju_message:setup'].invoke
|
11
|
+
|
12
|
+
puts 'initial fixture files loaded.'
|
8
13
|
end
|
9
14
|
end
|
data/{db → spec/dummy/db}/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
RENAMED
@@ -2,12 +2,10 @@ class AddValidPeriodForNewUserToUserGroup < ActiveRecord::Migration
|
|
2
2
|
def self.up
|
3
3
|
add_column :user_groups, :valid_period_for_new_user, :integer, :default => 0, :null => false
|
4
4
|
add_column :user_groups, :expired_at, :timestamp
|
5
|
-
remove_column :library_groups, :valid_period_for_new_user
|
6
5
|
end
|
7
6
|
|
8
7
|
def self.down
|
9
8
|
remove_column :user_groups, :valid_period_for_new_user
|
10
9
|
remove_column :user_groups, :expired_at
|
11
|
-
add_column :library_groups, :valid_period_for_new_user, :integer, :default => 0, :null => false
|
12
10
|
end
|
13
11
|
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -337,6 +337,7 @@ ActiveRecord::Schema.define(:version => 20130304015019) do
|
|
337
337
|
t.text "my_networks"
|
338
338
|
t.text "login_banner"
|
339
339
|
t.text "note"
|
340
|
+
t.integer "valid_period_for_new_user", :default => 365, :null => false
|
340
341
|
t.boolean "post_to_union_catalog", :default => false, :null => false
|
341
342
|
t.integer "country_id"
|
342
343
|
t.datetime "created_at", :null => false
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_circulation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ~>
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.1.17.
|
103
|
+
version: 0.1.17.pre9
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.1.17.
|
110
|
+
version: 0.1.17.pre9
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sqlite3
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - ~>
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.1.0.
|
187
|
+
version: 0.1.0.pre17
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - ~>
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.1.0.
|
194
|
+
version: 0.1.0.pre17
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: enju_export
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -421,7 +421,6 @@ files:
|
|
421
421
|
- db/migrate/032_create_checkins.rb
|
422
422
|
- db/migrate/033_create_checkouts.rb
|
423
423
|
- db/migrate/035_create_reserves.rb
|
424
|
-
- db/migrate/120_create_baskets.rb
|
425
424
|
- db/migrate/121_create_checked_items.rb
|
426
425
|
- db/migrate/127_create_use_restrictions.rb
|
427
426
|
- db/migrate/129_create_item_has_use_restrictions.rb
|
@@ -440,7 +439,6 @@ files:
|
|
440
439
|
- db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
|
441
440
|
- db/migrate/20090831220301_create_lending_policies.rb
|
442
441
|
- db/migrate/20110301134521_add_expire_date_to_reserve.rb
|
443
|
-
- db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
444
442
|
- db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
|
445
443
|
- db/migrate/20110621093332_remove_expire_date_from_reserve.rb
|
446
444
|
- db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
|
@@ -546,6 +544,7 @@ files:
|
|
546
544
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
547
545
|
- spec/dummy/db/migrate/113_create_events.rb
|
548
546
|
- spec/dummy/db/migrate/114_create_event_categories.rb
|
547
|
+
- spec/dummy/db/migrate/120_create_baskets.rb
|
549
548
|
- spec/dummy/db/migrate/125_create_donates.rb
|
550
549
|
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
551
550
|
- spec/dummy/db/migrate/131_create_request_types.rb
|
@@ -575,6 +574,7 @@ files:
|
|
575
574
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
576
575
|
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
577
576
|
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
|
577
|
+
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
578
578
|
- spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
|
579
579
|
- spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
|
580
580
|
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
@@ -819,6 +819,7 @@ test_files:
|
|
819
819
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
820
820
|
- spec/dummy/db/migrate/113_create_events.rb
|
821
821
|
- spec/dummy/db/migrate/114_create_event_categories.rb
|
822
|
+
- spec/dummy/db/migrate/120_create_baskets.rb
|
822
823
|
- spec/dummy/db/migrate/125_create_donates.rb
|
823
824
|
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
824
825
|
- spec/dummy/db/migrate/131_create_request_types.rb
|
@@ -848,6 +849,7 @@ test_files:
|
|
848
849
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
849
850
|
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
850
851
|
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
|
852
|
+
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
851
853
|
- spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
|
852
854
|
- spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
|
853
855
|
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
File without changes
|