coach4rb 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4c7a15d1bfa99d3a6990b264fe6ce78347d3a39
4
- data.tar.gz: 32e02876ce2c59c826b0f812f26388045ff48eaa
3
+ metadata.gz: a51548eab6a482f04ae1712be718447fee8c87cd
4
+ data.tar.gz: 9d60e5c91b19e78eb087edd6bf39ba3048e3acde
5
5
  SHA512:
6
- metadata.gz: d9bba4dff4f118b80d790eb0756264ed3b17220bbec5a297c6eb49c3b448cdf41aae0f2268aa195ce9f60e2311d82483b6e16d4bf74e26d999f8c3c6db53195b
7
- data.tar.gz: 84b4b2443d2d037b8bb7ada4896e74d6889009c615f87254c8711e156cb4e6b4dc1abd066ad85817d74fcb8c65be50a4c44c1c40a1d75f6f1f8156587f6d88a7
6
+ metadata.gz: 648f230e42d39761e3811b4faf041542a2f5de7f8ac6485c8a66063f06218366cfb422f19ec5a36ea493ea42f59342f7f38a9c3055db7471e6924cd0554e3161
7
+ data.tar.gz: 3ac95ae66411686cbb9da97e5a34cd1012cf427773d62c2b48663c57a2936627400d8e9f64fb304c9f54d4277eb707ae8abc6ab3b05095eebc98f4c15df41dcc
@@ -13,6 +13,7 @@ module Coach4rb
13
13
 
14
14
  alias_method :entry_date, :entrydate
15
15
  alias_method :entry_location, :entrylocation
16
+ alias_method :entry_duration, :entryduration
16
17
 
17
18
 
18
19
  def self.from_coach(a_hash)
@@ -1,3 +1,3 @@
1
1
  module Coach4rb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -129,13 +129,15 @@ class TestUserCoach < MiniTest::Test
129
129
 
130
130
 
131
131
  def test_should_create_a_user
132
- @coach.create_user do |user|
132
+ user = @coach.create_user do |user|
133
133
  user.real_name = 'the hoff'
134
134
  user.username = 'wantsomemoney' + DateTime.now.to_time.to_i.to_s
135
135
  user.password = 'test'
136
136
  user.email = 'test@test.com'
137
- user.public_visible = Coach4rb::Privacy::Public
137
+ #user.public_visible = Coach4rb::Privacy::Public
138
138
  end
139
+ assert user
140
+ pp user
139
141
  end
140
142
 
141
143
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coach4rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Rueedlinger
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-12-11 00:00:00.000000000 Z
14
+ date: 2014-12-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler