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 +4 -4
- data/Gemfile.lock +26 -18
- data/README.markdown +10 -0
- data/Rakefile +1 -1
- data/autocomplete_for.gemspec +4 -4
- data/test/test_helper.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 241fb40f402bc7ad2f4fe37998e0f14ae6fbf2e3
|
4
|
+
data.tar.gz: 91cd4c2ce2217629c3d633bd4ec5ac551287f3be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
activerecord (~>
|
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 (
|
11
|
-
activesupport (=
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
data/autocomplete_for.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "autocomplete_for"
|
8
|
-
s.version = "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>, ["~>
|
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>, ["~>
|
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>, ["~>
|
54
|
+
s.add_dependency(%q<activerecord>, ["~> 5.0"])
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
data/test/test_helper.rb
CHANGED
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.
|
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: '
|
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: '
|
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.
|
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
|