amanogawa 0.0.1 → 0.0.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 -0
- data/amanogawa.gemspec +0 -1
- data/bin/amanogawa +10 -6
- data/lib/amanogawa.rb +1 -1
- data/lib/amanogawa/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0ff0070d1d745cf79c817206535e0e9248db9fa
|
4
|
+
data.tar.gz: 529b04e493e35488c2859d1863da01d7b4628943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf85c97990f5c6b2211123e7a5ce70463ab1348b12f05e4fdb5f170fdc28547610f3084a02dd83659282f9067bce8b899911ae518ed15dcf8003e98fb7a19f35
|
7
|
+
data.tar.gz: d6c4ccf989f3c58f952a9177329d6ce39cf8c4ded907eb460570e9684185a07000813206fbeef3f13ea10c15c6e3b27e4a6f8fa72d73e851b42a9b7ece873f7b
|
data/README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
# Amanogawa
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/amanogawa.svg)](http://badge.fury.io/rb/amanogawa)
|
2
3
|
|
3
4
|
Listing GitHub repositories which you starred.
|
4
5
|
|
6
|
+
![amanogawa](https://cloud.githubusercontent.com/assets/116996/6059979/231f04be-ad7b-11e4-8f75-03b7a8590a8c.gif)
|
7
|
+
|
5
8
|
## Installation
|
6
9
|
|
7
10
|
Add this line to your application's Gemfile:
|
data/amanogawa.gemspec
CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_runtime_dependency "octokit", "~> 3.0"
|
22
22
|
spec.add_runtime_dependency "netrc"
|
23
|
-
spec.add_runtime_dependency "oj"
|
24
23
|
spec.add_runtime_dependency "slop", "~> 4.0"
|
25
24
|
|
26
25
|
spec.add_development_dependency "bundler", "~> 1.7"
|
data/bin/amanogawa
CHANGED
@@ -4,12 +4,16 @@ require 'slop'
|
|
4
4
|
require 'amanogawa'
|
5
5
|
|
6
6
|
opts = Slop.parse do |o|
|
7
|
-
o.string '-t'
|
8
|
-
o.string '-u'
|
9
|
-
o.string '-p'
|
10
|
-
o.string '-f'
|
11
|
-
o.bool
|
12
|
-
o.bool
|
7
|
+
o.string '-t' , '--token' , 'oauth access token'
|
8
|
+
o.string '-u' , '--username' , 'github username'
|
9
|
+
o.string '-p' , '--password' , 'github password'
|
10
|
+
o.string '-f' , '--format' , 'output format', default: "%f - %d"
|
11
|
+
o.bool '--sync' , 'Sync starred repositories'
|
12
|
+
o.bool '--fetch' , 'Fetch GitHub API actually, No use local cache'
|
13
|
+
o.on '-h' , '--help' , 'Show help' do
|
14
|
+
puts o
|
15
|
+
exit
|
16
|
+
end
|
13
17
|
end
|
14
18
|
|
15
19
|
if opts[:sync]
|
data/lib/amanogawa.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'octokit'
|
2
|
-
require 'oj'
|
3
2
|
require 'fileutils'
|
4
3
|
require "amanogawa/version"
|
5
4
|
|
@@ -12,6 +11,7 @@ class Amanogawa
|
|
12
11
|
"%u" => "url",
|
13
12
|
"%s" => "ssh_url",
|
14
13
|
"%g" => "git_url",
|
14
|
+
"%h" => "homepage",
|
15
15
|
"%C" => "created_at",
|
16
16
|
"%P" => "pushed_at",
|
17
17
|
"%U" => "updated_at",
|
data/lib/amanogawa/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amanogawa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joker1007
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: oj
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: slop
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|