enju_resource_merge 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,6 @@
1
- require 'devise'
2
- require 'cancan'
1
+ require 'enju_core'
3
2
  require 'inherited_resources'
4
- require 'attribute_normalizer'
5
- require 'will_paginate'
6
- require 'sunspot_rails'
7
3
  require 'dynamic_form'
8
- require 'acts_as_list'
9
4
 
10
5
  module EnjuResourceMerge
11
6
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module EnjuResourceMerge
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -45,4 +45,3 @@ end
45
45
 
46
46
  require 'enju_biblio'
47
47
  require 'enju_manifestation_viewer'
48
- require 'url_validator'
File without changes
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_resource_merge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
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-06-14 00:00:00.000000000 Z
12
+ date: 2012-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -28,55 +28,7 @@ dependencies:
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.2'
30
30
  - !ruby/object:Gem::Dependency
31
- name: will_paginate
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '3.0'
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '3.0'
46
- - !ruby/object:Gem::Dependency
47
- name: acts_as_list
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.1.6
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.1.6
62
- - !ruby/object:Gem::Dependency
63
- name: devise
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: cancan
31
+ name: inherited_resources
80
32
  requirement: !ruby/object:Gem::Requirement
81
33
  none: false
82
34
  requirements:
@@ -92,7 +44,7 @@ dependencies:
92
44
  - !ruby/object:Gem::Version
93
45
  version: '0'
94
46
  - !ruby/object:Gem::Dependency
95
- name: inherited_resources
47
+ name: dynamic_form
96
48
  requirement: !ruby/object:Gem::Requirement
97
49
  none: false
98
50
  requirements:
@@ -108,39 +60,7 @@ dependencies:
108
60
  - !ruby/object:Gem::Version
109
61
  version: '0'
110
62
  - !ruby/object:Gem::Dependency
111
- name: attribute_normalizer
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '1.1'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: '1.1'
126
- - !ruby/object:Gem::Dependency
127
- name: sunspot_rails
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 2.0.0.pre.120417
134
- type: :runtime
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 2.0.0.pre.120417
142
- - !ruby/object:Gem::Dependency
143
- name: dynamic_form
63
+ name: enju_core
144
64
  requirement: !ruby/object:Gem::Requirement
145
65
  none: false
146
66
  requirements:
@@ -335,6 +255,7 @@ files:
335
255
  - spec/dummy/config/locales/en.yml
336
256
  - spec/dummy/config/routes.rb
337
257
  - spec/dummy/config.ru
258
+ - spec/dummy/db/development.sqlite3
338
259
  - spec/dummy/db/migrate/001_create_patrons.rb
339
260
  - spec/dummy/db/migrate/005_create_manifestations.rb
340
261
  - spec/dummy/db/migrate/006_create_items.rb
@@ -412,7 +333,6 @@ files:
412
333
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
413
334
  - spec/dummy/db/schema.rb
414
335
  - spec/dummy/db/test.sqlite3
415
- - spec/dummy/lib/url_validator.rb
416
336
  - spec/dummy/public/404.html
417
337
  - spec/dummy/public/422.html
418
338
  - spec/dummy/public/500.html
@@ -522,6 +442,7 @@ test_files:
522
442
  - spec/dummy/config/locales/en.yml
523
443
  - spec/dummy/config/routes.rb
524
444
  - spec/dummy/config.ru
445
+ - spec/dummy/db/development.sqlite3
525
446
  - spec/dummy/db/migrate/001_create_patrons.rb
526
447
  - spec/dummy/db/migrate/005_create_manifestations.rb
527
448
  - spec/dummy/db/migrate/006_create_items.rb
@@ -599,7 +520,6 @@ test_files:
599
520
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
600
521
  - spec/dummy/db/schema.rb
601
522
  - spec/dummy/db/test.sqlite3
602
- - spec/dummy/lib/url_validator.rb
603
523
  - spec/dummy/public/404.html
604
524
  - spec/dummy/public/422.html
605
525
  - spec/dummy/public/500.html
@@ -1,10 +0,0 @@
1
- class UrlValidator < ActiveModel::EachValidator
2
- def validate_each(record, attribute, value)
3
- url = ::Addressable::URI.parse(value)
4
- if url
5
- unless ['http', 'https'].include?(url.scheme)
6
- record.errors.add(attribute.to_sym)
7
- end
8
- end
9
- end
10
- end