cupid 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -47,13 +47,13 @@ send_tracking_id = et_translator.send_email_to_list(email_id, list_id)
47
47
  Puts this line into `Gemfile` then run `$ bundle`:
48
48
 
49
49
  ``` ruby
50
- gem 'cupid', '0.1.0'
50
+ gem 'cupid', '0.1.1'
51
51
  ```
52
52
 
53
53
  Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
54
54
 
55
55
  ``` ruby
56
- config.gem 'cupid', :version => '0.1.0'
56
+ config.gem 'cupid', :version => '0.1.1'
57
57
  ```
58
58
 
59
59
  Or manually install cupid gem: `$ gem install cupid`
@@ -3,12 +3,11 @@ module Cupid
3
3
  def retrieve_email_folders(account=nil, properties=nil)
4
4
  account ||= @account
5
5
  properties ||= ['ID', 'Name', 'ParentFolder.ID', 'ParentFolder.Name']
6
- filters = {'Filter xsi:type="SimpleFilterPart"' => {
7
- 'Property' => 'ContentType',
8
- 'SimpleOperator' => 'like',
9
- 'Value' => 'email'
10
- }
11
- }
6
+ filters = '<Filter xsi:type="SimpleFilterPart">' +
7
+ '<Property>ContentType</Property>' +
8
+ '<SimpleOperator>like</SimpleOperator>' +
9
+ '<Value>email</Value>' +
10
+ '</Filter>'
12
11
 
13
12
  soap_body = build_retrieve(account.to_s, 'DataFolder', properties, filters)
14
13
  response = build_request('Retrieve', 'RetrieveRequestMsg', soap_body)
@@ -1,3 +1,3 @@
1
1
  module Cupid
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - gazay
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-22 00:00:00 Z
18
+ date: 2011-09-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: builder