carbon 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/carbon.gemspec +1 -1
- data/lib/carbon.rb +1 -1
- data/spec/lib/carbon_spec.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/carbon.gemspec
CHANGED
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
|
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'
|
data/spec/lib/carbon_spec.rb
CHANGED
@@ -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://
|
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Derek Kastner
|