foobara-empty-ruby-project-generator 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/src/write_empty_ruby_project_to_disk.rb +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 817e478ef05f69c023c000f12699acfe791c14974f90c5ed1fe6175814efc442
|
4
|
+
data.tar.gz: 56fc1d66521dbdc6375351ac74a8066edd89a1b7f168a94db43ae894598097c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c79553ba8bc9febc227d7f5e39b8cb690493f2a456f6b378e51ff90bd76c0a4fdbe85b04b350442e38288e4fa762213e8afa78da630dfb80c3c33552031c36
|
7
|
+
data.tar.gz: 8b4281a99bf28c9bcc1bda5832f706373618fec52feb2bae7d56acd829aeedb1ec38556aff172f0f26591d90cddf29fce00a7eb5561bd8c70046ce4ad25a1025
|
data/CHANGELOG.md
CHANGED
@@ -122,10 +122,10 @@ module Foobara
|
|
122
122
|
def git_commit
|
123
123
|
# TODO: set author/name with git config in CI so we don't have to skip this
|
124
124
|
# :nocov:
|
125
|
-
Open3.popen3("git commit -m 'Initial commit'") do |_stdin,
|
125
|
+
Open3.popen3("git commit -m 'Initial commit'") do |_stdin, stdout, stderr, wait_thr|
|
126
126
|
exit_status = wait_thr.value
|
127
127
|
unless exit_status.success?
|
128
|
-
raise "could not git commit -m 'Initial commit'. #{stderr.read}"
|
128
|
+
raise "could not git commit -m 'Initial commit'. OUTPUT\n#{stdout.read}\nERROR:#{stderr.read}"
|
129
129
|
end
|
130
130
|
end
|
131
131
|
# :nocov:
|
@@ -136,7 +136,7 @@ module Foobara
|
|
136
136
|
def github_create_repo
|
137
137
|
puts "pushing to github..."
|
138
138
|
|
139
|
-
cmd = "gh repo create --public --
|
139
|
+
cmd = "gh repo create --public --source=. #{project_config.org_slash_project_kebab}"
|
140
140
|
|
141
141
|
Open3.popen3(cmd) do |_stdin, _stdout, _stderr, wait_thr|
|
142
142
|
exit_status = wait_thr.value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-empty-ruby-project-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foobara
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email:
|
43
43
|
- azimux@gmail.com
|
44
44
|
executables: []
|
@@ -101,7 +101,7 @@ metadata:
|
|
101
101
|
source_code_uri: https://github.com/foobara/empty-ruby-project-generator
|
102
102
|
changelog_uri: https://github.com/foobara/empty-ruby-project-generator/blob/main/CHANGELOG.md
|
103
103
|
rubygems_mfa_required: 'true'
|
104
|
-
post_install_message:
|
104
|
+
post_install_message:
|
105
105
|
rdoc_options: []
|
106
106
|
require_paths:
|
107
107
|
- lib
|
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
119
|
+
rubygems_version: 3.5.22
|
120
|
+
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Generates empty ruby project boilerplate code from a template
|
123
123
|
test_files: []
|