toadhopper 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,24 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ gemcutter (0.6.1)
5
+ git (1.2.5)
6
+ jeweler (1.4.0)
7
+ gemcutter (>= 0.1.0)
8
+ git (>= 1.2.5)
9
+ rubyforge (>= 2.0.0)
10
+ json_pure (1.4.6)
11
+ rake (0.8.7)
12
+ rubyforge (2.0.4)
13
+ json_pure (>= 1.1.7)
14
+ test-unit (2.1.1)
15
+ yard (0.6.1)
16
+
17
+ PLATFORMS
18
+ ruby
19
+
20
+ DEPENDENCIES
21
+ jeweler
22
+ rake
23
+ test-unit
24
+ yard
data/Rakefile CHANGED
@@ -20,10 +20,4 @@ Jeweler::Tasks.new do |s|
20
20
 
21
21
  require File.join(File.dirname(__FILE__), 'lib', 'toadhopper')
22
22
  s.version = Toadhopper::VERSION
23
-
24
- require 'bundler'
25
- bundle = Bundler::Definition.from_gemfile("Gemfile")
26
- bundle.dependencies.
27
- select { |d| d.groups.include?(:default) || d.groups.include?(:runtime) }.
28
- each { |d| s.add_dependency(d.name, d.version_requirements.to_s) }
29
23
  end
data/lib/notice.erb CHANGED
@@ -6,6 +6,10 @@
6
6
  <version><%=h notifier_version %></version>
7
7
  <url><%=h notifier_url %></url>
8
8
  </notifier>
9
+ <server-environment>
10
+ <project-root><%=h project_root %></project-root>
11
+ <environment-name><%=h framework_env %></environment-name>
12
+ </server-environment>
9
13
  <error>
10
14
  <class><%=h error.class.name %></class>
11
15
  <message><%=h "#{error.class.name}: #{error.message}" %></message>
@@ -43,8 +47,4 @@
43
47
  </cgi-data>
44
48
  <%- end -%>
45
49
  </request>
46
- <server-environment>
47
- <project-root><%=h project_root %></project-root>
48
- <environment-name><%=h framework_env %></environment-name>
49
- </server-environment>
50
50
  </notice>
data/lib/toadhopper.rb CHANGED
@@ -4,7 +4,7 @@ require 'ostruct'
4
4
 
5
5
  # Posts errors to the Hoptoad API
6
6
  class Toadhopper
7
- VERSION = "1.0.4"
7
+ VERSION = "1.0.6"
8
8
  FILTER_REPLACEMENT = "[FILTERED]"
9
9
 
10
10
  # Hoptoad API response
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toadhopper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 4
10
- version: 1.0.4
8
+ - 6
9
+ version: 1.0.6
11
10
  platform: ruby
12
11
  authors:
13
12
  - Tim Lucas
@@ -18,7 +17,7 @@ autorequire:
18
17
  bindir: bin
19
18
  cert_chain: []
20
19
 
21
- date: 2010-06-14 00:00:00 -07:00
20
+ date: 2010-10-24 00:00:00 +11:00
22
21
  default_executable:
23
22
  dependencies: []
24
23
 
@@ -35,6 +34,7 @@ files:
35
34
  - .gitignore
36
35
  - .yardopts
37
36
  - Gemfile
37
+ - Gemfile.lock
38
38
  - LICENSE
39
39
  - README.md
40
40
  - Rakefile
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- hash: 3
61
+ hash: 2492547853952482404
62
62
  segments:
63
63
  - 0
64
64
  version: "0"
@@ -67,7 +67,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- hash: 3
71
70
  segments:
72
71
  - 0
73
72
  version: "0"