pivotal_sync 0.1.0 → 0.1.1

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.
@@ -3,7 +3,7 @@ module PivotalSync
3
3
  include HappyMapper
4
4
 
5
5
  element :id, Integer, xpath: 'membership/id'
6
- element :role, String
6
+ element :role, String, xpath: 'membership/role'
7
7
  element :user_id, Integer, tag: "id", deep: true
8
8
  element :name, String, deep: true
9
9
  element :email, String, deep: true
@@ -1,3 +1,3 @@
1
1
  module PivotalSync
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -38,6 +38,10 @@ describe PivotalSync::Project do
38
38
  membership.id.should_not be_nil
39
39
  end
40
40
 
41
+ it "should have a role" do
42
+ membership.role.should_not be_nil
43
+ end
44
+
41
45
  it "should have a name" do
42
46
  membership.name.should_not be_nil
43
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: