trails 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.5 / 2010-03-06
2
+
3
+ * Ugh. accidentally released with unchecked-in code. undoing.
4
+
1
5
  === 1.0.4 / 2010-03-06
2
6
 
3
7
  * Clean up logging a bit
@@ -31,14 +31,8 @@ module Trails
31
31
  end
32
32
 
33
33
  def verify_caller( request )
34
- # TODO: fix testing stuff so that it includes the right signature.
35
- base_string = request.url
36
- base_string += request.post_parameters.
37
- sort{ |a,b| a.first.to_s <=> b.first.to_s }.
38
- flatten.join if( :post == request.method.to_sym )
39
-
40
- digest = OpenSSL::Digest::Digest.new('sha1')
41
- expected = Base64.encode64( OpenSSL::HMAC.digest(digest, @sid, base_string) ).strip
34
+ # TODO: check caller credentials here. :)
35
+ return true
42
36
  end
43
37
 
44
38
  # Make outgoing calls.
data/lib/trails.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Trails
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
4
4
  begin
5
5
  TwilioRest
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hemant Bhanoo