build 1.0.9 → 1.0.10

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
  SHA1:
3
- metadata.gz: 6b1c3d76cc70aaa872ddb1f607b74bbc38108a67
4
- data.tar.gz: 9ee591bae8bf3bba22b0743edd8d5eda09e63ea6
3
+ metadata.gz: 5a3384e47b1e9c9dc2419491b1d8bab595215c7f
4
+ data.tar.gz: f1948300302a3260040a79df577fac46a1f98155
5
5
  SHA512:
6
- metadata.gz: 2539b6941da1bf04921c2067a8053045827357b302f9418be0cf59f9f3ccb4dbd4155d1dedca7e9a86ce73efd3901e0f29a6aab33e8a0d4f7fbc22909b877d65
7
- data.tar.gz: 2ed00e5af4b3d8633a483458e4bcacef9aaa72796af592d107e940d06ec3cbb117f9e873312d23e9ac6e25dc91a634ae4626ea659e3e5764a13dc27e7e71cc33
6
+ metadata.gz: 85801d07d2795ffa201e68cf0aa247dbb5915490848b89f11abc0b658a27aef4bde12fee5a6f2a2f0a59ab192b4bd745ab7df4e3f524debcca9d7b4e35acbcd1
7
+ data.tar.gz: 6b16ab6afd93b4bc72eac04b960504395b44805f65b553b0ec11673ce03a73c97797997ed2ef0d245898f40b084451b5d11ca90f9549ebf99f104485ad5935c2
@@ -88,7 +88,7 @@ module Build
88
88
  prefix = " " * (prefix.size) + "| "
89
89
  end
90
90
 
91
- if progname == 'shell' and message.kind_of? Array
91
+ if progname == :shell and message.kind_of? Array
92
92
  format_command(message, buffer)
93
93
  elsif message.kind_of? Exception
94
94
  format_exception(message, buffer)
@@ -60,7 +60,7 @@ module Build
60
60
 
61
61
  def spawn(*arguments)
62
62
  if wet?
63
- @logger.info('shell') {arguments}
63
+ @logger.info(:shell) {arguments}
64
64
  status = @group.spawn(*arguments)
65
65
 
66
66
  if status != 0
@@ -80,21 +80,21 @@ module Build
80
80
  def touch(path)
81
81
  return unless wet?
82
82
 
83
- @logger.info('shell'){ ['touch', path] }
83
+ @logger.info(:shell){ ['touch', path] }
84
84
  FileUtils.touch(path)
85
85
  end
86
86
 
87
87
  def cp(source_path, destination_path)
88
88
  return unless wet?
89
89
 
90
- @logger.info('shell'){ ['cp', source_path, destination_path]}
90
+ @logger.info(:shell){ ['cp', source_path, destination_path]}
91
91
  FileUtils.copy(source_path, destination_path)
92
92
  end
93
93
 
94
94
  def rm(path)
95
95
  return unless wet?
96
96
 
97
- @logger.info('shell'){ ['rm -rf', path] }
97
+ @logger.info(:shell){ ['rm -rf', path] }
98
98
  FileUtils.rm_rf(path)
99
99
  end
100
100
 
@@ -102,7 +102,7 @@ module Build
102
102
  return unless wet?
103
103
 
104
104
  unless File.exist?(path)
105
- @logger.info('shell'){ ['mkpath', path] }
105
+ @logger.info(:shell){ ['mkpath', path] }
106
106
 
107
107
  FileUtils.mkpath(path)
108
108
  end
@@ -111,7 +111,7 @@ module Build
111
111
  def install(source_path, destination_path)
112
112
  return unless wet?
113
113
 
114
- @logger.info('shell'){ ['install', source_path, destination_path]}
114
+ @logger.info(:shell){ ['install', source_path, destination_path]}
115
115
  FileUtils.install(source_path, destination_path)
116
116
  end
117
117
 
@@ -127,12 +127,12 @@ module Build
127
127
  def invoke_rule(rule, arguments, &block)
128
128
  arguments = rule.normalize(arguments, self)
129
129
 
130
- @logger.debug('invoke') {"-> #{rule}(#{arguments.inspect})"}
130
+ @logger.debug(:invoke) {"-> #{rule}(#{arguments.inspect})"}
131
131
 
132
132
  node = RuleNode.new(rule, arguments, &block)
133
133
  task = invoke(node)
134
134
 
135
- @logger.debug('invoke') {"<- #{rule}(...) -> #{rule.result(arguments)}"}
135
+ @logger.debug(:invoke) {"<- #{rule}(...) -> #{rule.result(arguments)}"}
136
136
 
137
137
  return rule.result(arguments)
138
138
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Build
22
- VERSION = "1.0.9"
22
+ VERSION = "1.0.10"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: build-graph
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.5.1
162
+ rubygems_version: 2.5.2
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Build is a framework for working with task based build systems.