solvemedia 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,6 +127,9 @@ module SolveMedia
127
127
  options = { :validate_response => true,
128
128
  :timeout => 5,
129
129
  }.merge(options)
130
+
131
+ #disregard spam submissions
132
+ return false if (challenge.nil? || challenge.empty? || response.nil? || challenge.nil?)
130
133
 
131
134
  #Send POST to SolveMedia
132
135
  result = nil
@@ -1,3 +1,3 @@
1
1
  module SolveMedia
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,23 +1,28 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: solvemedia
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.1
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Tyler Cunnion
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-11-26 00:00:00.000000000 Z
12
+
13
+ date: 2015-05-08 00:00:00 Z
12
14
  dependencies: []
15
+
13
16
  description: Solve Media CAPTCHA Replacement
14
- email:
17
+ email:
15
18
  - tyler@solvemedia.com
16
19
  executables: []
20
+
17
21
  extensions: []
22
+
18
23
  extra_rdoc_files: []
19
- files:
20
- - .gitignore
24
+
25
+ files:
21
26
  - Gemfile
22
27
  - LICENSE.txt
23
28
  - README.md
@@ -32,26 +37,31 @@ files:
32
37
  - solvemedia.gemspec
33
38
  homepage: http://www.solvemedia.com/
34
39
  licenses: []
35
- metadata: {}
40
+
36
41
  post_install_message:
37
42
  rdoc_options: []
38
- require_paths:
43
+
44
+ require_paths:
39
45
  - lib
40
- required_ruby_version: !ruby/object:Gem::Requirement
41
- requirements:
42
- - - '>='
43
- - !ruby/object:Gem::Version
44
- version: '0'
45
- required_rubygems_version: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - '>='
48
- - !ruby/object:Gem::Version
49
- version: '0'
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
50
58
  requirements: []
59
+
51
60
  rubyforge_project:
52
- rubygems_version: 2.1.11
61
+ rubygems_version: 1.8.23
53
62
  signing_key:
54
- specification_version: 4
55
- summary: Library for implementing the Solve Media CAPTCHA solution. Contains basic
56
- Ruby library plus Railtie for Rails 3+.
63
+ specification_version: 3
64
+ summary: Library for implementing the Solve Media CAPTCHA solution. Contains basic Ruby library plus Railtie for Rails 3+.
57
65
  test_files: []
66
+
67
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: b6db952947e80394a9fa2cd0fd3cf411aeeab69f
4
- data.tar.gz: b72433e90e90419f653925dc707dfab211f5aec0
5
- SHA512:
6
- metadata.gz: 493bd6688ec5736ab23915e074018576cb91a9f2df4054de33a51b9d5bc9f51139d4ea4bbcd1569df2b0f0a2258c4d84d707fbcf3f03c4f00beb0b8155e8ee9f
7
- data.tar.gz: 64378fd7d8f7b307d93184a1e3d843e96a4b340232f76a881ea23eb91ccf32a73ece8840b5249b944fe96f732da64929c6ad7de1071da0e5d7113b3e7bd471e2
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp