ssedap-client 0.0.1 → 0.0.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/README.md CHANGED
@@ -10,6 +10,8 @@ Patron ([https://github.com/toland/patron](https://github.com/toland/patron))
10
10
 
11
11
 
12
12
  ```ruby
13
+ require 'ssedap/client'
14
+
13
15
  client = SSEDAP::Client.new "https://ssedap.local"
14
16
 
15
17
  client.authorize user, pass
@@ -51,6 +51,7 @@ module SSEDAP
51
51
  ps.timeout = 10
52
52
  ps.base_url = @host
53
53
  ps.headers['User-Agent'] = 'ssedap/1.0'
54
+ ps.insecure = true # this is decidedly not a best practice
54
55
 
55
56
  ps
56
57
  end
@@ -1,5 +1,5 @@
1
1
  module SSEDAP
2
2
  class Client
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssedap-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-28 00:00:00.000000000Z
13
+ date: 2012-02-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: patron
17
- requirement: &70129456296040 !ruby/object:Gem::Requirement
17
+ requirement: &70261938907820 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70129456296040
25
+ version_requirements: *70261938907820
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: json
28
- requirement: &70129456295620 !ruby/object:Gem::Requirement
28
+ requirement: &70261938907400 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70129456295620
36
+ version_requirements: *70261938907400
37
37
  description: A gem for authenticating and interfacing with an SSEDAP interface.
38
38
  email:
39
39
  - sean@seanbarkley.com
@@ -73,7 +73,7 @@ requirements:
73
73
  - Patron, for HTTPS requests
74
74
  - JSON, for decoding response bodies
75
75
  rubyforge_project:
76
- rubygems_version: 1.8.10
76
+ rubygems_version: 1.8.11
77
77
  signing_key:
78
78
  specification_version: 3
79
79
  summary: A gem for authenticating and interfacing with an SSEDAP interface.