ansr 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTlkMGM1Njk2MWE1ZTFhOTVjMWRkZDE5NjZiYjFkNDE5YTM0ZDAyYg==
4
+ ZDQ2ZDYwNjc2ZGUxN2E4ZDJiNDE4MmQxM2I5MWY3MjUyNzUyNWIzNg==
5
5
  data.tar.gz: !binary |-
6
- MWFjZTYxMTg3Y2I0NGM1MTQ0MzI0YjkxZjIxNjI5YmU4MTlkZTk2MQ==
6
+ OGJjNGU4M2JkN2JkMDcxODM5OGQ3ZTJhYjQ4OWY2OTY0MGY4MTQ3Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWM2NGM0ZjgwYzZkNzYyY2ZhOTE2OTA3YmI1ZjMyNGZjZmJhMzE1YWYxYzlj
10
- ZGQyZjMwNWNlY2RiOWE4MmI0MmZiZjI0Mzk0Mjg0MTE1MWE2ZWU0Y2I1ZGUw
11
- MjMyMTNhMzYxOWU2Yzg5ZGU5ZWUwNzE3NWYzYTI1ZTY1NjQ4NzI=
9
+ YjM1YjYwZWM5N2YxN2E0ZTIxMTQxNmZhOTQ0MTYyYmRiNzJhNjViMTdjMGYw
10
+ ZTE2ZDE0MGYzY2VlYzU4NmI1YzlmMGViZmRhYzA2MDkwM2Q3OWFmYjA4MWJh
11
+ N2U0YWM2OWZjODUxYzdjMWI4MGJkMWM1YzFhN2U1MTRlYmZhNjY=
12
12
  data.tar.gz: !binary |-
13
- OTU1MGNkZGNjZDZkZjRhNzlhMjI0ZjA4MWM5ZTI4NDQ2OTlkM2Y2OTBjN2Jl
14
- Y2ZhNDFlZjE2OTMzYTA5YTgwZmM1YzA0YmQ2NDlhMjdhZWQ1YjIzMGRjNjJi
15
- MWZlYjNiZDQ3MzE2ZDU1OGQyODMzYTVmOTNjY2E1NDk1ZDg5NTk=
13
+ ZTBhMzE5NzE4YjU2NmNmMDY3M2YwYWRkNzY1ODZmYjYzNDc0MmExNmY1ZTMy
14
+ ZTU3MTk5MTU4YzEzMjE1MmU4NGRjODg0ZGYwODU4OWNjN2IwZDU0ZTRjNzlm
15
+ MzlkNTM3OGYwNDJmYjJlMTJhYmI5ZTNlZjc5MGYwNGMyZmZkODM=
@@ -1,89 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ansr (0.0.1)
5
- blacklight (>= 5.1.0)
4
+ ansr (0.0.5)
5
+ activerecord (~> 4, >= 4.0.3)
6
+ arel (~> 4, >= 4.0.2)
6
7
  loggable
7
8
 
8
9
  GEM
9
10
  remote: http://rubygems.org/
10
11
  specs:
11
- actionmailer (4.0.3)
12
- actionpack (= 4.0.3)
13
- mail (~> 2.5.4)
14
- actionpack (4.0.3)
15
- activesupport (= 4.0.3)
12
+ activemodel (4.0.4)
13
+ activesupport (= 4.0.4)
16
14
  builder (~> 3.1.0)
17
- erubis (~> 2.7.0)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- activemodel (4.0.3)
21
- activesupport (= 4.0.3)
22
- builder (~> 3.1.0)
23
- activerecord (4.0.3)
24
- activemodel (= 4.0.3)
15
+ activerecord (4.0.4)
16
+ activemodel (= 4.0.4)
25
17
  activerecord-deprecated_finders (~> 1.0.2)
26
- activesupport (= 4.0.3)
18
+ activesupport (= 4.0.4)
27
19
  arel (~> 4.0.0)
28
20
  activerecord-deprecated_finders (1.0.3)
29
- activesupport (4.0.3)
30
- i18n (~> 0.6, >= 0.6.4)
21
+ activesupport (4.0.4)
22
+ i18n (~> 0.6, >= 0.6.9)
31
23
  minitest (~> 4.2)
32
24
  multi_json (~> 1.3)
33
25
  thread_safe (~> 0.1)
34
26
  tzinfo (~> 0.3.37)
35
27
  arel (4.0.2)
