ADB 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/lib/ADB.rb +5 -1
- data/lib/ADB/version.rb +1 -1
- metadata +4 -4
data/ChangeLog
CHANGED
data/lib/ADB.rb
CHANGED
@@ -237,10 +237,14 @@ module ADB
|
|
237
237
|
end
|
238
238
|
|
239
239
|
def std_out_err
|
240
|
-
return ::Tempfile.new(
|
240
|
+
return ::Tempfile.new(filename_for('adb-out')), ::Tempfile.new(filename_for('adb-err'))
|
241
241
|
end
|
242
242
|
|
243
243
|
def stdout_contains(expected)
|
244
244
|
last_stdout.include? expected
|
245
245
|
end
|
246
|
+
|
247
|
+
def filename_for(prefix)
|
248
|
+
"#{prefix}-#{Time.new.to_s.gsub(' ', '_').gsub(':', '_')}"
|
249
|
+
end
|
246
250
|
end
|
data/lib/ADB/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ADB
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-09-
|
13
|
+
date: 2012-09-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: childprocess
|
@@ -104,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
segments:
|
106
106
|
- 0
|
107
|
-
hash:
|
107
|
+
hash: 3370634203742753858
|
108
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
109
|
none: false
|
110
110
|
requirements:
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
segments:
|
115
115
|
- 0
|
116
|
-
hash:
|
116
|
+
hash: 3370634203742753858
|
117
117
|
requirements: []
|
118
118
|
rubyforge_project:
|
119
119
|
rubygems_version: 1.8.24
|