gsrd 0.1.1 → 0.1.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 +4 -4
- data/bin/gsrd +19 -0
- data/lib/gsrd.rb +0 -2
- data/lib/gsrd/version.rb +1 -1
- metadata +8 -14
- data/.gitignore +0 -10
- data/Gemfile +0 -4
- data/Rakefile +0 -1
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/gsrd.gemspec +0 -24
- data/images/logo.png +0 -0
- data/images/option.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0f29b00717a5ba7085235c64161922d7ee217fa
|
4
|
+
data.tar.gz: 026d3f9096fd322f7c2cccfae99cec74f98b8ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2ec08b1c91bcbef5263f7ee2afccfc9f66d1c06a99da1a4f1a4acd3fa01c60954f94d8e901172a84a4632c1c9e7c1e15fce64fe06a78812fb6802e75f34fb30
|
7
|
+
data.tar.gz: 73329271b4938e701f31f61b454f09383e0c5051a33411d7eeb55c62190a77c505a5e9400175dd89740707fb254013c6aa27fcdfac91b19db63fd529e4bfa27b
|
data/bin/gsrd
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "gsrd"
|
5
|
+
|
6
|
+
if ARGV.empty?
|
7
|
+
|
8
|
+
begin
|
9
|
+
raise ArgumentError
|
10
|
+
rescue Exception => ex
|
11
|
+
puts "\nERROR: You must provide your access_token.\nCheck it out @ https://github.com/LeonardoCardoso/gsrd#getting-your-credential\n\n"
|
12
|
+
end
|
13
|
+
|
14
|
+
exit
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
gsrd = Download.new(ARGV[0])
|
19
|
+
gsrd.go()
|
data/lib/gsrd.rb
CHANGED
data/lib/gsrd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsrd
|
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
|
- Leonardo Cardoso
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -56,20 +56,14 @@ description: This gem downloads your public starred repos. Just in case you want
|
|
56
56
|
keep a backup of them from time to time
|
57
57
|
email:
|
58
58
|
- leo@leocardz.com
|
59
|
-
executables:
|
59
|
+
executables:
|
60
|
+
- gsrd
|
60
61
|
extensions: []
|
61
62
|
extra_rdoc_files: []
|
62
63
|
files:
|
63
|
-
- ".gitignore"
|
64
|
-
- Gemfile
|
65
64
|
- LICENSE
|
66
65
|
- README.md
|
67
|
-
-
|
68
|
-
- bin/console
|
69
|
-
- bin/setup
|
70
|
-
- gsrd.gemspec
|
71
|
-
- images/logo.png
|
72
|
-
- images/option.png
|
66
|
+
- bin/gsrd
|
73
67
|
- lib/gsrd.rb
|
74
68
|
- lib/gsrd/version.rb
|
75
69
|
homepage: https://github.com/LeonardoCardoso/gsrd
|
@@ -84,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
78
|
requirements:
|
85
79
|
- - ">="
|
86
80
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
81
|
+
version: 1.9.3
|
88
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
83
|
requirements:
|
90
84
|
- - ">="
|
@@ -92,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
86
|
version: '0'
|
93
87
|
requirements: []
|
94
88
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.6.6
|
96
90
|
signing_key:
|
97
91
|
specification_version: 4
|
98
92
|
summary: GitHub Starred Repos Downloader
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "gsrd"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/gsrd.gemspec
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'gsrd/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "gsrd"
|
8
|
-
spec.version = Gsrd::VERSION
|
9
|
-
spec.authors = ["Leonardo Cardoso"]
|
10
|
-
spec.email = ["leo@leocardz.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{GitHub Starred Repos Downloader}
|
13
|
-
spec.description = %q{This gem downloads your public starred repos. Just in case you want to keep a backup of them from time to time}
|
14
|
-
spec.homepage = "https://github.com/LeonardoCardoso/gsrd"
|
15
|
-
spec.license = "MIT"
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.bindir = "exe"
|
18
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_dependency 'httparty', '~> 0.13.7'
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
-
end
|
data/images/logo.png
DELETED
Binary file
|
data/images/option.png
DELETED
Binary file
|