tgfa 1.1.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5291db9fc8ebc1ab41a07424cb9beeaa79fb2dd
4
- data.tar.gz: 7b80c58d479952a0873999b3b8126e82829d6e54
3
+ metadata.gz: f4d540fa0d0f8855241c55056463413fd78e3a88
4
+ data.tar.gz: 444d8e50b6df263bb92c9be3de7a1149b9dca15a
5
5
  SHA512:
6
- metadata.gz: c20473de5a4372f2c626093be0b7c8760324252bbf8217e28be5b8d8834a4d678b953f4b880bb42452d52b2f81c5ee8cb20e08c8208dc9c9535f87ba9181f687
7
- data.tar.gz: f2ca3bd63c237ac21f13149aef102c4d872254cbf97d52edcaa0e588239055c6cc64c0c279dd0fecc5cf9f044e9626548b2dbda75f6c31099e777436977109fd
6
+ metadata.gz: 4f7fcda54e743546017ca70a9886edfa8c7d2eb4d69112fa65d4443e7e61e89a1ea2647749b1bd5cde39dba66b8247314615b047d9b279c9bcf29ed8c957c91a
7
+ data.tar.gz: 921e1d8aaca0a209635dc4613c997f85cbd508320bf9a86eae09b177645442f671aa7bbdc09ddc8b0c09248ddb91178e8cb4b87484a9f56da30abe4f730868ef
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- require 'rake/testtask'
2
-
3
- Rake::TestTask.new do |t|
4
- t.libs << 'test'
5
- end
6
-
7
- desc "Run tests"
8
- task :default => :test
1
+ require 'rake/testtask'
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << 'test'
5
+ end
6
+
7
+ desc "Run tests"
8
+ task :default => :test
data/bin/tgfa CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'tgfa'
4
- puts Tgfa.hi(ARGV[0])
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tgfa'
4
+ puts Tgfa.hi(ARGV[0])
@@ -1,8 +1,8 @@
1
- class Tgfa
2
- def self.hi(language)
3
- translator = Translator.new(language)
4
- translator.hi
5
- end
6
- end
7
-
8
- require 'tgfa/translator'
1
+ class Tgfa
2
+ def self.hi(language)
3
+ translator = Translator.new(language)
4
+ translator.hi
5
+ end
6
+ end
7
+
8
+ require 'tgfa/translator'
@@ -1,18 +1,18 @@
1
- class Tgfa::Translator
2
- def initialize(language = "english")
3
- @language = language
4
- end
5
-
6
- def hi
7
- case @language
8
- when "spanish"
9
- "hola mundo"
10
- when "indonesia"
11
- "halo dunia"
12
- when "korean"
13
- "anyoung ha se yo"
14
- else
15
- "hello world"
16
- end
17
- end
18
- end
1
+ class Tgfa::Translator
2
+ def initialize(language = "english")
3
+ @language = language
4
+ end
5
+
6
+ def hi
7
+ case @language
8
+ when "spanish"
9
+ "hola mundo"
10
+ when "indonesia"
11
+ "halo dunia"
12
+ when "korean"
13
+ "anyoung ha se yo"
14
+ else
15
+ "hello world"
16
+ end
17
+ end
18
+ end
data/readme.md CHANGED
@@ -1,5 +1,7 @@
1
- # Sync SF
1
+ # tgfa gem
2
2
 
3
- [![build status](http://ci.tgfa.net/projects/2/status.png?ref=master)](http://ci.tgfa.net/projects/2?ref=master) [![Gem Version](https://badge.fury.io/rb/sync-sf.png)](http://badge.fury.io/rb/sync-sf)
3
+ [![build status](http://ci.tgfa.net/projects/13/status.png?ref=master)](http://ci.tgfa.net/projects/13?ref=master) [![Gem Version](https://badge.fury.io/rb/tgfa.png)](http://badge.fury.io/rb/tgfa)
4
4
 
5
- helping manage project web shell sourceforge repostory
5
+ command line for manage git projects on tgfa.net
6
+
7
+ `gem install tgfa`
@@ -1,19 +1,19 @@
1
- require 'test/unit'
2
- require 'tgfa'
3
-
4
- class TgfaTest < Test::Unit::TestCase
5
- def test_english_hello
6
- assert_equal "hello world", Tgfa.hi("english")
7
- end
8
-
9
- def test_any_hello
10
- assert_equal "hello world", Tgfa.hi("ruby")
11
- end
12
-
13
- def test_spanish_hello
14
- assert_equal "hola mundo", Tgfa.hi("spanish")
15
- end
16
- def test_indonesia_hello
17
- assert_equal "halo dunia", Tgfa.hi("indonesia")
18
- end
19
- end
1
+ require 'test/unit'
2
+ require 'tgfa'
3
+
4
+ class TgfaTest < Test::Unit::TestCase
5
+ def test_english_hello
6
+ assert_equal "hello world", Tgfa.hi("english")
7
+ end
8
+
9
+ def test_any_hello
10
+ assert_equal "hello world", Tgfa.hi("ruby")
11
+ end
12
+
13
+ def test_spanish_hello
14
+ assert_equal "hola mundo", Tgfa.hi("spanish")
15
+ end
16
+ def test_indonesia_hello
17
+ assert_equal "halo dunia", Tgfa.hi("indonesia")
18
+ end
19
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tgfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sugeng tigefa
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-21 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: command line for manage git projects on tgfa.net
14
14
  email: sugeng@tigefa.org
@@ -29,7 +29,7 @@ homepage: http://tgfa.net/tgfa/tgfa
29
29
  licenses:
30
30
  - MIT
31
31
  metadata: {}
32
- post_install_message:
32
+ post_install_message:
33
33
  rdoc_options: []
34
34
  require_paths:
35
35
  - lib
@@ -44,11 +44,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  requirements: []
47
- rubyforge_project:
48
- rubygems_version: 2.2.1
49
- signing_key:
47
+ rubyforge_project:
48
+ rubygems_version: 2.2.2
49
+ signing_key:
50
50
  specification_version: 4
51
51
  summary: command line manage projects on tgfa.net
52
52
  test_files:
53
53
  - test/test_tgfa.rb
54
- has_rdoc: