rucaptcha 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
  SHA1:
3
- metadata.gz: 74604d96209cdccdcc9fca4648eaeaf561c4100e
4
- data.tar.gz: f52d2f4d6fe7b5f4ab4a140f44fb36090b586761
3
+ metadata.gz: f9a2ec29d415f469e44f42688627705fea9d9fb1
4
+ data.tar.gz: 36a5267fa06eae4bfe53f7046a4e72db2127c610
5
5
  SHA512:
6
- metadata.gz: bcc2418065d75c27e7153da1334b5ec995f279da0354843e7e286af852b0055b42ce5a1968479790c6179aeafefb4d60d057a72695e27427626a4553b7e6aa3c
7
- data.tar.gz: 943f8421a64440053e8eeef94bf519f0b741ddcfa49413d7589c9a01ce13877c2748b85a674b101bfa6cefa2754f62e18811cbffbae70f15b58bce6f8c53e297
6
+ metadata.gz: 2d1d97a3e1bffe49105835cc42c17039c90b1d32843030c79f20becfbef9c81cef0c380634df1ccca5532e727f6bcb7a2069c831799830da5ef3fc63b9d8fd5c
7
+ data.tar.gz: 552d3a13ff27c6a6f54ca9cbe1d4e9315ef1c469212eee210e8da7fb5d2e09f4f5fbe323ce3de593d37c9428401ad5bd01fcdc2bcd54476231acb6d3f24fa013
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.1.2
2
+ -----
3
+
4
+ - Fix #34 rucaptcha.root_url -> root_path, to avoid generate a http url in a https application.
5
+ - Fix spec to require Ruby 2.0.0, because there have a `Module#prepend` method called.
6
+
1
7
  1.1.1
2
8
  -----
3
9
 
@@ -1,3 +1,3 @@
1
1
  module RuCaptcha
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
@@ -13,7 +13,7 @@ module RuCaptcha
13
13
 
14
14
  def rucaptcha_image_tag(opts = {})
15
15
  opts[:class] = opts[:class] || 'rucaptcha-image'
16
- image_tag(ru_captcha.root_url, opts)
16
+ image_tag(ru_captcha.root_path, opts)
17
17
  end
18
18
  end
19
19
  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: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-29 00:00:00.000000000 Z
11
+ date: 2016-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.9.0
61
+ version: 2.0.0
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ">="