36
- atomic (1.1.14)
37
- blacklight (5.1.0)
38
- bootstrap-sass (~> 3.0)
39
- deprecation
40
- kaminari (~> 0.13)
41
- nokogiri (~> 1.6)
42
- rails (>= 3.2.6, < 5)
43
- rsolr (~> 1.0.6)
44
- sass-rails
45
- bootstrap-sass (3.1.1.0)
46
- sass (~> 3.2)
47
28
  builder (3.1.4)
48
- deprecation (0.1.0)
49
- activesupport
50
29
  diff-lcs (1.2.5)
51
- erubis (2.7.0)
52
- hike (1.2.3)
53
30
  i18n (0.6.9)
54
- kaminari (0.15.1)
55
- actionpack (>= 3.0.0)
56
- activesupport (>= 3.0.0)
57
31
  loggable (0.3.0)
58
- mail (2.5.4)
59
- mime-types (~> 1.16)
60
- treetop (~> 1.4.8)
61
- mime-types (1.25.1)
62
- mini_portile (0.5.2)
63
32
  minitest (4.7.5)
64
- multi_json (1.8.4)
65
- nokogiri (1.6.1)
66
- mini_portile (~> 0.5.0)
67
- polyglot (0.3.4)
68
- rack (1.5.2)
69
- rack-test (0.6.2)
70
- rack (>= 1.0)
71
- rails (4.0.3)
72
- actionmailer (= 4.0.3)
73
- actionpack (= 4.0.3)
74
- activerecord (= 4.0.3)
75
- activesupport (= 4.0.3)
76
- bundler (>= 1.3.0, < 2.0)
77
- railties (= 4.0.3)
78
- sprockets-rails (~> 2.0.0)
79
- railties (4.0.3)
80
- actionpack (= 4.0.3)
81
- activesupport (= 4.0.3)
82
- rake (>= 0.8.7)
83
- thor (>= 0.18.1, < 2.0)
33
+ multi_json (1.9.2)
84
34
  rake (10.1.1)
85
- rsolr (1.0.9)
86
- builder (>= 2.1.2)
87
35
  rspec (2.14.1)
88
36
  rspec-core (~> 2.14.0)
89
37
  rspec-expectations (~> 2.14.0)
@@ -92,28 +40,8 @@ GEM
92
40
  rspec-expectations (2.14.5)
93
41
  diff-lcs (>= 1.1.3, < 2.0)
94
42
  rspec-mocks (2.14.6)
95
- sass (3.2.14)
96
- sass-rails (4.0.1)
97
- railties (>= 4.0.0, < 5.0)
98
- sass (>= 3.1.10)
99
- sprockets-rails (~> 2.0.0)
100
- sprockets (2.11.0)
101
- hike (~> 1.2)
102
- multi_json (~> 1.0)
103
- rack (~> 1.0)
104
- tilt (~> 1.1, != 1.3.0)
105
- sprockets-rails (2.0.1)
106
- actionpack (>= 3.0)
107
- activesupport (>= 3.0)
108
- sprockets (~> 2.8)
109
- thor (0.18.1)
110
- thread_safe (0.1.3)
111
- atomic
112
- tilt (1.4.1)
113
- treetop (1.4.15)
114
- polyglot
115
- polyglot (>= 0.3.1)
116
- tzinfo (0.3.38)
43
+ thread_safe (0.3.3)
44
+ tzinfo (0.3.39)
117
45
  yard (0.8.7.3)
118
46
 
119
47
  PLATFORMS
@@ -123,5 +51,5 @@ DEPENDENCIES
123
51
  ansr!
124
52
  bundler (>= 1.0.14)
125
53
  rake
126
- rspec
54
+ rspec (~> 2)
127
55
  yard
@@ -8,17 +8,19 @@ Gem::Specification.new do |spec|
8
8
  spec.summary = 'ActiveRecord-style relations for no-sql data sources'
9
9
  spec.description = 'Wrapping the no-sql data sources in Rails-like models and relations'
10
10
  spec.homepage = 'http://github.com/barmintor/ansr'
11
+ spec.license = "APACHE2"
12
+ spec.required_ruby_version = '>= 1.9.3'
11
13
  spec.files = `git ls-files`.split("\n")
12
14
  spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
15
  spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
14
16
  spec.require_paths = ["lib"]
15
17
 
16
18
  spec.add_dependency 'loggable'
17
- spec.add_dependency 'arel'
18
- spec.add_dependency 'activerecord'
19
+ spec.add_dependency 'arel', '~> 4', '>= 4.0.2'
20
+ spec.add_dependency 'activerecord', '~> 4', '>= 4.0.3'
19
21
 
20
22
  spec.add_development_dependency("rake")
21
23
  spec.add_development_dependency("bundler", ">= 1.0.14")
22
- spec.add_development_dependency("rspec")
24
+ spec.add_development_dependency("rspec", '~>2')
23
25
  spec.add_development_dependency("yard")
24
26
  end
@@ -1,3 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec
4
+ gem "ansr", :path => '..', :group => :development
@@ -0,0 +1,136 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ansr_blacklight (0.0.5)
5
+ ansr (= 0.0.5)
6
+ json-ld
7
+ kaminari (~> 0.13)
8
+ loggable
9
+ rails (>= 3.2.6, < 5)
10
+ rest-client
11
+ rsolr (~> 1.0.6)
12
+ sass-rails
13
+
14
+ PATH
15
+ remote: ..
16
+ specs:
17
+ ansr (0.0.5)
18
+ activerecord (~> 4, >= 4.0.3)
19
+ arel (~> 4, >= 4.0.2)
20
+ loggable
21
+
22
+ GEM
23
+ remote: http://rubygems.org/
24
+ specs:
25
+ actionmailer (4.0.3)
26
+ actionpack (= 4.0.3)
27
+ mail (~> 2.5.4)
28
+ actionpack (4.0.3)
29
+ activesupport (= 4.0.3)
30
+ builder (~> 3.1.0)
31
+ erubis (~> 2.7.0)
32
+ rack (~> 1.5.2)
33
+ rack-test (~> 0.6.2)
34
+ activemodel (4.0.3)
35
+ activesupport (= 4.0.3)
36
+ builder (~> 3.1.0)
37
+ activerecord (4.0.3)
38
+ activemodel (= 4.0.3)
39
+ activerecord-deprecated_finders (~> 1.0.2)
40
+ activesupport (= 4.0.3)
41
+ arel (~> 4.0.0)
42
+ activerecord-deprecated_finders (1.0.3)
43
+ activesupport (4.0.3)
44
+ i18n (~> 0.6, >= 0.6.4)
45
+ minitest (~> 4.2)
46
+ multi_json (~> 1.3)
47
+ thread_safe (~> 0.1)
48
+ tzinfo (~> 0.3.37)
49
+ arel (4.0.2)
50
+ atomic (1.1.15)
51
+ builder (3.1.4)
52
+ diff-lcs (1.2.5)
53
+ erubis (2.7.0)
54
+ hike (1.2.3)
55
+ i18n (0.6.9)
56
+ json-ld (1.1.3.1)
57
+ rdf (~> 1.1)
58
+ kaminari (0.15.1)
59
+ actionpack (>= 3.0.0)
60
+ activesupport (>= 3.0.0)
61
+ loggable (0.3.0)
62
+ mail (2.5.4)
63
+ mime-types (~> 1.16)
64
+ treetop (~> 1.4.8)
65
+ mime-types (1.25.1)
66
+ minitest (4.7.5)
67
+ multi_json (1.9.0)
68
+ polyglot (0.3.4)
69
+ rack (1.5.2)
70
+ rack-test (0.6.2)
71
+ rack (>= 1.0)
72
+ rails (4.0.3)
73
+ actionmailer (= 4.0.3)
74
+ actionpack (= 4.0.3)
75
+ activerecord (= 4.0.3)
76
+ activesupport (= 4.0.3)
77
+ bundler (>= 1.3.0, < 2.0)
78
+ railties (= 4.0.3)
79
+ sprockets-rails (~> 2.0.0)
80
+ railties (4.0.3)
81
+ actionpack (= 4.0.3)
82
+ activesupport (= 4.0.3)
83
+ rake (>= 0.8.7)
84
+ thor (>= 0.18.1, < 2.0)
85
+ rake (10.1.1)
86
+ rdf (1.1.3)
87
+ rest-client (1.6.7)
88
+ mime-types (>= 1.16)
89
+ rsolr (1.0.10)
90
+ builder (>= 2.1.2)
91
+ rspec-core (2.14.8)
92
+ rspec-expectations (2.14.5)
93
+ diff-lcs (>= 1.1.3, < 2.0)
94
+ rspec-mocks (2.14.6)
95
+ rspec-rails (2.14.2)
96
+ actionpack (>= 3.0)
97
+ activemodel (>= 3.0)
98
+ activesupport (>= 3.0)
99
+ railties (>= 3.0)
100
+ rspec-core (~> 2.14.0)
101
+ rspec-expectations (~> 2.14.0)
102
+ rspec-mocks (~> 2.14.0)
103
+ sass (3.3.5)
104
+ sass-rails (4.0.1)
105
+ railties (>= 4.0.0, < 5.0)
106
+ sass (>= 3.1.10)
107
+ sprockets-rails (~> 2.0.0)
108
+ sprockets (2.12.1)
109
+ hike (~> 1.2)
110
+ multi_json (~> 1.0)
111
+ rack (~> 1.0)
112
+ tilt (~> 1.1, != 1.3.0)
113
+ sprockets-rails (2.0.1)
114
+ actionpack (>= 3.0)
115
+ activesupport (>= 3.0)
116
+ sprockets (~> 2.8)
117
+ thor (0.18.1)
118
+ thread_safe (0.2.0)
119
+ atomic (>= 1.1.7, < 2)
120
+ tilt (1.4.1)
121
+ treetop (1.4.15)
122
+ polyglot
123
+ polyglot (>= 0.3.1)
124
+ tzinfo (0.3.39)
125
+ yard (0.8.7.3)
126
+
127
+ PLATFORMS
128
+ ruby
129
+
130
+ DEPENDENCIES
131
+ ansr!
132
+ ansr_blacklight!
133
+ bundler (>= 1.0.14)
134
+ rake
135
+ rspec-rails
136
+ yard
@@ -1,7 +1,7 @@
1
1
  module Ansr::Blacklight::Arel::Visitors
