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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dee17678721f1d54c17ca8d6ee757d8f74bb78ae
4
- data.tar.gz: 4ddd609701f47f58982545780b112486239ae09a
3
+ metadata.gz: e0f29b00717a5ba7085235c64161922d7ee217fa
4
+ data.tar.gz: 026d3f9096fd322f7c2cccfae99cec74f98b8ca8
5
5
  SHA512:
6
- metadata.gz: f68d71bb5bae311e5bde077d553d54351bb91dd8c2e9d3e850e513c1e3c8dbc503ce834dc26a82d49e18ee0952ce53c72641bf7016bf4f92809559319f536f76
7
- data.tar.gz: 93c364e5aeb6c734a9b110f20c6d6dddeb631722fc30691c7d1ae5a2936fced195d5c07988ed7e0ee5c8b6f52a6af7c8118e050758fc2f58c7573ad06478dbb9
6
+ metadata.gz: f2ec08b1c91bcbef5263f7ee2afccfc9f66d1c06a99da1a4f1a4acd3fa01c60954f94d8e901172a84a4632c1c9e7c1e15fce64fe06a78812fb6802e75f34fb30
7
+ data.tar.gz: 73329271b4938e701f31f61b454f09383e0c5051a33411d7eeb55c62190a77c505a5e9400175dd89740707fb254013c6aa27fcdfac91b19db63fd529e4bfa27b
@@ -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()
@@ -1,5 +1,3 @@
1
- require "gsrd/version"
2
-
3
1
  module Gsrd
4
2
 
5
3
  if ARGV.empty?
@@ -1,3 +1,3 @@
1
1
  module Gsrd
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Cardoso
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
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
- - Rakefile
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: '0'
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.4.8
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
@@ -1,10 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- gsrd-downloads
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in gsrd.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -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
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
@@ -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
Binary file
Binary file