ayah_integration 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ module AYAH
28
28
  #
29
29
  # @return [String] the HTML string
30
30
  def get_publisher_html
31
- "<div id='AYAH'></div><script src='https://#{@ayah_server}/ws/script/#{@publisher_key}'></script>"
31
+ "<div id='AYAH'></div><script src='https://#{@ayah_server}/ws/script/#{@publisher_key}' type='text/javascript' language='JavaScript'></script>"
32
32
  end
33
33
 
34
34
  # returns the score of the current session
@@ -16,7 +16,7 @@ class AYAHIntegrationTest < Test::Unit::TestCase
16
16
 
17
17
  def test_score_result_for_neg_ten
18
18
  result = @ayah.score_result(@session_secret, '127.0.0.1')
19
- assert_equal(-10, @ayah.__score_result_status_code)
19
+ assert_equal(-100, @ayah.__score_result_status_code)
20
20
  assert_equal(false, @ayah.passed)
21
21
  end
22
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ayah_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-13 00:00:00.000000000Z
12
+ date: 2011-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &2156405940 !ruby/object:Gem::Requirement
16
+ requirement: &19649220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156405940
24
+ version_requirements: *19649220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &2156405400 !ruby/object:Gem::Requirement
27
+ requirement: &19648644 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2156405400
35
+ version_requirements: *19648644
36
36
  description: Integrate the AreYouAHuman.com CAPTCHA alternative human verification
37
37
  into your Ruby/Rails application
38
38
  email: plugins@areyouahuman.com
@@ -65,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  requirements: []
67
67
  rubyforge_project:
68
- rubygems_version: 1.8.10
68
+ rubygems_version: 1.8.16
69
69
  signing_key:
70
70
  specification_version: 3
71
71
  summary: AreYouAHuman.com CAPTCHA alternative integration library
72
72
  test_files: []
73
- has_rdoc: