enju_bookmark 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module EnjuBookmark
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,21 @@
1
+ module EnjuBookmark
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
+ bookmark_stat_has_manifestations
9
+ bookmark_stats
10
+ bookmarks
11
+ manifestations
12
+ tags
13
+ )
14
+
15
+ directories.each do |dir|
16
+ directory dir, "app/views/#{dir}"
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -45,6 +45,6 @@ end
45
45
 
46
46
  require 'enju_circulation'
47
47
  require 'enju_leaf'
48
- #require 'enju_biblio'
48
+ require 'enju_biblio'
49
49
  require 'enju_library'
50
50
  require 'enju_manifestation_viewer'
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_bookmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-07-23 00:00:00.000000000 Z
12
+ date: 2012-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 0.0.7
117
+ version: 0.1.0.pre
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,39 +122,39 @@ dependencies:
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 0.0.7
125
+ version: 0.1.0.pre
126
126
  - !ruby/object:Gem::Dependency
127
- name: enju_circulation
127
+ name: enju_library
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
- - - ! '>='
131
+ - - ~>
132
132
  - !ruby/object:Gem::Version
133
- version: '0'
133
+ version: 0.1.0.pre
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  none: false
138
138
  requirements:
139
- - - ! '>='
139
+ - - ~>
140
140
  - !ruby/object:Gem::Version
141
- version: '0'
141
+ version: 0.1.0.pre
142
142
  - !ruby/object:Gem::Dependency
143
- name: enju_library
143
+ name: enju_circulation
144
144
  requirement: !ruby/object:Gem::Requirement
145
145
  none: false
146
146
  requirements:
147
- - - ! '>='
147
+ - - ~>
148
148
  - !ruby/object:Gem::Version
149
- version: '0'
149
+ version: 0.1.0.pre
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
155
- - - ! '>='
155
+ - - ~>
156
156
  - !ruby/object:Gem::Version
157
- version: '0'
157
+ version: 0.1.0.pre
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: enju_manifestation_viewer
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -249,6 +249,7 @@ files:
249
249
  - lib/enju_bookmark/user.rb
250
250
  - lib/enju_bookmark/version.rb
251
251
  - lib/enju_bookmark.rb
252
+ - lib/generators/enju_bookmark/views_generator.rb
252
253
  - lib/tasks/enju_bookmark_tasks.rake
253
254
  - MIT-LICENSE
254
255
  - Rakefile