extract-repo 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3787f3d09cc125bd6886cfdde8b80fe9bd8b9fe317649818087dfc8801c9bf19
4
- data.tar.gz: 382f656ea57cb8b96bb49f08e57b501219c2959769622844149737a24b8fe9c1
3
+ metadata.gz: cb1f35a8e4326be22434c39f93d42c2cdeb7f14803c4305a960ef61aab327186
4
+ data.tar.gz: 5596a40671de2dd1b58a4d06613e89ad9ea3cdaa7701ca932c9dd51306ddee0c
5
5
  SHA512:
6
- metadata.gz: ecf4fa0d35ffa4a381a236d4a5afc7642e5dd3029947a5a1215f369e16365705269e4aa0cbca9bd780169816dd3d74e473e485ab383e85922531991b99adb5e9
7
- data.tar.gz: 05e2278170a9894822f4422bb6ed75c5987578732382b1021e446045895c3d249c825e8636d80c9de5be231726cd8ceb6c864c170e2f4019f2ab5e40b7be335b
6
+ metadata.gz: e66d8b47f630703007ae7bce86d0ca08128abae65a71ad8041d149ee52b37687c49ec07872868c97faf6d658ab312afe73f9951e22f173e30d94e8e6b35712e5
7
+ data.tar.gz: ce9d147031b7cff5a07e0d9c2defd13e4cf819135f614c51c392093014cb6a819ea5927b89954365529fc8aac4677886140bf425ff8774ce0d49b26e943fffed
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
- ## [0.0.5] - 2024-10-06
1
+ ## [0.0.7] - 2024-10-18
2
2
 
3
- - Include boot.rb in gem
3
+ - Fix URI bug
4
+
5
+ ## [0.0.6] - 2024-10-06
6
+
7
+ - Include boot files in gem
4
8
 
5
9
  ## [0.0.4] - 2024-09-17
6
10
 
data/boot/finish.rb ADDED
@@ -0,0 +1 @@
1
+ require "extract_repo"
data/boot/start.rb ADDED
@@ -0,0 +1,13 @@
1
+ ENV["FOOBARA_ENV"] ||= "development"
2
+
3
+ if File.exist?("#{__dir__}/../Gemfile")
4
+ # Seems we are not being ran as a gem executable. Let's bundle since we might be in a test or
5
+ # we might be pointed at via path: or some other similar situation.
6
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
7
+ require "bundler/setup"
8
+ end
9
+
10
+ if ENV["FOOBARA_ENV"] == "development" || ENV["FOOBARA_ENV"] == "test"
11
+ require "pry"
12
+ require "pry-byebug"
13
+ end
data/lib/extract_repo.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require "pry"
2
+ require "uri"
2
3
  require "English"
4
+
3
5
  require "foobara/all"
4
6
 
5
7
  # TODO: allow extracting from a local repo and default to that repo as "."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extract-repo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-07 00:00:00.000000000 Z
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -53,6 +53,8 @@ files:
53
53
  - README.md
54
54
  - bin/extract-repo
55
55
  - boot.rb
56
+ - boot/finish.rb
57
+ - boot/start.rb
56
58
  - lib/extract_repo.rb
57
59
  homepage: https://github.com/foobara/extract-repo
58
60
  licenses:
@@ -78,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
80
  - !ruby/object:Gem::Version
79
81
  version: '0'
80
82
  requirements: []
81
- rubygems_version: 3.5.21
83
+ rubygems_version: 3.5.22
82
84
  signing_key:
83
85
  specification_version: 4
84
86
  summary: Extract code from one repository into a new repository, preserving history