github-ripper 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07be0378c5d4f3bb3bc6a425abf44d04aa6c645a4365cf2ca16da9fb662f03c
4
- data.tar.gz: e9ad265ec9bb24a5d2555a85fd239b8d350bcdd26c43674e55db19dcc80f32ca
3
+ metadata.gz: 4bf6a3b0fd437a94efa8abd1102a1b1fc843bb15b5e444c33b1dd6ef0498869f
4
+ data.tar.gz: 3b40136798bf99f93b3841071e87593f095af110f6c279162f4e6dd5a0ec6016
5
5
  SHA512:
6
- metadata.gz: 979ad3fe721c917d639c2fd60187cb4233d40b7fab5904347c41338c012e65a7a1983e6d0c722290c9746ecbc1eb84904c1f57aaeb2bbe1f674bb3304d443f00
7
- data.tar.gz: d0b7a06866c014147afffca387199240185644029b8a69214c88619c816f3ca4797feb96b5999549fac91496fbf708a9b1b0266cb53140be095ac7ee179c9e16
6
+ metadata.gz: c315dab00f58f8999f3f216daca769720349e7c89d0556c69ec9a78652e8780813a17857aa1c9f270eecda5f03caac6259e7326128846078cf8a2f20f865a8f7
7
+ data.tar.gz: 13f092f3a50a538b74bb0b6dbb21051aa58de3425318e05c0df5455bc394d0e2efba5c618aa5661e9f762dd234f0e50caa6a15dd00ddd3d95f555dea94e971ef
data/.travis.yml CHANGED
@@ -93,8 +93,8 @@ matrix:
93
93
  script:
94
94
  - "./reek/scan.sh"
95
95
  - language: ruby
96
- name: YAML Linting (rvm 2.7)
97
- rvm: 2.7
96
+ name: YAML Linting (rvm 3.0)
97
+ rvm: 3.0
98
98
  before_install:
99
99
  - git clone https://github.com/TravisToolbox/yaml-lint
100
100
  install:
@@ -112,8 +112,8 @@ matrix:
112
112
  script:
113
113
  - "./shellcheck/scan.sh"
114
114
  - language: ruby
115
- name: Link Checking (rvm 2.7)
116
- rvm: 2.7
115
+ name: Link Checking (rvm 3.0)
116
+ rvm: 3.0
117
117
  env:
118
118
  - WHITELIST="https://img.shields.io"
119
119
  - EXCLUDE_FILES="CHANGELOG.md,github-lister-core.gemspec"
@@ -126,4 +126,4 @@ matrix:
126
126
  notifications:
127
127
  email: false
128
128
  slack:
129
- secure: SUarMpNZePsGIzmwZq/jCnEa8nKPE31tnsYF7PjihOQNuMjRjQps+fuVqBCm7tyxf+J79mQ7CelID3zwRN8jWP7pF1ZDJEi6tgLfIj6cCW3UlmKdn3+wzilrjxL32nkjaJvpgh+5Sv5y8PaWg2x82Utp97fh4D/x1d2PcYLjKx8g3iC5FxjDxkydC65ERaEZpTCyFskG2obnJBXUCNdO1b+7jJUxIhuPTkdc/wt51mgpEo+iz3GY4aMSBTOA1Ug5lV3vb8ZUS8YrUdC62/nIEToRzO/TqNt/Pyhzpbj3TDAXlmmw/Cvlsbe4ip670d7MLLxUv7Dyb1zB0+UZiHmLo5eivg2OaYKcjqXIQUPSdfh8cDyjVL1+67Qzeoe8QH1NwZ1kncu38aBmHUQSZgekBbE1yF9PxaQWJFxRWt6dkIBBEWUfSVKBZ8f74vJuZjpJQm95OvFxNbqK71yJER9vTfDuUmCOi1+dwYRYeXF0T0S7zju8LQy0EW1rf7QGSFMWVFASMy7i8oJBESQEAAA5ohWPcGeg7mSeEirLPnstyJeNdULXdFYx6YqrCW+DNsDM67SCPRmLseb8bxwFTPQOMi3vtLFDIp5PoGrRbha4YYYJBwO3QCO6XPHRcIe/wNfDC58uc71l2yYkIY4dT119wzqDxznDRiOEgztnwaY/lHw=
129
+ secure: KG21jo2z3wbe2uZXQEHO7qNSK4UeHnYuTPiW5HWAy/uV54eP8Lk9fep54mxtTGlYwzdJFHoMWs6rHBZmK/2OvnJ9gVHG4SfYMdcrtkBVN/TeGKm4U51k7/3ZH7/NYdxyI2iHFkD0AkDBaLsq5xDj0R0rm5f7d9fuED1rd7EiiZzxSJIUteP+KfgByzIucqzQd5jEqxgWYRVXeTxbn1uhKoorC2LcCNt7DxDZagj/Z0vrQiXp1YZ27xdcEriZtj7kinzrhAa2FkFMSI58ApjiTorIGls5U9jdcMJMKi5Tx22rD2w031LEo+dEJEPLIo0IxY7w/8SWtx9LXWNKAOrMcDPlRuGFZObMoOj2lWJKb6lb1smEyGiQ37S2Br2dWRug8FeSDQgNI74YqIaIVp1Mf/PKaNUoF/Dsgn7gGuTUraRJ14UsqfoQgXFjxf4Ycm+ZIVOkipncXyBSkFadDHtKFFBCD0c1/PWnNxSKkjGPknzHgV3VApziRg8ejV8sJzW0JH2UQWf3Q12mvRtBtLqGnyQvQ/ipFTRxZAGbQPltvvDMcaNqamBMR4Ksm4AXucIp8OecCFHZOS6yNKsnTlcXdCZ8jxath3HcaPaZaeWXBBDToe3ZI92JQEHo/sX+grfpaNTL8pvfrs7JFPu32jGWm7LGDjnUxXT+ot83rnfcv7E=
data/CHANGELOG.md CHANGED
@@ -5,9 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
7
7
 
