bing_translator 4.2.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +13 -5
  2. data/lib/bing_translator.rb +1 -1
  3. metadata +5 -6
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c47210ab956062ed129494ee00ddea3a5bef49b9
4
- data.tar.gz: 4de26bfdc79fbbca80aaeea72ff5bc5a278604b5
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmRkZDUyODlmN2Y3ZTgzNDc4NWJiOWM2OTkwZDA3OGQ2ODhlZGJhZA==
5
+ data.tar.gz: !binary |-
6
+ NGJmZDExNTgxOWZlNDZhNDhlZWIzMmYwMjEyYTEyNTk4MmM3ZTE0MA==
5
7
  SHA512:
6
- metadata.gz: 9b58e734f08077b607401d5b5552340ab7d96ae43a4bf731d3241fb6f941486e9257e2b446adc256a0035f8b490ef1b53ec3e6854898055d4184620df4feffde
7
- data.tar.gz: b4a3ed05526f260e858144f471797324f6858e471b2b6b042e7ebd0935307633807dde5f70b464da21ae60437cd9cd195387ddf94f7388b6ee072b71da2d273f
8
+ metadata.gz: !binary |-
9
+ YTBiOTFjMjY3ZmQ1MTYzYzJmYzAzN2VhMDUyMzFhMThiM2JlMThlYzViOWU3
10
+ NjA3NWU0YzQ2MjZkZjcwNGE4NzM4ZjU0NGRjYmI1ODczMmRlNzg0NjY5M2Nj
11
+ YzVjYjViNzg3OWQzMzNkMmU1ODkzYmQ2YzA0NjM1YzViNDdiYTU=
12
+ data.tar.gz: !binary |-
13
+ NTIwMDZlM2U2M2Q3MzdkZGQxMTJhYzE3MTY3MjdjN2MxZTU0YTIxZGM4M2U4
14
+ N2M3MWRkYmU2NzQ2ZmZhNmViNGVmYThmMzNmOGI5OTg1NzgwMGE5Y2IzNzMy
15
+ ODEzOGQ1Y2RkY2ZkYzBlOTgxZGQ0MGZmYzhjN2UxYjllNDJlZDU=
@@ -74,7 +74,7 @@ class BingTranslator
74
74
  http.use_ssl = true
75
75
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @skip_ssl_verify
76
76
  end
77
- results = http.get(uri, {'Authorization' => "Bearer #{get_access_token['access_token']}"})
77
+ results = http.get(uri.to_s, {'Authorization' => "Bearer #{get_access_token['access_token']}"})
78
78
 
79
79
  if results.response.code.to_i == 200
80
80
  results.body
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bing_translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricky Elrod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-14 00:00:00.000000000 Z
11
+ date: 2013-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -70,19 +70,18 @@ require_paths:
70
70
  - lib
71
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - '>='
78
+ - - ! '>='
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.0.5
83
+ rubygems_version: 2.1.11
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Translate using the Bing HTTP API
87
87
  test_files: []
88
- has_rdoc: