granicus-platform-api 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,10 @@
4
4
 
5
5
  Granicus is a platform for government transparency and citizen engagement in use by over 900 government organizations, from small towns to the US Congress. This Ruby wrapper allows for integration with the SOAP web service that can be used to automate backend tasks in the system.
6
6
 
7
+ ==RELEASES
8
+
9
+ https://github.com/Granicus/platform-api-rb/wiki/Releases
10
+
7
11
  == WARNING
8
12
 
9
13
  This gem is still under heavy development, and is not recommended for production use. Contributions and suggestions are welcome.
@@ -118,7 +118,7 @@ module GranicusPlatformAPI
118
118
  end
119
119
 
120
120
  # connect up to a site
121
- def connect(granicus_site, username, password, options={})
121
+ def connect(granicus_site, username, password)
122
122
  logout if @connected
123
123
 
124
124
  # create the client
@@ -271,10 +271,10 @@ module GranicusPlatformAPI
271
271
  end
272
272
 
273
273
  # add metadata to a clip
274
- def add_clip_meta_data(clip_id, meta_data, options={})
274
+ def add_clip_meta_data(clip_id, meta_data)
275
275
  call_soap_method( :add_clip_meta_data, '//ns5:AddClipMetaDataResponse/KeyTable', {
276
276
  'ClipID' => clip_id,
277
- 'MetaData' => meta_data}, options)
277
+ 'MetaData' => meta_data})
278
278
  end
279
279
 
280
280
  # fetch an attachment
@@ -351,8 +351,8 @@ module GranicusPlatformAPI
351
351
 
352
352
  #private
353
353
 
354
- def call_soap_method(method, returnfilter, args={}, options={})
355
- debug = options[:debug]
354
+ def call_soap_method(method, returnfilter, args={})
355
+ debug = @options[:debug]
356
356
  @response = @client.request :wsdl, method do
357
357
  soap.namespaces['xmlns:granicus'] = "http://granicus.com/xsd"
358
358
  soap.namespaces['xmlns:SOAP-ENC'] = "http://schemas.xmlsoap.org/soap/encoding/"
@@ -1,3 +1,3 @@
1
1
  module GranicusPlatformAPI
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: granicus-platform-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-09 00:00:00.000000000Z
12
+ date: 2012-03-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70332733917620 !ruby/object:Gem::Requirement
16
+ requirement: &2152596860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.6'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70332733917620
24
+ version_requirements: *2152596860
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: simplecov
27
- requirement: &70332733917120 !ruby/object:Gem::Requirement
27
+ requirement: &2152596220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.5.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70332733917120
35
+ version_requirements: *2152596220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hashie
38
- requirement: &70332733916660 !ruby/object:Gem::Requirement
38
+ requirement: &2152595720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.2.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70332733916660
46
+ version_requirements: *2152595720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: savon
49
- requirement: &70332733916200 !ruby/object:Gem::Requirement
49
+ requirement: &2152595220 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.9.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70332733916200
57
+ version_requirements: *2152595220
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: savon
60
- requirement: &70332733915740 !ruby/object:Gem::Requirement
60
+ requirement: &2152586140 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 0.9.2
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70332733915740
68
+ version_requirements: *2152586140
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: hashie
71
- requirement: &70332733915280 !ruby/object:Gem::Requirement
71
+ requirement: &2152585560 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: 1.2.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70332733915280
79
+ version_requirements: *2152585560
80
80
  description: Wrapper for the Granicus Open Platform API v1.x
81
81
  email: javier@granicus.com
82
82
  executables: []
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project: granicus-platform-api
123
- rubygems_version: 1.8.15
123
+ rubygems_version: 1.8.5
124
124
  signing_key:
125
125
  specification_version: 3
126
126
  summary: Granicus Open Platform API 1.x Wrapper