hashid-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -4
- data/CHANGELOG.md +4 -1
- data/README.md +2 -0
- data/hashid-rails.gemspec +1 -1
- data/lib/hashid/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 089d27e9ecec8f72aeeb07a60588bed41a356cd7
|
4
|
+
data.tar.gz: 11c5adf9980c409d86f0f9b602c27fcfbcd2cf13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb5fe1b5306c1810e9393a9aebc3c9f4dcf679796d9e0338174ef582c51bad76e2b27647bd1c6b32da88f30ca280040cb067f365db6ea8a135e3ad76c57def79
|
7
|
+
data.tar.gz: 50eee15289a2f334397b8ae9971fe50d78eb21f4a341f048b537bddbbfd2c01114a10b409d0ce722275e5baaa868ae4519ab16898a83986002ab1cf0cfd9a24f
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.4.0 (2016-08-21)
|
4
|
+
- Limit installations to Rails 4.x; gem is not yet Rails 5 compatible.
|
5
|
+
|
3
6
|
## 0.4.0 (2016-08-21)
|
4
7
|
- Add `find_by_hashid` method to always try and decode, as opposed to `find` which tries to find it as an integer first.
|
5
8
|
|
6
9
|
## 0.3.2 (2016-03-30)
|
7
|
-
- Multiple ids can be passed to `find` method
|
10
|
+
- Multiple ids can be passed to `find` method.
|
8
11
|
|
9
12
|
## 0.3.1 (2016-03-10)
|
10
13
|
- Update Rails dependency to work with Rails 4.0 and up.
|
data/README.md
CHANGED
data/hashid-rails.gemspec
CHANGED
@@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency 'rake'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.4.0'
|
31
31
|
|
32
|
-
spec.add_runtime_dependency 'activerecord', '
|
32
|
+
spec.add_runtime_dependency 'activerecord', '~> 4.0'
|
33
33
|
spec.add_runtime_dependency 'hashids', '~> 1.0'
|
34
34
|
end
|
data/lib/hashid/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hashid-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Cypret
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
name: activerecord
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '4.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '4.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|