shvets-google_translate 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -8,3 +8,7 @@
8
8
  == Version 0.5.6
9
9
 
10
10
  * Adding support for ruby 1.9.x
11
+
12
+ == Version 0.5.7
13
+
14
+ * Removing text duplication for help
data/Rakefile CHANGED
@@ -36,6 +36,12 @@ Rcov::RcovTask.new do |task|
36
36
  task.verbose = true
37
37
  end
38
38
 
39
+ desc "Run gem code locally"
40
+ task :"run:gem" do
41
+ command = "bin/translate " + ENV['params']
42
+ puts ruby "#{command}"
43
+ end
44
+
39
45
  desc "test gem compatibility with github"
40
46
  task :"github:validate" do
41
47
  require 'yaml'
data/bin/translate CHANGED
@@ -21,7 +21,7 @@ class Translate
21
21
  end
22
22
 
23
23
  def print_languages list, title
24
- puts USAGE
24
+ puts title
25
25
  puts list.join(', ')
26
26
  end
27
27
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{google_translate}
5
- s.version = "0.5.6"
5
+ s.version = "0.5.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shvets-google_translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets