rucaptcha 2.1.2 → 2.1.3

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: c6d9266ff43be0180d0257c7df8b00a54e27a7a5
4
- data.tar.gz: db2cd153855a5ac7678b3022edc15f2220f7a765
3
+ metadata.gz: 51c8a512c9e753bf74549211821f381dcbb97464
4
+ data.tar.gz: c074c183fbeee85e221a05fd45398ffef44a573d
5
5
  SHA512:
6
- metadata.gz: f94e248f0dfdf560bdaa4215e334e010bbd81f078e271dd05a4dac5076b8d30c0b3b303179679af8a277659463ca03cfa72f8aad2d68dfe97701841ef3a73fbc
7
- data.tar.gz: 0f8fdc5036fc026a01770b975e2f7a70fa2301e3c389d1f78f51a20631cf3703293f0261515f27f561e87d00b0651668ff00c9c479e24137cb2a5b86a7ad63e7
6
+ metadata.gz: 8997bfca05ece7d0fb5ec808000bcb6bd0d6a9f423e3a37cc464fe4c5bbeeec9d9b4a80f1bd3fdcd97446ae2b75acdd0b965843c6af6873ea3f11d5a6c0a30f6
7
+ data.tar.gz: 93f67bb005cfd26835a27f3d5fc13ed3957dae4c609764bfc766bebe176959f355964fbc699a7fd597bc7aeaf23d9be93c7a25f05284b4aaf13b43a6f6e2aee0
@@ -1,3 +1,8 @@
1
+ 2.1.3
2
+ -----
3
+
4
+ - Windows support fixed with `send_data` method. (#45)
5
+
1
6
  2.1.2
2
7
  -----
3
8
 
@@ -6,12 +6,7 @@ module RuCaptcha
6
6
  headers['Pragma'] = 'no-cache'
7
7
  data = generate_rucaptcha
8
8
  opts = { disposition: 'inline', type: 'image/gif' }
9
-
10
- if Gem.win_platform?
11
- send_file data, opts
12
- else
13
- send_data data, opts
14
- end
9
+ send_data data, opts
15
10
  end
16
11
  end
17
12
  end
@@ -1,3 +1,3 @@
1
1
  module RuCaptcha
2
- VERSION = '2.1.2'
2
+ VERSION = '2.1.3'
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.2
4
+ version: 2.1.3
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-09 00:00:00.000000000 Z
11
+ date: 2017-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 2.6.8
87
+ rubygems_version: 2.6.11
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: This is a Captcha gem for Rails Applications. It drawing captcha image with