bones 3.8.4 → 3.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.tool-versions +1 -0
- data/History.txt +6 -0
- data/Rakefile +2 -2
- data/lib/bones/app/file_manager.rb +1 -1
- data/lib/bones/plugins/gem.rb +1 -7
- data/version.txt +1 -1
- metadata +10 -11
- data/.gitignore +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4ae61d7e3455091c7a579eb743beb58a2f420105978d1f82c652918df3cecd0d
|
4
|
+
data.tar.gz: 7bda1f37c9f3a8775c81228432d6fe6b7ebf622f85a0b36604f45f1227b2379c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d45ee086cbc272d690e50ef1fa081867e3b9ced46307edc71c3011ce89a27d1dae1246fe28c0270736a93d02434bc4c642d8362b066867c5adfd5a5091209ed
|
7
|
+
data.tar.gz: 2cea0c0569519433f6db551bfec267ecef661c40ce73e255dbf96bd75b97769e53e387f59722b4c5ac87ab4d1cf7b98911ac871c44517fdef7b188ef6e8e14b2
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.7.1
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -128,7 +128,7 @@ class FileManager
|
|
128
128
|
new_fn = fn.sub(%r/\.bns$/, '')
|
129
129
|
creating(new_fn)
|
130
130
|
|
131
|
-
txt = ERB.new(File.read(fn),
|
131
|
+
txt = ERB.new(File.read(fn), trim_mode: '-').result(binding)
|
132
132
|
File.open(new_fn, 'w') {|fd| fd.write(txt)}
|
133
133
|
FileUtils.chmod(File.stat(fn).mode, new_fn)
|
134
134
|
FileUtils.rm_f(fn)
|
data/lib/bones/plugins/gem.rb
CHANGED
@@ -21,7 +21,7 @@ module Bones::Plugins::Gem
|
|
21
21
|
if Gem::Specification.respond_to? :find_by_name
|
22
22
|
begin
|
23
23
|
spec = Gem::Specification.find_by_name(name)
|
24
|
-
rescue Gem::LoadError
|
24
|
+
rescue Gem::LoadError
|
25
25
|
end
|
26
26
|
else
|
27
27
|
spec = Gem.source_index.find_name(name).last
|
@@ -149,11 +149,6 @@ module Bones::Plugins::Gem
|
|
149
149
|
s.authors = Array(config.authors)
|
150
150
|
s.email = config.email
|
151
151
|
s.homepage = Array(config.url).first
|
152
|
-
s.rubyforge_project = config.name
|
153
|
-
|
154
|
-
if !config.rubyforge.nil? and config.rubyforge.name
|
155
|
-
s.rubyforge_project = config.rubyforge.name
|
156
|
-
end
|
157
152
|
|
158
153
|
s.description = config.description
|
159
154
|
|
@@ -361,7 +356,6 @@ module Bones::Plugins::Gem
|
|
361
356
|
config.description = spec.description
|
362
357
|
config.files = spec.files
|
363
358
|
config.libs = spec.require_paths
|
364
|
-
config.rubyforge_project = spec.rubyforge_project
|
365
359
|
|
366
360
|
config.gem.executables = spec.executables
|
367
361
|
if have? :rdoc
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.8.
|
1
|
+
3.8.5
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bones
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Pease
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '13.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '13.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '6.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '6.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: little-plugger
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +99,7 @@ extra_rdoc_files:
|
|
99
99
|
- spec/data/rdoc.txt
|
100
100
|
files:
|
101
101
|
- ".autotest"
|
102
|
-
- ".
|
102
|
+
- ".tool-versions"
|
103
103
|
- History.txt
|
104
104
|
- README.rdoc
|
105
105
|
- Rakefile
|
@@ -176,9 +176,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
|
180
|
-
|
181
|
-
signing_key:
|
179
|
+
rubygems_version: 3.1.2
|
180
|
+
signing_key:
|
182
181
|
specification_version: 4
|
183
182
|
summary: Mr Bones is a handy tool that creates new Ruby projects from a code skeleton.
|
184
183
|
test_files: []
|
data/.gitignore
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# git-ls-files --others --exclude-from=.git/info/exclude
|
2
|
-
# Lines that start with '#' are comments.
|
3
|
-
# For a project mostly in C, the following would be a good set of
|
4
|
-
# exclude patterns (uncomment them if you want to use them):
|
5
|
-
# *.[oa]
|
6
|
-
# *~
|
7
|
-
announcement.txt
|
8
|
-
coverage
|
9
|
-
doc
|
10
|
-
pkg
|
11
|
-
manual.txt
|
12
|
-
.yardoc
|
13
|
-
vendor
|