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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6046ae97940c3fab57fa282f1d0ff83d98a9fbb7
4
- data.tar.gz: 61944c393d2e5b01345dd0034bababe455f23cc6
2
+ SHA256:
3
+ metadata.gz: b1eb812bc08443b3690124ff06b7c3160bf53f1b5119a4729133fe0b0c7fadc3
4
+ data.tar.gz: 4dd15f72d8ea0889e1d3e3527cba52f951b7a56a27bd787de5772a660e9743a7
5
5
  SHA512:
6
- metadata.gz: 6c9ba5a75fd6dc2e1929a3c98e7193d543d83af160d2b42581bca1b6003f2040ab5947c78ecf481a885ce208b26923f46af842bafad508da4a6a71f1b42bed6a
7
- data.tar.gz: be8ddabe704ba220a48866dfe497c59c01485284f5982c4332c5f0995b0182d9595d17e3d942c1266d2f118972935721b0981933771b6ab58a151af27b056934
6
+ metadata.gz: 9faf85ebb12b2f665cda089e6de19ba745bd82a392d260e68753db1c6726edc829c6f10e590b406c04be787bad00ec46373f3d9aa23844db916a51cb88490eb1
7
+ data.tar.gz: 921a5edaeb87e6e6406ca9c1c3c2c55eabc08c0886144097e4959b8cca35cab52a62db9652da70b21c9f766a1b1571955d26815d0230a5e655f929eefdc580b6
@@ -59,7 +59,7 @@ module Expansions
59
59
 
60
60
  def add_merge_file(items,file)
61
61
  return if items.include?(file)
62
- items << file if File.exists?(file)
62
+ items << file if File.exist?(file)
63
63
  end
64
64
  end
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module Expansions
2
- VERSION = "0.4.34"
2
+ VERSION = "0.4.35"
3
3
  end
@@ -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(:exists?).with(file).and_return(true)
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(:exists?).with(file).and_return(true)
39
+ File.stub(:exist?).with(file).and_return(true)
40
40
  end
41
41
 
42
42
  before (:each) do
@@ -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,"**/*.*")) do |file|
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.34
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: 2014-12-09 00:00:00.000000000 Z
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
- rubyforge_project: expansions
131
- rubygems_version: 2.2.2
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: []