press 0.19 → 0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/example.rb +26 -24
- data/lib/press/printer.rb +1 -0
- metadata +2 -2
data/lib/example.rb
CHANGED
@@ -43,8 +43,8 @@ module Measure
|
|
43
43
|
def self.run
|
44
44
|
puts "########## running ##########"
|
45
45
|
|
46
|
-
mpd hello: "world"
|
47
|
-
puts
|
46
|
+
r = mpd hello: "world"
|
47
|
+
puts "XXX=#{r.inspect}"
|
48
48
|
|
49
49
|
r = mpd hello: "world" do
|
50
50
|
42
|
@@ -52,8 +52,8 @@ module Measure
|
|
52
52
|
puts r
|
53
53
|
puts
|
54
54
|
|
55
|
-
mpdfm __FILE__, __method__, hello: "world"
|
56
|
-
puts
|
55
|
+
r = mpdfm __FILE__, __method__, hello: "world"
|
56
|
+
puts "XXX=#{r.inspect}"
|
57
57
|
|
58
58
|
r = mpdfm __FILE__, __method__, hello: "world" do
|
59
59
|
42
|
@@ -64,8 +64,10 @@ module Measure
|
|
64
64
|
begin
|
65
65
|
1 / 0
|
66
66
|
rescue => e
|
67
|
-
mpde e, hello: "world"
|
68
|
-
|
67
|
+
r = mpde e, hello: "world"
|
68
|
+
puts "XXX=#{r.inspect}"
|
69
|
+
r = mpdfme __FILE__, __method__, e, hello: "world"
|
70
|
+
puts "XXX=#{r.inspect}"
|
69
71
|
end
|
70
72
|
puts
|
71
73
|
|
@@ -125,21 +127,21 @@ module MeasureEvent
|
|
125
127
|
end
|
126
128
|
end
|
127
129
|
|
128
|
-
#Plain.mctx nil, nil
|
129
|
-
#Plain.run
|
130
|
-
#Plain.mctx nil, app: "slasher", deploy: "staging"
|
131
|
-
#Plain.run
|
132
|
-
|
133
|
-
#Measure.mctx nil, nil
|
134
|
-
#Measure.run
|
135
|
-
#Measure.mctx ["ripper", "production"].join("."), nil
|
136
|
-
#Measure.run
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
#MeasureEvent.mctx nil, nil
|
141
|
-
#MeasureEvent.run
|
142
|
-
#MeasureEvent.mctx ["ripper", "production"].join("."), nil
|
143
|
-
#MeasureEvent.run
|
144
|
-
MeasureEvent.mctx ["screamer", "testing"].join("."), app: "shreiker", deploy: "beta"
|
145
|
-
MeasureEvent.run
|
130
|
+
# Plain.mctx nil, nil
|
131
|
+
# Plain.run
|
132
|
+
# Plain.mctx nil, app: "slasher", deploy: "staging"
|
133
|
+
# Plain.run
|
134
|
+
|
135
|
+
# Measure.mctx nil, nil
|
136
|
+
# Measure.run
|
137
|
+
# Measure.mctx ["ripper", "production"].join("."), nil
|
138
|
+
# Measure.run
|
139
|
+
Measure.mctx ["screamer", "testing"].join("."), app: "shreiker", deploy: "beta"
|
140
|
+
Measure.run
|
141
|
+
|
142
|
+
# MeasureEvent.mctx nil, nil
|
143
|
+
# MeasureEvent.run
|
144
|
+
# MeasureEvent.mctx ["ripper", "production"].join("."), nil
|
145
|
+
# MeasureEvent.run
|
146
|
+
# MeasureEvent.mctx ["screamer", "testing"].join("."), app: "shreiker", deploy: "beta"
|
147
|
+
# MeasureEvent.run
|
data/lib/press/printer.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: press
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.20'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Data and exception printer.
|
15
15
|
email: mark.fine@gmail.com
|