expansions 0.4.34 → 0.4.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/expansions/file_merge.rb +1 -1
- data/lib/expansions/version.rb +1 -1
- data/spec/specs/file_merge_spec.rb +2 -2
- data/spec/specs/kernel_spec.rb +2 -2
- metadata +7 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b1eb812bc08443b3690124ff06b7c3160bf53f1b5119a4729133fe0b0c7fadc3
|
4
|
+
data.tar.gz: 4dd15f72d8ea0889e1d3e3527cba52f951b7a56a27bd787de5772a660e9743a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9faf85ebb12b2f665cda089e6de19ba745bd82a392d260e68753db1c6726edc829c6f10e590b406c04be787bad00ec46373f3d9aa23844db916a51cb88490eb1
|
7
|
+
data.tar.gz: 921a5edaeb87e6e6406ca9c1c3c2c55eabc08c0886144097e4959b8cca35cab52a62db9652da70b21c9f766a1b1571955d26815d0230a5e655f929eefdc580b6
|
data/lib/expansions/version.rb
CHANGED
@@ -7,7 +7,7 @@ module Expansions
|
|
7
7
|
let(:output_file){"out_file.rb"}
|
8
8
|
let(:sut){FileMerge.new(output_file)}
|
9
9
|
before (:each) do
|
10
|
-
File.stub(:
|
10
|
+
File.stub(:exist?).with(file).and_return(true)
|
11
11
|
end
|
12
12
|
context "and it is not already in the list" do
|
13
13
|
before (:each) do
|
@@ -36,7 +36,7 @@ module Expansions
|
|
36
36
|
let(:output_file){"out_file.rb"}
|
37
37
|
let(:sut){FileMerge.new(output_file)}
|
38
38
|
before (:each) do
|
39
|
-
File.stub(:
|
39
|
+
File.stub(:exist?).with(file).and_return(true)
|
40
40
|
end
|
41
41
|
|
42
42
|
before (:each) do
|
data/spec/specs/kernel_spec.rb
CHANGED
@@ -27,7 +27,7 @@ describe Expansions do
|
|
27
27
|
|
28
28
|
context "and no block is given" do
|
29
29
|
before (:each) do
|
30
|
-
@result = glob(File.join(RelativeFileSystem.base_path,"
|
30
|
+
@result = glob(File.join(RelativeFileSystem.base_path,"**/**"))
|
31
31
|
end
|
32
32
|
|
33
33
|
it "should return all files in path" do
|
@@ -41,7 +41,7 @@ describe Expansions do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
before (:each) do
|
44
|
-
@result = glob(File.join(RelativeFileSystem.base_path,"
|
44
|
+
@result = glob(File.join(RelativeFileSystem.base_path,"**/*")) do |file|
|
45
45
|
@items_visited += 1
|
46
46
|
end
|
47
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expansions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Develop With Passion®
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configatron
|
@@ -112,7 +112,7 @@ homepage: http://www.developwithpassion.com
|
|
112
112
|
licenses:
|
113
113
|
- MIT
|
114
114
|
metadata: {}
|
115
|
-
post_install_message:
|
115
|
+
post_install_message:
|
116
116
|
rdoc_options: []
|
117
117
|
require_paths:
|
118
118
|
- lib
|
@@ -127,26 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
|
131
|
-
|
132
|
-
signing_key:
|
130
|
+
rubygems_version: 3.3.7
|
131
|
+
signing_key:
|
133
132
|
specification_version: 4
|
134
133
|
summary: Simple Expansion Automation Utility
|
135
|
-
test_files:
|
136
|
-
- spec/spec_helper.rb
|
137
|
-
- spec/specs/array_spec.rb
|
138
|
-
- spec/specs/configuration_spec.rb
|
139
|
-
- spec/specs/copy_spec.rb
|
140
|
-
- spec/specs/copy_to_target_spec.rb
|
141
|
-
- spec/specs/enumerable_extensions_spec.rb
|
142
|
-
- spec/specs/erb_template_file_spec.rb
|
143
|
-
- spec/specs/expansion_spec.rb
|
144
|
-
- spec/specs/file_merge_spec.rb
|
145
|
-
- spec/specs/file_spec.rb
|
146
|
-
- spec/specs/kernel_spec.rb
|
147
|
-
- spec/specs/mustache_template_file_spec.rb
|
148
|
-
- spec/specs/shell_action_against_file_spec.rb
|
149
|
-
- spec/specs/string_spec.rb
|
150
|
-
- spec/specs/template_processors_spec.rb
|
151
|
-
- spec/specs/template_visitor_spec.rb
|
152
|
-
has_rdoc:
|
134
|
+
test_files: []
|