joinme-api 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- joinme-api (0.0.3)
4
+ joinme-api (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
2
2
  s.name = 'joinme-api'
3
3
  s.author = 'Paul Hepworth'
4
4
  s.email = 'paul<dot>hepworth<at>peppyheppy<dot>com'
5
- s.version = '0.0.3'
5
+ s.version = '0.0.4'
6
6
  s.homepage = 'https://github.com/peppyheppy/joinme-api'
7
7
  s.date = '2012-10-29'
8
8
  s.summary = "A gem that provides a basic wrapper for the join.me API"
@@ -35,7 +35,7 @@ class JoinmeApi
35
35
  end
36
36
 
37
37
  if codes['code'] and codes['ticket']
38
- "https://secure.join.me/download.aspx?code=%s&ticket=%s" % [codes['code'], codes['ticket']]
38
+ "https://secure.join.me/download.aspx?webdownload=true&code=%s&ticket=%s" % [codes['code'], codes['ticket']]
39
39
  end
40
40
  end
41
41
  alias :download_url :download
@@ -93,7 +93,7 @@ describe JoinmeApi do
93
93
  .with(:body => {"authcode"=>"usbzlurwujpw2xbfy1xc2cjiuovaankw"})
94
94
  .to_return(:status => 200, :body => "OK\nCODE: 101494581\nTICKET: 432412671")
95
95
 
96
- url = "https://secure.join.me/download.aspx?code=101494588&ticket=432412675"
96
+ url = "https://secure.join.me/download.aspx?webdownload=true&code=101494588&ticket=432412675"
97
97
  @api.download('101494588','432412675').should == url
98
98
  @api.download_url('101494588','432412675').should == url
99
99
  end
@@ -104,7 +104,7 @@ describe JoinmeApi do
104
104
  .with(:body => {"authcode"=>"usbzlurwujpw2xbfy1xc2cjiuovaankw"})
105
105
  .to_return(:status => 200, :body => "OK\nCODE: 101494581\nTICKET: 432412671")
106
106
 
107
- url = "https://secure.join.me/download.aspx?code=101494588&ticket=432412675"
107
+ url = "https://secure.join.me/download.aspx?webdownload=true&code=101494588&ticket=432412675"
108
108
  @api.download('101494588','432412675').should == url
109
109
  end
110
110
 
@@ -119,7 +119,7 @@ describe JoinmeApi do
119
119
  .with(:body => {"authcode"=>"usbzlurwujpw2xbfy1xc2cjiuovaankw"})
120
120
  .to_return(:status => 200, :body => "OK\nCODE: 101494588\nTICKET: 432412675")
121
121
 
122
- url = "https://secure.join.me/download.aspx?code=101494588&ticket=432412675"
122
+ url = "https://secure.join.me/download.aspx?webdownload=true&code=101494588&ticket=432412675"
123
123
  @api.download.should == url
124
124
  end
125
125
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joinme-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70191120025800 !ruby/object:Gem::Requirement
16
+ requirement: &70352910873980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.11.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70191120025800
24
+ version_requirements: *70352910873980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: debugger
27
- requirement: &70191120025220 !ruby/object:Gem::Requirement
27
+ requirement: &70352910873300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70191120025220
35
+ version_requirements: *70352910873300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rb-fsevent
38
- requirement: &70191120024300 !ruby/object:Gem::Requirement
38
+ requirement: &70352910872240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.9.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70191120024300
46
+ version_requirements: *70352910872240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: guard
49
- requirement: &70191120023480 !ruby/object:Gem::Requirement
49
+ requirement: &70352910871280 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.5.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70191120023480
57
+ version_requirements: *70352910871280
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: guard-bundler
60
- requirement: &70191120022880 !ruby/object:Gem::Requirement
60
+ requirement: &70352910870620 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70191120022880
68
+ version_requirements: *70352910870620
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-rspec
71
- requirement: &70191120022180 !ruby/object:Gem::Requirement
71
+ requirement: &70352910869520 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 2.1.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70191120022180
79
+ version_requirements: *70352910869520
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: growl
82
- requirement: &70191120021620 !ruby/object:Gem::Requirement
82
+ requirement: &70352910868580 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.0.3
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70191120021620
90
+ version_requirements: *70352910868580
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &70191120020960 !ruby/object:Gem::Requirement
93
+ requirement: &70352910867900 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: 1.8.11
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70191120020960
101
+ version_requirements: *70352910867900
102
102
  description: A gem that provides a basic wrapper for the join.me API (https://secure.join.me/welcome/webhelp/joinme/join.me/c_joinme_API.html)
103
103
  email: paul<dot>hepworth<at>peppyheppy<dot>com
104
104
  executables: []