8
+ ### [v0.1.1](https://github.com/DevelopersToolbox/github-ripper/compare/v0.1.0...v0.1.1)
9
+
10
+ > Released on June, 9th 2021
11
+
12
+ - Made the basedir option the file dir without appending /Repos/ to the end [`[head]`](https://github.com/DevelopersToolbox/github-ripper/commit/)
13
+
14
+ - Fix travis rvm versions and slack integration [`[13e051b]`](https://github.com/DevelopersToolbox/github-ripper/commit/13e051b88cf6081e2e47665332f035b77c8c4aea)
15
+
8
16
  ### [v0.1.0](https://github.com/DevelopersToolbox/github-ripper/releases/v0.1.0)
9
17
 
10
18
  > Released on March, 12th 2021
11
19
 
12
- - The initial commit [`[head]`](https://github.com/DevelopersToolbox/github-ripper/commit/)
20
+ - The initial commit [`[d6e8c31]`](https://github.com/DevelopersToolbox/github-ripper/commit/d6e8c3134a2a0f19446da799615aeda8998bc8b4)
13
21
 
data/README.md CHANGED
@@ -103,7 +103,7 @@ Flags:
103
103
  | Option Name | Default Value | Purpose |
104
104
  | ---------------- | -------------- | ------- |
105
105
  | -t, --token | No default | The token used to authenticate yourself (not required but helps remove/mitigate throttling issues) |
106
- | -b, --base-dir | ~/Downloads/ | The directory to place the cloned repos in |
106
+ | -b, --base-dir | ~/Downloads/repos | The directory to place the cloned repos in |
107
107
  | -g, --use-git | False | Use git instead of https to clone the repos, this requires your public key to be configured on GitHub |
108
108
  | -u, --user | No default | The user(s) you wish to rip the repo of (if not supplied defaults to yourself **IF** a token is used) |
109
109
  | -o, --org | No default | The organisation(s) you want to rip the repos of |
data/VERSION.txt CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/github-ripper.rb CHANGED
@@ -25,7 +25,7 @@ class GithubRipper
25
25
  def rip(options = {})
26
26
  # The following is to force github-lister-core to only retun repo slugs
27
27
  options[:use_slugs] = true
28
- options[:base_dir] = "#{File.expand_path('~')}/Downloads" unless get_option(options, :base_dir)
28
+ options[:base_dir] = "#{File.expand_path('~')}/Downloads/Repos" unless get_option(options, :base_dir)
29
29
 
30
30
  repos = get_repo_list(options)
31
31
  results = rip_repos(options, repos)
@@ -22,7 +22,7 @@ class GithubRipper
22
22
  end
23
23
 
24
24
  def repo_full_path(options, repo)
25
- "#{options[:base_dir]}/Repos/#{repo}"
25
+ "#{options[:base_dir]}/#{repo}"
26
26
  end
27
27
 
28
28
  def repo_exists?(repo_path)
@@ -2,5 +2,5 @@
2
2
  # Class docs to go here
3
3
  #
4
4
  class GithubRipper
5
- VERSION = '0.1.0'.freeze
5
+ VERSION = '0.1.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-ripper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-12 00:00:00.000000000 Z
11
+ date: 2021-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  requirements: []
265
- rubygems_version: 3.1.4
265
+ rubygems_version: 3.2.15
266
266
  signing_key:
267
267
  specification_version: 4
268
268
  summary: Ghrip is a command line tool for ripping (cloning) repositories from GitHub