carbon 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/carbon.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{carbon}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Derek Kastner", "Seamus Abshere"]
data/lib/carbon.rb CHANGED
@@ -132,7 +132,7 @@ module Carbon
132
132
 
133
133
  def _async_carbon_request_body(options) # :nodoc:
134
134
  params = _carbon_request_params options
135
- params[:emitter] = self.class.carbon_base.emitter_common_name.pluralize
135
+ params[:emitter] = self.class.carbon_base.emitter_common_name
136
136
  raise ::Carbon::BlankCallback unless options[:callback].present?
137
137
  params[:callback] = options[:callback]
138
138
  params[:callback_content_type] = options[:callback_content_type] || 'application/json'
@@ -94,7 +94,7 @@ describe Carbon do
94
94
  it 'should post a message to SQS' do
95
95
  c = RentalCar.new
96
96
  c._carbon_request_url.should =~ /queue.amazonaws.com/
97
- c.emission :timeframe => Timeframe.new(:year => 2009), :callback => 'http://example.com/callback?id=999'
97
+ c.emission :timeframe => Timeframe.new(:year => 2009), :callback => 'http://www.postbin.org/1dj0145'
98
98
  end
99
99
  end
100
100
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carbon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Derek Kastner