autocomplete_for 0.3.0 → 1.0.0

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: f9f50fd9d522db4c51b2a6fc3bc6fd4ce1928be0
4
- data.tar.gz: f3533a9904f7e6e06fba807a08ae1b361eb5620c
3
+ metadata.gz: 241fb40f402bc7ad2f4fe37998e0f14ae6fbf2e3
4
+ data.tar.gz: 91cd4c2ce2217629c3d633bd4ec5ac551287f3be
5
5
  SHA512:
6
- metadata.gz: 22992375aecb052095af3c1d3ced8593a608f2d00d5f352c4ab55099e37f238d6d9c240f8e5f4b73848c8834f925a3f45b0a26756f59eab3f36c01a805b38edc
7
- data.tar.gz: d746e51db426597dd06de1a9b80493179d23e7a3775d064080e5fa0dac2f1864b2dfef4111cd3c55f4a63384ca585a109aa3ea9eb044d8a31c99dce52b213266
6
+ metadata.gz: 2db0d664093235bf45a1288e8ca86a69a61cf81957379ac8a2a8f332f930a24172f24821777fbea06f352ec1856dea74b077397e4b737f5c40d991dc558bb57e
7
+ data.tar.gz: b6fd4d779346879ff4364da51ee8c81993e252b17f23041d2f43cc5cb9720df901ebe3993d3f45a1069d559eb695c70a35403c785cd13fc33ec690dd65079712
data/Gemfile.lock CHANGED
@@ -1,28 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autocomplete_for (0.2.3)
5
- activerecord (~> 3.0)
4
+ autocomplete_for (1.0.0)
5
+ activerecord (~> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (3.0.10)
11
- activesupport (= 3.0.10)
12
- builder (~> 2.1.2)
13
- i18n (~> 0.5.0)
14
- activerecord (3.0.10)
15
- activemodel (= 3.0.10)
16
- activesupport (= 3.0.10)
17
- arel (~> 2.0.10)
18
- tzinfo (~> 0.3.23)
19
- activesupport (3.0.10)
20
- arel (2.0.10)
21
- builder (2.1.2)
22
- i18n (0.5.0)
23
- pg (0.11.0)
24
- rake (0.8.7)
25
- tzinfo (0.3.30)
10
+ activemodel (5.2.0)
11
+ activesupport (= 5.2.0)
12
+ activerecord (5.2.0)
13
+ activemodel (= 5.2.0)
14
+ activesupport (= 5.2.0)
15
+ arel (>= 9.0)
16
+ activesupport (5.2.0)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 0.7, < 2)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ arel (9.0.0)
22
+ concurrent-ruby (1.0.5)
23
+ i18n (1.0.1)
24
+ concurrent-ruby (~> 1.0)
25
+ minitest (5.11.3)
26
+ pg (1.0.0)
27
+ rake (12.3.1)
28
+ thread_safe (0.3.6)
29
+ tzinfo (1.2.5)
30
+ thread_safe (~> 0.1)
26
31
 
27
32
  PLATFORMS
28
33
  ruby
@@ -31,3 +36,6 @@ DEPENDENCIES
31
36
  autocomplete_for!
32
37
  pg
33
38
  rake
39
+
40
+ BUNDLED WITH
41
+ 1.16.2
data/README.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ ## Current Version
2
+ This version was introduced to support Rails 5. It depends on activerecord ~> 5.0 and contains several large gem upgrades.
3
+ This is not a backwards compatible upgrade, and introduces many breaking changes if there is no gem compatibility.
4
+
5
+ For Rails 4 support please use: [v0.3.0](https://github.com/nulogy/autocomplete_for/tree/v0.3.0)
6
+
1
7
  AutocompleteFor
2
8
  ===============
3
9
 
@@ -37,4 +43,8 @@ Errors are generated automatically if the given information does not correspond
37
43
  post = Post.create :author_login => 'quux'
38
44
  puts post.errors[:author_login] # will print an error message
39
45
 
46
+ ### Running the tests
47
+ You can run the unit tests using `bundle exec rake test`; it assumes you have a Postgres database
48
+ configured as per `test/database.yml` (e.g. credentials are valid, database exists).
49
+
40
50
  Copyright (c) 2010 Nulogy Corporation, released under the MIT license
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
3
+ require 'rdoc/task'
4
4
  require 'bundler'
5
5
  Bundler::GemHelper.install_tasks
6
6
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "autocomplete_for"
8
- s.version = "0.3.0"
8
+ s.version = "1.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sean Kirby"]
@@ -42,16 +42,16 @@ Gem::Specification.new do |s|
42
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
43
  s.add_development_dependency(%q<pg>, [">= 0"])
44
44
  s.add_development_dependency(%q<rake>, [">= 0"])
45
- s.add_runtime_dependency(%q<activerecord>, ["~> 4.0"])
45
+ s.add_runtime_dependency(%q<activerecord>, ["~> 5.0"])
46
46
  else
47
47
  s.add_dependency(%q<pg>, [">= 0"])
48
48
  s.add_dependency(%q<rake>, [">= 0"])
49
- s.add_dependency(%q<activerecord>, ["~> 4.0"])
49
+ s.add_dependency(%q<activerecord>, ["~> 5.0"])
50
50
  end
51
51
  else
52
52
  s.add_dependency(%q<pg>, [">= 0"])
53
53
  s.add_dependency(%q<rake>, [">= 0"])
54
- s.add_dependency(%q<activerecord>, ["~> 4.0"])
54
+ s.add_dependency(%q<activerecord>, ["~> 5.0"])
55
55
  end
56
56
  end
57
57
 
data/test/test_helper.rb CHANGED
@@ -1,8 +1,9 @@
1
1
  require 'rubygems'
2
+ require 'active_support'
2
3
  require 'active_support/core_ext'
3
4
  require 'active_support/test_case'
4
-
5
- require 'test/unit'
5
+ require 'yaml'
6
+ require 'minitest'
6
7
  require 'active_record'
7
8
 
8
9
  def load_schema
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocomplete_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Kirby
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.0'
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.0'
54
+ version: '5.0'
55
55
  description: Model-side logic for autocompleting belongs_to associations
56
56
  email: sskirby@gmail.com
57
57
  executables: []
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project: autocomplete_for
94
- rubygems_version: 2.4.8
94
+ rubygems_version: 2.6.14
95
95
  signing_key:
96
96
  specification_version: 3
97
97
  summary: Model-side logic for autocompleting belongs_to associations