rucaptcha 2.1.0 → 2.1.1

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: 7eb3d814d1abc1f5a0e0697ab96db602c4e8a716
4
- data.tar.gz: c57741d52df52d8b57fa724a55ece1240cd028c3
3
+ metadata.gz: 13003f5e3a54633d2f11a8b6a7182dd2d484372c
4
+ data.tar.gz: 9689caec2a5e6184418b9bbe50904d0a6311c98e
5
5
  SHA512:
6
- metadata.gz: d636f015eb7350878264ea6b5f9b966a2ff7cd7a9ca42d932f3b6ad00814ad0cd997e407ffdea89399e7db95758626b04f57a9bc9a635837022d7153a0ea555d
7
- data.tar.gz: 1333a867127f01c83fe2554d453c7fd9061581d167aeccf2bd8ea4bd5ceef45d0f71e884d5c206fef179d7a2b654329aa95e58dca0b0b0331f2109dd5cb2c353
6
+ metadata.gz: '082f38cd60fd7ba9add5bb4f7ea5f8ff5115bc8b930b126c42478f3e8e4f88255e32592271e5a6a4c46532ae839578c167c6b0f101ebb98f11b00f7e5cc2149d'
7
+ data.tar.gz: 1a6bf3171d1d8a0139de64e09c487858e2a45d8974969b2f3183df227fd41a911e5a516aaa48953b97b247529e9147d9f480663c7be6559040f263d01387bc8a
@@ -1,3 +1,8 @@
1
+ 2.1.1
2
+ -----
3
+
4
+ - Mount engine use `prepend` method to get high priority in config/routes.rb.
5
+
1
6
  2.1.0
2
7
  -----
3
8
 
@@ -4,8 +4,8 @@ module RuCaptcha
4
4
 
5
5
  initializer 'rucaptcha.init' do |app|
6
6
  # https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_dispatch/routing/route_set.rb#L268
7
- # `app.routes.append` start from Rails 3.2 - 5.0
8
- app.routes.append do
7
+ # `app.routes.prepend` start from Rails 3.2 - 5.0
8
+ app.routes.prepend do
9
9
  mount RuCaptcha::Engine => '/rucaptcha'
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module RuCaptcha
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rucaptcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties