Permalink
Browse files

Stop using translate API, start using scraping google translate

  • Loading branch information...
1 parent 0288e94 commit 4e6efb6e37ef46c8504c1ec3a9bb08a60bf6acf1 Alexander Shvets committed Oct 12, 2011
Showing with 283 additions and 180 deletions.
  1. +13 −35 .idea/google-translate.iml
  2. +1 −1 .idea/misc.xml
  3. +185 −80 .idea/workspace.xml
  4. +5 −1 CHANGES
  5. +0 −1 Gemfile
  6. +1 −5 Gemfile.lock
  7. +1 −1 VERSION
  8. +27 −20 google-translate.gemspec
  9. +44 −30 lib/google_translate.rb
  10. +6 −6 spec/translate_spec.rb
@@ -50,41 +50,19 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" name="[gem] columnize (v0.3.1, null)" level="application" />
- <orderEntry type="library" name="[gem] gemcutter (v0.5.0, null)" level="application" />
- <orderEntry type="library" name="[gem] google-translate (v0.6.4, null)" level="application" />
- <orderEntry type="library" name="[gem] google_translate (v0.0.3, null)" level="application" />
- <orderEntry type="library" name="[gem] json_pure (v1.4.2, null)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] linecache (v0.43, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/linecache-0.43)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] mechanize (v1.0.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/mechanize-1.0.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] mocha (v0.9.8, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/mocha-0.9.8)" level="application" />
- <orderEntry type="library" name="[gem] net-scp (v1.0.2, null)" level="application" />
- <orderEntry type="library" name="[gem] net-ssh (v2.0.22, null)" level="application" />
- <orderEntry type="library" name="[gem] nokogiri (v1.4.1, null)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rake (v0.8.7, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299@global/gems/rake-0.8.7)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rcov (v0.9.8, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/rcov-0.9.8)" level="application" />
- <orderEntry type="library" name="[gem] rdoc (v2.5.7, null)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rspec (v1.3.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/rspec-1.3.0)" level="application" />
- <orderEntry type="library" name="[gem] ruby-debug (v0.10.3, null)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] ruby-debug-base (v0.10.3, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/ruby-debug-base-0.10.3)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] ruby-debug-ide (v0.4.9, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/ruby-debug-ide-0.4.9)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/bundler-1.0.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] json_pure (v1.4.6, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/json_pure-1.4.6)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] gemcutter (v0.6.1, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/gemcutter-0.6.1)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] jeweler (v1.4.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/jeweler-1.4.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rcov (v0.9.9, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/rcov-0.9.9)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] git (v1.2.5, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/git-1.2.5)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] gemcutter (v0.6.1, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/gemcutter-0.6.1)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] json_pure (v1.4.6, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/json_pure-1.4.6)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rubyforge (v2.0.4, /Users/oshvets/.rvm/gems/ruby-1.8.7-p299/gems/rubyforge-2.0.4)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.7, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/bundler-1.0.7)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] jeweler (v1.5.1, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/jeweler-1.5.1)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rspec (v2.1.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/rspec-2.1.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-mocks (v2.1.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/rspec-mocks-2.1.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-expectations (v2.1.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/rspec-expectations-2.1.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] diff-lcs (v1.1.2, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/diff-lcs-1.1.2)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-core (v2.1.0, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@ruby-test-examples/gems/rspec-core-2.1.0)" level="application" />
- <orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.3, /Users/oshvets/.rvm/gems/ruby-1.8.7-p302@global/gems/bundler-1.0.3)" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="jeweler (v1.5.1, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rcov (v0.9.9, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.1.0, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.1.0, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v0.9.9, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.2, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.1.0, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.6.1, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rake (v0.8.7, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="git (v1.2.5, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.1.0, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.6.1, RVM: ruby-1.8.7-p352 [google-translate]) [gem]" level="application" />
</component>
</module>
View
@@ -9,7 +9,7 @@
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
- <component name="ProjectRootManager" version="2" project-jdk-name="Ruby SDK 1.8.7-p302 [ruby-test-examples]" project-jdk-type="RUBY_SDK" />
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.8.7-p352 [google-translate]" project-jdk-type="RUBY_SDK" />
<component name="SvnBranchConfigurationManager">
<option name="mySupportsUserInfoFilter" value="true" />
</component>
Oops, something went wrong. Retry.

0 comments on commit 4e6efb6

Please sign in to comment.