params_keeper_rails 1.1.1 → 1.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
  SHA256:
3
- metadata.gz: d76b72564d1cc871d7577b052c4e9d082dd3c76861676a06d7847ad5aed8b4ae
4
- data.tar.gz: 3e8f6bd4efff874dd152733c86b68b0e03ff29e8b1da34df3c3a27e9be3d14e7
3
+ metadata.gz: fcba9e0da62cef22f6a10be854b3f87576ca42959a07e73ba6f5db15b4cc3832
4
+ data.tar.gz: 9f34f3aff5de4d3aaa00b8c1091ac4d577e5eaba0bbe68d35f59af9a8aa720bc
5
5
  SHA512:
6
- metadata.gz: b4836bfc19533e07b6f5341d6d467842ff03dd1364f25383ffb3beab21a4884682498fc3d99022f0995067c67f74bf27463bca4e73286b26c08a79799ff084de
7
- data.tar.gz: 302e980d238c96315f2e8185e475b9235b79aaccfdd7456c6c416243efac446f19f72365ec896656d213e1797de60f062eca8fdd30ec4bb6a52a82c3e8abda3d
6
+ metadata.gz: c0cd32d51cbd4ff13e175ce8f9ada37458325c9d51e464569fc7969661ef29f1966f155bba0850de004ad11a773fd2b646a2cfcf3aff3cc488c0dd10a0364fb9
7
+ data.tar.gz: bf5d57f3cb6c783a6af545c0d22b183556ad0280b4708b9521b286f00cc065ed1f36bd07c296757e4817c8fc8d948ecbbff542643e7dcc7f50762b33a0d5d102
data/.gitignore CHANGED
@@ -1,16 +1,8 @@
1
1
  /.bundle/
2
- /.yardoc
3
2
  /.project
4
3
  /Gemfile.lock
5
- /gemfiles/.bundle
6
- /gemfiles/vendor
7
4
  /gemfiles/*gemfile.lock
8
- /_yardoc/
9
5
  /coverage/
10
- /doc/
11
6
  /log/
12
7
  /pkg/
13
- /spec/reports/
14
8
  /spec/dummy/log/
15
- /tmp/
16
- /vendor/
data/.travis.yml CHANGED
@@ -8,3 +8,12 @@ gemfile:
8
8
  - gemfiles/rails50.gemfile
9
9
  - gemfiles/rails51.gemfile
10
10
  - gemfiles/rails52.gemfile
11
+ - gemfiles/rails60.gemfile
12
+ matrix:
13
+ exclude:
14
+ - rvm: 2.3
15
+ gemfile: gemfiles/rails60.gemfile
16
+ - rvm: 2.4
17
+ gemfile: gemfiles/rails60.gemfile
18
+ script:
19
+ - bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.2
4
+
5
+ * Fix url_for helper outside of controller.
6
+
3
7
  ## 1.1.1
4
8
 
5
9
  * Support symbolized :to config.
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 6.0.0"
4
+
5
+ gemspec path: "../"
@@ -1,5 +1,9 @@
1
1
  module ParamsKeeper::Helper
2
2
  def url_for(options = nil)
3
- ParamsKeeper::Resolver.new(self, controller, options).resolve || super
3
+ if controller
4
+ ParamsKeeper::Resolver.new(self, controller, options).resolve || super
5
+ else
6
+ super
7
+ end
4
8
  end
5
9
  end
@@ -1,3 +1,3 @@
1
1
  module ParamsKeeper
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: params_keeper_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-07 00:00:00.000000000 Z
11
+ date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -102,6 +102,7 @@ files:
102
102
  - gemfiles/rails50.gemfile
103
103
  - gemfiles/rails51.gemfile
104
104
  - gemfiles/rails52.gemfile
105
+ - gemfiles/rails60.gemfile
105
106
  - lib/params_keeper/controller.rb
106
107
  - lib/params_keeper/helper.rb
107
108
  - lib/params_keeper/resolver.rb
@@ -127,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
128
  - !ruby/object:Gem::Version
128
129
  version: '0'
129
130
  requirements: []
130
- rubygems_version: 3.0.1
131
+ rubygems_version: 3.0.3
131
132
  signing_key:
132
133
  specification_version: 4
133
134
  summary: keep specific parameters through links.