enju_resource_merge 0.1.0.pre6 → 0.1.0.pre7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 917ad779ccddfd28acadf5d20a6187d029f468b3
|
4
|
+
data.tar.gz: accf23369f6f4fffc85b1071b7d4199abf27f673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707d7a2dd6c2eeea4a37550e22b4a2c81f0b2d6a047a8f74f249f42141bda7faff0b78ce2668f1c326e8cfae124b3fdf65943e6f7e2d530116ba7bffafddd1d1
|
7
|
+
data.tar.gz: 214b01685119c62cd6b6a0cb13e7cd068c83573c7f0480d4b862c50c423bf80d938c3f9d3701ba4f20f1baec972b05f4cfee8df755eb8d3f7b4d8f2e80cf5b0a
|
@@ -4,8 +4,6 @@ class CreateItems < ActiveRecord::Migration
|
|
4
4
|
#t.integer :manifestation_id
|
5
5
|
t.string :call_number
|
6
6
|
t.string :item_identifier
|
7
|
-
t.integer :circulation_status_id, :default => 5, :null => false
|
8
|
-
t.integer :checkout_type_id, :default => 1, :null => false
|
9
7
|
t.timestamps
|
10
8
|
t.datetime :deleted_at
|
11
9
|
t.integer :shelf_id, :default => 1, :null => false
|
@@ -19,8 +17,6 @@ class CreateItems < ActiveRecord::Migration
|
|
19
17
|
t.integer :required_score, :default => 0, :null => false
|
20
18
|
end
|
21
19
|
#add_index :items, :manifestation_id
|
22
|
-
add_index :items, :circulation_status_id
|
23
|
-
add_index :items, :checkout_type_id
|
24
20
|
add_index :items, :shelf_id
|
25
21
|
add_index :items, :item_identifier
|
26
22
|
add_index :items, :required_role_id
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -131,28 +131,24 @@ ActiveRecord::Schema.define(:version => 20120728204337) do
|
|
131
131
|
create_table "items", :force => true do |t|
|
132
132
|
t.string "call_number"
|
133
133
|
t.string "item_identifier"
|
134
|
-
t.
|
135
|
-
t.
|
136
|
-
t.datetime "created_at", :null => false
|
137
|
-
t.datetime "updated_at", :null => false
|
134
|
+
t.datetime "created_at", :null => false
|
135
|
+
t.datetime "updated_at", :null => false
|
138
136
|
t.datetime "deleted_at"
|
139
|
-
t.integer "shelf_id",
|
140
|
-
t.boolean "include_supplements",
|
137
|
+
t.integer "shelf_id", :default => 1, :null => false
|
138
|
+
t.boolean "include_supplements", :default => false, :null => false
|
141
139
|
t.text "note"
|
142
140
|
t.string "url"
|
143
141
|
t.integer "price"
|
144
|
-
t.integer "lock_version",
|
145
|
-
t.integer "required_role_id",
|
142
|
+
t.integer "lock_version", :default => 0, :null => false
|
143
|
+
t.integer "required_role_id", :default => 1, :null => false
|
146
144
|
t.string "state"
|
147
|
-
t.integer "required_score",
|
145
|
+
t.integer "required_score", :default => 0, :null => false
|
148
146
|
t.datetime "acquired_at"
|
149
147
|
t.integer "bookstore_id"
|
150
148
|
t.integer "budget_type_id"
|
151
149
|
end
|
152
150
|
|
153
151
|
add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
|
154
|
-
add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
|
155
|
-
add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
|
156
152
|
add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
|
157
153
|
add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
|
158
154
|
add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,71 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_resource_merge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre7
|
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-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.2'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '3.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: inherited_resources
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: dynamic_form
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
13
|
- !ruby/object:Gem::Dependency
|
56
14
|
name: enju_biblio
|
57
15
|
requirement: !ruby/object:Gem::Requirement
|
58
16
|
requirements:
|
59
17
|
- - ~>
|
60
18
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.0.
|
19
|
+
version: 0.1.0.pre31
|
62
20
|
type: :runtime
|
63
21
|
prerelease: false
|
64
22
|
version_requirements: !ruby/object:Gem::Requirement
|
65
23
|
requirements:
|
66
24
|
- - ~>
|
67
25
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1.0.
|
26
|
+
version: 0.1.0.pre31
|
69
27
|
- !ruby/object:Gem::Dependency
|
70
28
|
name: sqlite3
|
71
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,7 +125,6 @@ files:
|
|
167
125
|
- lib/enju_resource_merge/engine.rb
|
168
126
|
- lib/enju_resource_merge/version.rb
|
169
127
|
- lib/enju_resource_merge.rb
|
170
|
-
- lib/generators/enju_resource_merge/views_generator.rb
|
171
128
|
- lib/tasks/enju_resource_merge_tasks.rake
|
172
129
|
- MIT-LICENSE
|
173
130
|
- Rakefile
|
@@ -1,20 +0,0 @@
|
|
1
|
-
module EnjuResourceMerge
|
2
|
-
module Generators
|
3
|
-
class ViewsGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path('../../../../app/views', __FILE__)
|
5
|
-
|
6
|
-
def copy_files
|
7
|
-
directories = %w(
|
8
|
-
patron_merge_lists
|
9
|
-
patron_merges
|
10
|
-
series_statement_merge_lists
|
11
|
-
series_statement_merges
|
12
|
-
)
|
13
|
-
|
14
|
-
directories.each do |dir|
|
15
|
-
directory dir, "app/views/#{dir}"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|