speedy-af 0.1.1 → 0.1.2

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: 9543a6894a435f975c44ed9bd36e06c94210221a
4
- data.tar.gz: fc8a10a2b7ddb4dbcc0ac34ae5b3b6dbfa363814
3
+ metadata.gz: 791d59b27234dff5c9f8cc9254642ef093e72fdf
4
+ data.tar.gz: 47238edaa08c8d51670f03237597fdc8c2ceec93
5
5
  SHA512:
6
- metadata.gz: c109886552ed1cee26065b2a81edb34f844877a153591045cbaadc2d2ff11e7b8d366959667062d3a717248a0e82b518c64c611ea0a5f4c02f767a1ebf4b7106
7
- data.tar.gz: 41b7a88ff6a723b158864541af9d645c7eff332112a789404f20e857acc25e77dc447990aa4d6a1a389cc6b4f4d1f2932caf99355c5998ee59ba44d286bfcc1f
6
+ metadata.gz: e030ef045ab9cb7d6f905b87871a7809b89295a10bf151d209f443ead08ad178960bd910dac8105e584ba13293aca2509bb047b569735b7e733d3e407ea3bd35
7
+ data.tar.gz: d51b0087bd1f8da8f44a55a7076ccca0925b8d06ad688dcbe18e0ba51ffa7be530554f1e871741802ce109b46def4264fb4ff5c791fc28346d48ff354d564917
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'solr_wrapper'
2
2
  require 'fcrepo_wrapper'
3
3
  require 'active_fedora/rake_support'
4
+ require 'bundler'
5
+ Bundler::GemHelper.install_tasks
4
6
 
5
7
  require 'rspec/core/rake_task'
6
8
  desc 'Run tests only'
@@ -93,7 +93,7 @@ module SpeedyAF
93
93
 
94
94
  def respond_to_missing?(sym, _include_private = false)
95
95
  @attrs.key?(sym) ||
96
- model.reflections[sym].present? ||
96
+ model.respond_to?(:reflections) && model.reflections[sym].present? ||
97
97
  model.instance_methods.include?(sym)
98
98
  end
99
99
 
@@ -1,3 +1,3 @@
1
1
  module SpeedyAF
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
26
26
 
27
27
  s.add_dependency 'active-fedora', ['>= 11.0.0']
28
- s.add_dependency 'activesupport'
28
+ s.add_dependency 'activesupport', '< 5.2'
29
29
  s.add_development_dependency 'solr_wrapper', '~> 0.15'
30
30
  s.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
31
31
  s.add_development_dependency 'simplecov'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speedy-af
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael B. Klein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2018-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '5.2'
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'
40
+ version: '5.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: solr_wrapper
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 2.5.1
230
+ rubygems_version: 2.5.2.1
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Performance enhancements for ActiveFedora