sds-rest 0.1.3 → 0.1.4

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.
@@ -169,7 +169,17 @@ module SDSRest
169
169
  private
170
170
  #execute a request
171
171
  def execute_request(req)
172
- Net::HTTPS.new(get_url).start {|http|
172
+ # http = Net::HTTP.new(get_url)
173
+ # http.use_ssl = true
174
+ # http.start {|http|
175
+ # response = http.request(req)
176
+ # puts response
177
+ # response
178
+ # }
179
+ #
180
+
181
+
182
+ Net::HTTP.new(get_url).start {|http|
173
183
  response = http.request(req)
174
184
  }
175
185
  end
@@ -2,7 +2,7 @@ module SDSRest
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  self
@@ -1,6 +1,8 @@
1
1
  RAILS_ROOT = ''
2
2
  RAILS_ENV = ''
3
3
 
4
+ $:.reject! { |e| e.include? 'TextMate' }
5
+
4
6
  $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
5
7
  require 'sds-rest'
6
8
  require 'sds-activeresource'
@@ -33,7 +33,7 @@
33
33
  <h1>sds rest</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/sds-rest"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/sds-rest" class="numbers">0.1.3</a>
36
+ <a href="http://rubyforge.org/projects/sds-rest" class="numbers">0.1.4</a>
37
37
  </div>
38
38
  <h1>&amp;#x2192; &#8216;sds-rest&#8217;</h1>
39
39
  <h2>What</h2>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sds-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Avery