telewatts_sender_support 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- telewatts_sender_support (0.1.26)
4
+ telewatts_sender_support (0.1.27)
5
5
  assertalot
6
6
  rails (>= 3.0.6)
7
7
  rake
@@ -1,33 +1,37 @@
1
- module SampleDataSupport
1
+ module Telewatts
2
+ module SenderSupport
3
+ module SampleDataSupport
2
4
 
3
- def generate_sender_reports
5
+ def generate_sender_reports
4
6
 
5
- begin
6
- raise Exception.new "sample exception message"
7
- rescue Exception => e
8
- exception = e
9
- end
7
+ begin
8
+ raise Exception.new "sample exception message"
9
+ rescue Exception => e
10
+ exception = e
11
+ end
10
12
 
11
- reports = []
13
+ reports = []
12
14
 
13
- i=0;
14
- SenderReport.levels.each do |level|
15
- 3.times do
15
+ i=0;
16
+ SenderReport.levels.each do |level|
17
+ 3.times do
18
+ reports << SenderReport.new do |e|
19
+ e.level=level
20
+ e.message = "Sample SenderReport message ##{i}"
21
+ e.dump_exception(exception) if level=='error'
22
+ end
23
+ i+=1
24
+ end
25
+ end
26
+
16
27
  reports << SenderReport.new do |e|
17
- e.level=level
28
+ e.level='report'
29
+ e.code='sender_active'
18
30
  e.message = "Sample SenderReport message ##{i}"
19
- e.dump_exception(exception) if level=='error'
20
31
  end
21
- i+=1
22
- end
23
- end
24
32
 
25
- reports << SenderReport.new do |e|
26
- e.level='report'
27
- e.code='sender_active'
28
- e.message = "Sample SenderReport message ##{i}"
33
+ reports
34
+ end
29
35
  end
30
-
31
- reports
32
36
  end
33
- end
37
+ end
@@ -1,5 +1,5 @@
1
1
  module Telewatts
2
2
  module SenderSupport
3
- VERSION = "0.1.26"
3
+ VERSION = "0.1.27"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: telewatts_sender_support
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.26
5
+ version: 0.1.27
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sam Taylor
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- hash: 2534316024067645192
126
+ hash: 1522704140202805473
127
127
  segments:
128
128
  - 0
129
129
  version: "0"
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
133
  - - ">="
134
134
  - !ruby/object:Gem::Version
135
- hash: 2534316024067645192
135
+ hash: 1522704140202805473
136
136
  segments:
137
137
  - 0
138
138
  version: "0"