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 +4 -4
- data/bin/gaman +0 -2
- data/gaman.gemspec +4 -12
- data/lib/gaman/cli.rb +2 -2
- data/lib/gaman/version.rb +1 -1
- data/spec/gaman_spec.rb +11 -0
- data/spec/spec_helper.rb +2 -0
- metadata +12 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bfff483fd003fcce776b4f225f452c5caa70370
|
4
|
+
data.tar.gz: fc8ea165cd950277e504fc8a59e507467082ee0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03229e348939c6d296512d57f3aca0052202332c9f0876f538304f4b7f8da89acbbad93affe2a4d070a83515c14a914e20fee78cf81388d957f3d6c4c193140
|
7
|
+
data.tar.gz: 8682394d12cb2941175cd40a08ad4481c0b7fdf9e55b9dc945ab7d16e639a4ab5462225cc0eefedb200a749115ed60be530ad567c585608e45c8d3b45bdb670f
|
data/bin/gaman
CHANGED
data/gaman.gemspec
CHANGED
@@ -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 = ["
|
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
|
-
|
17
|
-
|
18
|
-
|
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"
|
data/lib/gaman/cli.rb
CHANGED
@@ -2,10 +2,10 @@ require 'thor'
|
|
2
2
|
|
3
3
|
module Gaman
|
4
4
|
class Foo < Thor
|
5
|
-
desc "
|
5
|
+
desc "bar NAME", "This will greet you"
|
6
6
|
long_desc <<-HELLO_WORLD
|
7
7
|
|
8
|
-
`
|
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
|
data/lib/gaman/version.rb
CHANGED
data/spec/gaman_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
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.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- CAO Quang Binh
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
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:
|