2
2
  class ToNoSql < Ansr::Arel::Visitors::ToNoSql
3
-
4
- def initialize(table)
3
+
4
+ def initialize(table, http_method=:get)
5
5
  super(table)
6
6
  end
7
7
 
@@ -9,6 +9,7 @@ module Ansr::Blacklight::ConnectionAdapters
9
9
  super(klass, klass.solr, logger, pool)
10
10
  # the RSolr class has one query method, with the name of the selector the first parm?
11
11
  @method = :send_and_receive
12
+ @http_method = klass.method
12
13
  @visitor = Ansr::Blacklight::Arel::Visitors::ToNoSql.new(@table)
13
14
  end
14
15
 
@@ -28,8 +29,8 @@ module Ansr::Blacklight::ConnectionAdapters
28
29
  def execute(query, name='ANSR-SOLR')
29
30
  query = query.dup
30
31
  # TODO: execution context to assign :post to params[:method]
31
- params = {params: query, method: :get}
32
- params[:data] = params.delete(:params) if params[:method] == :post
32
+ params = {params: query, method: @http_method}
33
+ params[:data] = params.delete(:params) if @http_method == :post
33
34
  raw_response = eval(@connection.send(@method, query.path, params))
34
35
  Ansr::Blacklight::Solr::Response.new(raw_response, raw_response['params'])
35
36
  end
@@ -24,6 +24,11 @@ module Ansr::Blacklight::Model
24
24
  def references
25
25
  []
26
26
  end
27
+ def ansr_query(*args)
28
+ ansr_query = super(*args)
29
+ ansr_query.http_method = args[2] if args[2]
30
+ ansr_query
31
+ end
27
32
  end
28
33
  end
29
34
  end
@@ -53,7 +53,7 @@ module Ansr::Blacklight
53
53
 
54
54
  def group_by(key=self.group_values.first)
55
55
  loaded
56
- response.grouped(model()).select { |x| x.key == key.to_s }
56
+ response.group(key, model)
57
57
  end
58
58
  end
59
59
  end
@@ -16,7 +16,7 @@ class Ansr::Blacklight::Solr::Response < HashWithIndifferentAccess
16
16
  @request_params = request_params
17
17
  extend Spelling
18
18
  extend Ansr::Facets
19
- extend Response
19
+ extend InternalResponse
20
20
  extend MoreLikeThis
21
21
  end
22
22
 
@@ -64,15 +64,15 @@ class Ansr::Blacklight::Solr::Response < HashWithIndifferentAccess
64
64
  end
65
65
  end
66
66
 
67
- def group key
68
- grouped.select { |x| x.key == key }.first
67
+ def group key, model
68
+ grouped(model).select { |x| x.key == key }.first
69
69
  end
70
70
 
71
71
  def grouped?
72
72
  self.has_key? "grouped"
73
73
  end
74
74
 
75
- module Response
75
+ module InternalResponse
76
76
  def response
77
77
  self[:response] || {}
78
78
  end
@@ -69,6 +69,7 @@ describe Ansr::Blacklight do
69
69
  subject { FacetModel }
70
70
 
71
71
  it "should send a post request to solr and get a response back" do
72
+ subject.method = :post
72
73
  rel = subject.where(:q => @all_docs_query)
73
74
  subject.solr= stub_solr(JSON.parse(@abc_resp).inspect)
74
75
  expect(rel.length).to be >= 1
@@ -42,12 +42,16 @@ describe Ansr::Blacklight do
42
42
  rel
43
43
  end
44
44
 
45
- let(:group) do
46
- response.group_by.first
45
+ let(:group_response) do
46
+ response.group_by
47
47
  end
48
48
 
49
- subject do
50
- group.groups.first
49
+ let(:groups) do
50
+ group_response.groups #.first
51
+ end
52
+
53
+ subject do
54
+ groups.first
51
55
  end
52
56
 
53
57
  describe Ansr::Blacklight::Solr::Response::Group do
@@ -1,3 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gemspec
3
+ gemspec
4
+ gem "ansr", :path => '..', :group => :development
@@ -1,45 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ansr_dpla (0.0.3)
5
- ansr (= 0.0.3)
4
+ ansr_dpla (0.0.5)
5
+ ansr (= 0.0.5)
6
6
  blacklight (>= 5.1.0)
7
7
  json-ld
8
8
  loggable
9
9
  rest-client
10
10
  sass-rails
11
11
 
12
+ PATH
13
+ remote: ..
14
+ specs:
15
+ ansr (0.0.5)
16
+ activerecord (~> 4, >= 4.0.3)
17
+ arel (~> 4, >= 4.0.2)
18
+ loggable
19
+
12
20
  GEM
13
21
  remote: http://rubygems.org/
14
22
  specs:
15
- actionmailer (4.0.4)
16
- actionpack (= 4.0.4)
23
+ actionmailer (4.0.3)
24
+ actionpack (= 4.0.3)
17
25
  mail (~> 2.5.4)
18
- actionpack (4.0.4)
19
- activesupport (= 4.0.4)
26
+ actionpack (4.0.3)
27
+ activesupport (= 4.0.3)
20
28
  builder (~> 3.1.0)
21
29
  erubis (~> 2.7.0)
22
30
  rack (~> 1.5.2)
23
31
  rack-test (~> 0.6.2)
24
- activemodel (4.0.4)
25
- activesupport (= 4.0.4)
32
+ activemodel (4.0.3)
33
+ activesupport (= 4.0.3)
26
34
  builder (~> 3.1.0)
27
- activerecord (4.0.4)
28
- activemodel (= 4.0.4)
35
+ activerecord (4.0.3)
36
+ activemodel (= 4.0.3)
29
37
  activerecord-deprecated_finders (~> 1.0.2)
30
- activesupport (= 4.0.4)
38
+ activesupport (= 4.0.3)
31
39
  arel (~> 4.0.0)
32
40
  activerecord-deprecated_finders (1.0.3)
33
- activesupport (4.0.4)
34
- i18n (~> 0.6, >= 0.6.9)
41
+ activesupport (4.0.3)
42
+ i18n (~> 0.6, >= 0.6.4)
35
43
  minitest (~> 4.2)
36
44
  multi_json (~> 1.3)
37
45
  thread_safe (~> 0.1)
38
46
  tzinfo (~> 0.3.37)
39
- ansr (0.0.3)
40
- activerecord
41
- arel
42
- loggable
43
47
  arel (4.0.2)
44
48
  blacklight (5.3.0)
45
49
  bootstrap-sass (~> 3.0)
@@ -76,17 +80,17 @@ GEM
76
80
  rack (1.5.2)
77
81
  rack-test (0.6.2)
78
82
  rack (>= 1.0)
79
- rails (4.0.4)
80
- actionmailer (= 4.0.4)
81
- actionpack (= 4.0.4)
82
- activerecord (= 4.0.4)
83
- activesupport (= 4.0.4)
83
+ rails (4.0.3)
84
+ actionmailer (= 4.0.3)
85
+ actionpack (= 4.0.3)
86
+ activerecord (= 4.0.3)
87
+ activesupport (= 4.0.3)
84
88
  bundler (>= 1.3.0, < 2.0)
