gaman 0.1.0 → 0.1.1

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: deca16c0bb57406672e8d5d5e2f3dd4e59af2db0
4
- data.tar.gz: 6d12b338d25b62025f62c9ce7d969823d8c81141
3
+ metadata.gz: 2bfff483fd003fcce776b4f225f452c5caa70370
4
+ data.tar.gz: fc8ea165cd950277e504fc8a59e507467082ee0c
5
5
  SHA512:
6
- metadata.gz: b770b1d1315d19654781b3361c7291a4ee3bc2e0367ea10ff71d6dd4e679b4323f4f74d70aa3f9235a26fad14183eb77bc3ed3d95b26ce6f1e156d41ed5e1db6
7
- data.tar.gz: 95aa3689a4cba39b49435d890a304ed9c921c7c1e30dfa1efd0412eafccb7faa0feec862200ac2e4e29afd855531f9c125539194e18eda94120578b74177b2e6
6
+ metadata.gz: b03229e348939c6d296512d57f3aca0052202332c9f0876f538304f4b7f8da89acbbad93affe2a4d070a83515c14a914e20fee78cf81388d957f3d6c4c193140
7
+ data.tar.gz: 8682394d12cb2941175cd40a08ad4481c0b7fdf9e55b9dc945ab7d16e639a4ab5462225cc0eefedb200a749115ed60be530ad567c585608e45c8d3b45bdb670f
data/bin/gaman CHANGED
@@ -2,5 +2,3 @@
2
2
 
3
3
  require 'gaman'
4
4
  Gaman::Foo.start(ARGV)
5
-
6
- puts "Hello from gaman"
@@ -6,24 +6,16 @@ require 'gaman/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "gaman"
8
8
  spec.version = Gaman::VERSION
9
- spec.authors = ["Cao Quang Binh"]
9
+ spec.authors = ["CAO Quang Binh"]
10
10
  spec.email = ["binhcq@asiantech.vn"]
11
11
 
12
12
  spec.summary = %q{Github account manager.}
13
13
  spec.description = %q{Switch ssh github.}
14
14
  spec.license = "MIT"
15
15
 
16
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
- # delete this section to allow pushing this gem to any host.
18
- # if spec.respond_to?(:metadata)
19
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
20
- # else
21
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
- # end
23
-
24
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
- spec.bindir = "exe"
26
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
27
19
  spec.require_paths = ["lib"]
28
20
 
29
21
  spec.add_development_dependency "bundler", "~> 1.10"
@@ -2,10 +2,10 @@ require 'thor'
2
2
 
3
3
  module Gaman
4
4
  class Foo < Thor
5
- desc "hello NAME", "This will greet you"
5
+ desc "bar NAME", "This will greet you"
6
6
  long_desc <<-HELLO_WORLD
7
7
 
8
- `hello NAME` will print out a message to the person of your choosing.
8
+ `bar NAME` will print out a message to the person of your choosing.
9
9
 
10
10
  Brian Kernighan actually wrote the first "Hello, World!" program
11
11
  as part of the documentation for the BCPL programming language
@@ -1,3 +1,3 @@
1
1
  module Gaman
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Gaman do
4
+ it 'has a version number' do
5
+ expect(Gaman::VERSION).not_to be nil
6
+ end
7
+
8
+ it 'does something useful' do
9
+ expect(false).to eq(true)
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'gaman'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Cao Quang Binh
7
+ - CAO Quang Binh
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
@@ -69,7 +69,10 @@ dependencies:
69
69
  description: Switch ssh github.
70
70
  email:
71
71
  - binhcq@asiantech.vn
72
- executables: []
72
+ executables:
73
+ - console
74
+ - gaman
75
+ - setup
73
76
  extensions: []
74
77
  extra_rdoc_files: []
75
78
  files:
@@ -88,6 +91,8 @@ files:
88
91
  - lib/gaman.rb
89
92
  - lib/gaman/cli.rb
90
93
  - lib/gaman/version.rb
94
+ - spec/gaman_spec.rb
95
+ - spec/spec_helper.rb
91
96
  homepage:
92
97
  licenses:
93
98
  - MIT
@@ -112,5 +117,7 @@ rubygems_version: 2.4.5.1
112
117
  signing_key:
113
118
  specification_version: 4
114
119
  summary: Github account manager.
115
- test_files: []
120
+ test_files:
121
+ - spec/gaman_spec.rb
122
+ - spec/spec_helper.rb
116
123
  has_rdoc: