painful_translate 0.0.2 → 0.0.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: c42b3128f72197baf674d64d54a3edbc9a1ecdf5
4
- data.tar.gz: e9127b42d7976eec55a8b63446e1fb284b60d843
3
+ metadata.gz: 401ed7fa2bff76cacb6e854aca3dc0d435272472
4
+ data.tar.gz: 56f0c8a2d50e9d60f86501e311b712bd02388ecc
5
5
  SHA512:
6
- metadata.gz: 7de36b3b486301ac602215e8cadde9088474856f7d549f1f116134eb23607afd565d9bf074f38c7c1e7a5a70dd72678a73efe2ab4371e719dc05d863cc97ce1f
7
- data.tar.gz: 101702960a01d027674e691b4a3eca9daee6c8a0ce49fbe1bbc5a7b771dc7008f124df09eec7c1d0194fb3353b6126fca034c8971a47ef796a54f77ba6532248
6
+ metadata.gz: bba85c5d02dd541540849a1275240a6d039056287808eca54af493ac96f8acc028050b4e143deefdada9ff4b5eec097810e6154cc952ea5ba6649d786cd362b4
7
+ data.tar.gz: 184b493ad8d6d9f3a1da2083f1e0ba03175dc3b8131c220fd2319289aedf8bc4cabaf4c87a5cee0a1bc5b48aca414e70b14d8fade5e59edadc3fffe4fddb69e7
data/README.md CHANGED
@@ -53,7 +53,7 @@ This gem will open up selenium via capybara which, for most of you, will mean it
53
53
 
54
54
  I suggest this thing be used to make seed files and whatnot for nascent rails projects, and not actively in production.
55
55
 
56
- Because the scumbag engineers at Google are getting smart with users rapidly hitting their translate site, we now refresh the session each time and sleep 3 seconds for the page to load. Go grab a drink while you wait.
56
+ Because the scumbag engineers at Google are getting smart with users rapidly hitting their translate site, we now refresh the session each time and sleep 2 seconds for the page to load. Go grab a drink while you wait.
57
57
 
58
58
  ---
59
59
 
@@ -1,10 +1,9 @@
1
- require 'singleton'
2
1
  class PainfulTranslate::Client
3
2
  class NoTargetLanguage < StandardError; end
4
3
 
5
4
  class << self
6
5
  def instance
7
- new
6
+ @instance ||= new
8
7
  end
9
8
  end
10
9
 
@@ -1,3 +1,3 @@
1
1
  module PainfulTranslate
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: painful_translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Chen