sufia-models 4.0.0.beta1 → 4.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/sufia/models/install_generator.rb +2 -3
- data/lib/generators/sufia/models/templates/config/sufia.rb +5 -1
- data/lib/sufia/models/generic_file.rb +2 -1
- data/lib/sufia/models/version.rb +1 -1
- data/lib/sufia/models/virus_found_error.rb +4 -0
- data/sufia-models.gemspec +1 -1
- metadata +12 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bc499ef1c7cbf4fe681e9100f2b46bb7ace0a77
|
4
|
+
data.tar.gz: 90aa258a254bb929ab5631e96d253a42509f8c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cc9ac7548fa1270e2a8c0a8fdf7100b7792978c946f8d5fe3ab190db32db42ef5f7f150993aa47beea7379567c433423680381379a22a5c93eab11f4b6cfa75
|
7
|
+
data.tar.gz: 6f2aa0666ec2b61c65711666712c77cc0796875519690eb225c0acb766a090f22dde459f0d1f3772eaa0ed5b8dbf912b7eeaf8889d26d72e376cf1118ab3cb9a
|
@@ -74,9 +74,8 @@ This generator makes the following changes to your application:
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def create_configuration_files
|
77
|
-
|
78
|
-
"\nMime::Type.register 'application/x-endnote-refer', :endnote",
|
79
|
-
{ :after => /# Mime::Type.register_alias "text\/html", :iphone/, :verbose => false }
|
77
|
+
append_file 'config/initializers/mime_types.rb',
|
78
|
+
"\nMime::Type.register 'application/x-endnote-refer', :endnote", {verbose: false }
|
80
79
|
copy_file 'config/sufia.rb', 'config/initializers/sufia.rb'
|
81
80
|
copy_file 'config/redis.yml', 'config/redis.yml'
|
82
81
|
copy_file 'config/redis_config.rb', 'config/initializers/redis_config.rb'
|
@@ -80,7 +80,11 @@ Sufia.config do |config|
|
|
80
80
|
|
81
81
|
# If browse-everything has been configured, load the configs. Otherwise, set to nil.
|
82
82
|
begin
|
83
|
-
|
83
|
+
if defined? BrowseEverything
|
84
|
+
config.browse_everything = BrowseEverything.config
|
85
|
+
else
|
86
|
+
logger.warn "BrowseEverything is not installed"
|
87
|
+
end
|
84
88
|
rescue Errno::ENOENT
|
85
89
|
config.browse_everything = nil
|
86
90
|
end
|
data/lib/sufia/models/version.rb
CHANGED
data/sufia-models.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.3"
|
27
27
|
spec.add_development_dependency "rake"
|
28
28
|
|
29
|
-
spec.add_dependency 'rails', '~> 4.0.0'
|
29
|
+
spec.add_dependency 'rails', '~> 4.0', '< 5.0.0'
|
30
30
|
spec.add_dependency 'activeresource', "~>4.0.0" # No longer a dependency of rails 4.0
|
31
31
|
|
32
32
|
spec.add_dependency "hydra-head", "~> 7.0.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sufia-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Friesen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,20 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.0
|
47
|
+
version: '4.0'
|
48
|
+
- - <
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 5.0.0
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - ~>
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.0
|
57
|
+
version: '4.0'
|
58
|
+
- - <
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 5.0.0
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: activeresource
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -359,6 +365,7 @@ files:
|
|
359
365
|
- lib/sufia/models/user_local_directory_behavior.rb
|
360
366
|
- lib/sufia/models/utils.rb
|
361
367
|
- lib/sufia/models/version.rb
|
368
|
+
- lib/sufia/models/virus_found_error.rb
|
362
369
|
- lib/tasks/resque.rake
|
363
370
|
- lib/tasks/sufia-models_tasks.rake
|
364
371
|
- sufia-models.gemspec
|
@@ -382,7 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
389
|
version: 1.3.1
|
383
390
|
requirements: []
|
384
391
|
rubyforge_project:
|
385
|
-
rubygems_version: 2.2.
|
392
|
+
rubygems_version: 2.2.2
|
386
393
|
signing_key:
|
387
394
|
specification_version: 4
|
388
395
|
summary: Models and services for sufia
|