greyatom-cli 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/bin/greyatom +1 -1
- data/lib/greyatom/cli.rb +1 -1
- data/lib/greyatom/options-sanitizer.rb +1 -1
- data/lib/greyatom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c03e810cf13d22f217accec5a6593e95eabc12e
|
4
|
+
data.tar.gz: 1035f339998af9cfdd78d3beedd95ecc7455e88e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40b688c374c772df4854064c86e087753de2c88a2c12f26b3229cc250cf4bb6ab660a07d2be89925232377add909f746158b44eacee4b88dd293ed7161228078
|
7
|
+
data.tar.gz: fd0482e7507e8828eac16cf23b8ef82f2c6858e2d2d7773bbd135b633c71d283a5964207fcb18aa0c52162d140d4a40218bf0374cf92106d6024dbe5cfe9df6e
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
# Greyatom
|
1
|
+
# Greyatom Cli
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
The command line interface for learners at greyatom.com
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,12 +20,10 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
$ greyatom help
|
26
24
|
|
27
25
|
## Development
|
28
26
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
27
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
28
|
|
33
29
|
## Contributing
|
data/bin/greyatom
CHANGED
@@ -18,7 +18,7 @@ netrc = Greyatom::NetrcInteractor.new()
|
|
18
18
|
netrc.read
|
19
19
|
token = netrc.password
|
20
20
|
if token.nil? && COMMANDS_THAT_REQUIRE_OAUTH.include?(ARGV[0])
|
21
|
-
puts 'You are not authorized to use this command. Run `
|
21
|
+
puts 'You are not authorized to use this command. Run `greyatom setup` get started.'
|
22
22
|
exit
|
23
23
|
end
|
24
24
|
|
data/lib/greyatom/cli.rb
CHANGED
@@ -52,7 +52,7 @@ module Greyatom
|
|
52
52
|
Greyatom::Test.new().run
|
53
53
|
end
|
54
54
|
|
55
|
-
desc 'version, -v, --version', 'Display the current version of the
|
55
|
+
desc 'version, -v, --version', 'Display the current version of the Greyatom gem'
|
56
56
|
def version
|
57
57
|
puts Greyatom::Cli::VERSION
|
58
58
|
end
|
@@ -37,7 +37,7 @@ module Greyatom
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def exitWithCannotUnderstand
|
40
|
-
puts "Sorry, I can't understand what you're trying to do. Type `
|
40
|
+
puts "Sorry, I can't understand what you're trying to do. Type `greyatom help` for help."
|
41
41
|
exit
|
42
42
|
end
|
43
43
|
end
|
data/lib/greyatom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greyatom-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- greyatom-edu-tech
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|