enju_nii 0.1.0.pre7 → 0.1.0.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: 2595338c2d85744834846125c1d9682d2add81b0
4
- data.tar.gz: b502440decc747e3bf78c1563e5fcc8f96f0eae4
3
+ metadata.gz: 37497caead451ebf73b150d1bd4187e7719f1254
4
+ data.tar.gz: a4161c15e20e1e98ac437833b7abd27d9f0be772
5
5
  SHA512:
6
- metadata.gz: a897d1af269e944b2410b0f746c2b776d6439483ee30912ffda8b924ab1b17d0daba7085a46092e17789970589d63494a8e5abbf38db1b77e3713aa896f474d9
7
- data.tar.gz: fe9f185aaf1f976fa8b24b4c23d7d47a3cad15111ac2eeb1965f2b632ed6791722b74cc113e226a07693303c3e096ec73f55c822607078bedc95cfa38d6ef879
6
+ metadata.gz: c8398008cae23b6b889df63d3841cdb2ff4d33dfd7a3da9a8c21f8f9f748986d12717f959653df7f4ee3a4365617f667bd726d0430cc04a012f6aa8783b3abd3
7
+ data.tar.gz: 3321518a786224248040821cc0919ec00a834219bd933a0bc53b3cf515b8c241eab919c0bf9356564eb0db60903fca66c6b055d77e644d2d82c9a7b623997921
@@ -1,3 +1,3 @@
1
1
  module EnjuNii
2
- VERSION = "0.1.0.pre7"
2
+ VERSION = "0.1.0.pre8"
3
3
  end
@@ -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
@@ -155,28 +155,24 @@ ActiveRecord::Schema.define(:version => 20121113163717) do
155
155
  create_table "items", :force => true do |t|
156
156
  t.string "call_number"
157
157
  t.string "item_identifier"
158
- t.integer "circulation_status_id", :default => 5, :null => false
159
- t.integer "checkout_type_id", :default => 1, :null => false
160
- t.datetime "created_at", :null => false
161
- t.datetime "updated_at", :null => false
158
+ t.datetime "created_at", :null => false
159
+ t.datetime "updated_at", :null => false
162
160
  t.datetime "deleted_at"
163
- t.integer "shelf_id", :default => 1, :null => false
164
- t.boolean "include_supplements", :default => false, :null => false
161
+ t.integer "shelf_id", :default => 1, :null => false
162
+ t.boolean "include_supplements", :default => false, :null => false
165
163
  t.text "note"
166
164
  t.string "url"
167
165
  t.integer "price"
168
- t.integer "lock_version", :default => 0, :null => false
169
- t.integer "required_role_id", :default => 1, :null => false
166
+ t.integer "lock_version", :default => 0, :null => false
167
+ t.integer "required_role_id", :default => 1, :null => false
170
168
  t.string "state"
171
- t.integer "required_score", :default => 0, :null => false
169
+ t.integer "required_score", :default => 0, :null => false
172
170
  t.datetime "acquired_at"
173
171
  t.integer "bookstore_id"
174
172
  t.integer "budget_type_id"
175
173
  end
176
174
 
177
175
  add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
178
- add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
179
- add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
180
176
  add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
181
177
  add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
182
178
  add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_nii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre7
4
+ version: 0.1.0.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-10 00:00:00.000000000 Z
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,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.0.pre28
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.pre28
26
+ version: 0.1.0.pre31
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 0.1.0.pre9
89
+ version: 0.1.0.pre12
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 0.1.0.pre9
96
+ version: 0.1.0.pre12
97
97
  description: add nii_type attribute to Next-L Enju
98
98
  email:
99
99
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -101,9 +101,6 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - app/assets/javascripts/nii_types.js
105
- - app/assets/stylesheets/nii_types.css
106
- - app/assets/stylesheets/scaffold.css
107
104
  - app/controllers/cinii_books_controller.rb
108
105
  - app/controllers/nii_types_controller.rb
109
106
  - app/helpers/cinii_books_helper.rb
@@ -134,7 +131,6 @@ files:
134
131
  - lib/generators/enju_nii/setup/setup_generator.rb
135
132
  - lib/generators/enju_nii/setup/templates/db/fixtures/nii_types.yml
136
133
  - lib/generators/enju_nii/setup/USAGE
137
- - lib/generators/enju_nii/views_generator.rb
138
134
  - lib/tasks/enju_nii_tasks.rake
139
135
  - MIT-LICENSE
140
136
  - Rakefile
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
@@ -1,56 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- div.field, div.actions {
20
- margin-bottom: 10px;
21
- }
22
-
23
- #notice {
24
- color: green;
25
- }
26
-
27
- .field_with_errors {
28
- padding: 2px;
29
- background-color: red;
30
- display: table;
31
- }
32
-
33
- #error_explanation {
34
- width: 450px;
35
- border: 2px solid red;
36
- padding: 7px;
37
- padding-bottom: 0;
38
- margin-bottom: 20px;
39
- background-color: #f0f0f0;
40
- }
41
-
42
- #error_explanation h2 {
43
- text-align: left;
44
- font-weight: bold;
45
- padding: 5px 5px 5px 15px;
46
- font-size: 12px;
47
- margin: -7px;
48
- margin-bottom: 0px;
49
- background-color: #c00;
50
- color: #fff;
51
- }
52
-
53
- #error_explanation ul li {
54
- font-size: 12px;
55
- list-style: square;
56
- }
@@ -1,17 +0,0 @@
1
- module EnjuNii
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
- nii_types
9
- )
10
-
11
- directories.each do |dir|
12
- directory dir, "app/views/#{dir}"
13
- end
14
- end
15
- end
16
- end
17
- end