cupid 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -13,13 +13,13 @@ Sponsored by Evil Martians <http://evilmartians.com>
13
13
  Puts this line into `Gemfile` then run `$ bundle`:
14
14
 
15
15
  ``` ruby
16
- gem 'cupid', '0.0.3'
16
+ gem 'cupid', '0.0.4'
17
17
  ```
18
18
 
19
19
  Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
20
20
 
21
21
  ``` ruby
22
- config.gem 'cupid', :version => '0.0.3'
22
+ config.gem 'cupid', :version => '0.0.4'
23
23
  ```
24
24
 
25
25
  Or manually install cupid gem: `$ gem install cupid`
@@ -84,6 +84,11 @@ module Cupid
84
84
  folder_object += '<CustomerKey>' + options[:title].to_s + '</CustomerKey>' if options[:title]
85
85
  folder_object += '<Name>' + options[:title].to_s + '</Name>'
86
86
  folder_object += '<Description>' + options[:description].to_s + '</Description>' if options[:description]
87
+ folder_object += '<ContentType>' + options[:content_type].to_s + '</ContentType>' +
88
+ '<IsActive>' + options[:is_active].to_s + '</IsActive>' +
89
+ '<IsEditable>' + options[:is_editable].to_s + '</IsEditable>' +
90
+ '<AllowChildren>' + options[:allow_children].to_s + '</AllowChildren>'
91
+
87
92
  if options[:parent]
88
93
  folder_object += '<ParentFolder>
89
94
  <PartnerKey xsi:nil="true"/>
@@ -1,3 +1,3 @@
1
1
  module Cupid
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - gazay