85
- railties (= 4.0.4)
89
+ railties (= 4.0.3)
86
90
  sprockets-rails (~> 2.0.0)
87
- railties (4.0.4)
88
- actionpack (= 4.0.4)
89
- activesupport (= 4.0.4)
91
+ railties (4.0.3)
92
+ actionpack (= 4.0.3)
93
+ activesupport (= 4.0.3)
90
94
  rake (>= 0.8.7)
91
95
  thor (>= 0.18.1, < 2.0)
92
96
  rake (10.1.1)
@@ -130,6 +134,7 @@ PLATFORMS
130
134
  ruby
131
135
 
132
136
  DEPENDENCIES
137
+ ansr!
133
138
  ansr_dpla!
134
139
  bundler (>= 1.0.14)
135
140
  rake
@@ -11,6 +11,14 @@ module Ansr
11
11
 
12
12
  self.abstract_class = true
13
13
 
14
+ def self.method
15
+ @method ||= :get
16
+ end
17
+
18
+ def self.method=(method)
19
+ @method = method
20
+ end
21
+
14
22
  def initialize doc={}, options={}
15
23
  super(filter_source_hash(doc), options)
16
24
  @source_doc = doc
@@ -291,12 +291,15 @@ module Ansr
291
291
  end
292
292
  end
293
293
 
294
- def find_by_nosql(arel, bind_values)
295
- @ansr_query = model.connection.to_nosql(arel, bind_values)
296
- model.connection.execute(@ansr_query)
294
+ def find_by_nosql(*args)
295
+ model.connection.execute(ansr_query(*args))
297
296
  end
298
297
 
299
- def ansr_qeury
298
+ def ansr_query(*args)
299
+ if args.first
300
+ arel, bind_values = [args[0], args[1]]
301
+ @ansr_query = model.connection.to_nosql(arel, bind_values)
302
+ end
300
303
  @ansr_query
301
304
  end
302
305
  end
@@ -1,5 +1,5 @@
1
1
  module Ansr
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  def self.version
4
4
  VERSION
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Armintor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-25 00:00:00.000000000 Z
11
+ date: 2014-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: loggable
@@ -28,30 +28,42 @@ dependencies:
28
28
  name: arel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '4'
31
34
  - - ! '>='
32
35
  - !ruby/object:Gem::Version
33
- version: '0'
36
+ version: 4.0.2
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '4'
38
44
  - - ! '>='
39
45
  - !ruby/object:Gem::Version
40
- version: '0'
46
+ version: 4.0.2
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: activerecord
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '4'
45
54
  - - ! '>='
46
55
  - !ruby/object:Gem::Version
47
- version: '0'
56
+ version: 4.0.3
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ version: '4'
52
64
  - - ! '>='
53
65
  - !ruby/object:Gem::Version
54
- version: '0'
66
+ version: 4.0.3
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: rake
57
69
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +96,16 @@ dependencies:
84
96
  name: rspec
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
- - - ! '>='
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
- version: '0'
101
+ version: '2'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
93
105
  requirements:
94
- - - ! '>='
106
+ - - ~>
95
107
  - !ruby/object:Gem::Version
96
- version: '0'
108
+ version: '2'
97
109
  - !ruby/object:Gem::Dependency
98
110
  name: yard
99
111
  requirement: !ruby/object:Gem::Requirement
@@ -121,6 +133,7 @@ files:
121
133
  - README.md
122
134
  - ansr.gemspec
123
135
  - ansr_blacklight/Gemfile
136
+ - ansr_blacklight/Gemfile.lock
124
137
  - ansr_blacklight/README.md
125
138
  - ansr_blacklight/ansr_blacklight.gemspec
126
139
  - ansr_blacklight/lib/ansr_blacklight.rb
@@ -218,7 +231,8 @@ files:
218
231
  - lib/ansr/utils.rb
219
232
  - lib/ansr/version.rb
220
233
  homepage: http://github.com/barmintor/ansr
221
- licenses: []
234
+ licenses:
235
+ - APACHE2
222
236
  metadata: {}
223
237
  post_install_message:
224
238
  rdoc_options: []
@@ -228,7 +242,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
242
  requirements:
229
243
  - - ! '>='
230
244
  - !ruby/object:Gem::Version
231
- version: '0'
245
+ version: 1.9.3
232
246
  required_rubygems_version: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - ! '>='