enju_inventory 0.1.11.pre7 → 0.1.11.pre8
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: 1c2f661e4ebae1a07697dcb7231bd6c45cc9ead1
|
4
|
+
data.tar.gz: e64b53febf680a65b89a9b341225e3e1e4f57453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7232dbaab189b3f1079fe03f985fbc1ef0c145ede3d7ed73b9ea599428c080edfb922b960c212d4d4556e671f6a0cfe33265109e05175c33db85ca667a6e1474
|
7
|
+
data.tar.gz: 96fd2a2d5c7c2617ff33ca900abaff9d40c64f94d0c58d2080192f34beea01c86ae5c35a2f4b7235fb63a6976bc2bce7cbf458cd6ecdf6a019b7ee61acda79fe
|
@@ -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
|
@@ -23,8 +21,6 @@ class CreateItems < ActiveRecord::Migration
|
|
23
21
|
t.integer :required_score, :default => 0, :null => false
|
24
22
|
end
|
25
23
|
#add_index :items, :manifestation_id
|
26
|
-
add_index :items, :circulation_status_id
|
27
|
-
add_index :items, :checkout_type_id
|
28
24
|
add_index :items, :shelf_id
|
29
25
|
add_index :items, :item_identifier
|
30
26
|
add_index :items, :required_role_id
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -44,8 +44,6 @@ ActiveRecord::Schema.define(:version => 20120413100431) do
|
|
44
44
|
create_table "items", :force => true do |t|
|
45
45
|
t.string "call_number"
|
46
46
|
t.string "item_identifier"
|
47
|
-
t.integer "circulation_status_id", :default => 5, :null => false
|
48
|
-
t.integer "checkout_type_id", :default => 1, :null => false
|
49
47
|
t.datetime "created_at", :null => false
|
50
48
|
t.datetime "updated_at", :null => false
|
51
49
|
t.datetime "deleted_at"
|
@@ -64,8 +62,6 @@ ActiveRecord::Schema.define(:version => 20120413100431) do
|
|
64
62
|
t.integer "required_score", :default => 0, :null => false
|
65
63
|
end
|
66
64
|
|
67
|
-
add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
|
68
|
-
add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
|
69
65
|
add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
|
70
66
|
add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
|
71
67
|
add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.11.
|
4
|
+
version: 0.1.11.pre8
|
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-04-
|
11
|
+
date: 2013-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_biblio
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.0.
|
19
|
+
version: 0.1.0.pre31
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.0.
|
26
|
+
version: 0.1.0.pre31
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: enju_library
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.0.
|
33
|
+
version: 0.1.0.pre21
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.0.
|
40
|
+
version: 0.1.0.pre21
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,6 @@ files:
|
|
130
130
|
- lib/enju_inventory/item.rb
|
131
131
|
- lib/enju_inventory/version.rb
|
132
132
|
- lib/enju_inventory.rb
|
133
|
-
- lib/generators/enju_inventory/views_generator.rb
|
134
133
|
- lib/tasks/enju_inventory_tasks.rake
|
135
134
|
- MIT-LICENSE
|
136
135
|
- Rakefile
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module EnjuInventory
|
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
|
-
inventories
|
9
|
-
inventory_files
|
10
|
-
)
|
11
|
-
|
12
|
-
directories.each do |dir|
|
13
|
-
directory dir, "app/views/#{dir}"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|