ticketevolution-ruby 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -268,7 +268,7 @@ Click on the links next to each endpoint for more detail.
268
268
  @venue = @connection.venues.show(id)
269
269
 
270
270
 
271
- ######ticketevolution-ruby v0.7.6
271
+ ######ticketevolution-ruby v0.7.7
272
272
 
273
273
  License
274
274
  -------
@@ -5,7 +5,7 @@ module TicketEvolution
5
5
  raise TicketEvolution::ConnectionNotFound.new \
6
6
  "#{self.class.name} must receive a TicketEvolution::Connection object on initialize" \
7
7
  unless @connection.is_a? TicketEvolution::Connection
8
- @scope = params['url'].split('/')[0..2].join('/') if params['url'] =~ /^(\/[a-z_]+s\/\d){2}$/
8
+ @scope = params['url'].split('/')[0..2].join('/') if params['url'] =~ /^(\/[a-z_]+s\/\d+){2}$/
9
9
  super(params)
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module TicketEvolution
2
- VERSION = '0.7.6'
2
+ VERSION = '0.7.7'
3
3
  end
@@ -31,8 +31,8 @@ describe TicketEvolution::Model do
31
31
  end
32
32
 
33
33
  context "when it detects a scope in the url" do
34
- let(:instance) { klass.new({:connection => connection, 'url' => '/clients/2/addresses/1'}) }
35
- let(:scope) { '/clients/2' }
34
+ let(:instance) { klass.new({:connection => connection, 'url' => '/clients/234/addresses/123'}) }
35
+ let(:scope) { '/clients/234' }
36
36
 
37
37
  it "should set @scope" do
38
38
  instance.instance_eval{ @scope }.should == scope
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketevolution-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-09 00:00:00.000000000Z
12
+ date: 2012-05-10 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70203422829420 !ruby/object:Gem::Requirement
16
+ requirement: &70192328894380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70203422829420
24
+ version_requirements: *70192328894380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: faraday
27
- requirement: &70203422827960 !ruby/object:Gem::Requirement
27
+ requirement: &70192328892980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.7.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70203422827960
35
+ version_requirements: *70192328892980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yajl-ruby
38
- requirement: &70203422826520 !ruby/object:Gem::Requirement
38
+ requirement: &70192328890320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.7.7
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70203422826520
46
+ version_requirements: *70192328890320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: multi_json
49
- requirement: &70203422823860 !ruby/object:Gem::Requirement
49
+ requirement: &70192328888920 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.0.4
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70203422823860
57
+ version_requirements: *70192328888920
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: nokogiri
60
- requirement: &70203422822280 !ruby/object:Gem::Requirement
60
+ requirement: &70192328887540 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.4.3
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70203422822280
68
+ version_requirements: *70192328887540
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
- requirement: &70203422821260 !ruby/object:Gem::Requirement
71
+ requirement: &70192328886380 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 2.7.1
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70203422821260
79
+ version_requirements: *70192328886380
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: vcr
82
- requirement: &70203422819780 !ruby/object:Gem::Requirement
82
+ requirement: &70192328884900 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - <
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '2'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70203422819780
90
+ version_requirements: *70192328884900
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &70203422818480 !ruby/object:Gem::Requirement
93
+ requirement: &70192328884120 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -101,10 +101,10 @@ dependencies:
101
101
  version: 1.8.0
102
102
  type: :development
103
103
  prerelease: false
104
- version_requirements: *70203422818480
104
+ version_requirements: *70192328884120
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: awesome_print
107
- requirement: &70203422817600 !ruby/object:Gem::Requirement
107
+ requirement: &70192328883140 !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
110
110
  - - ! '>='
@@ -112,10 +112,10 @@ dependencies:
112
112
  version: '0'
113
113
  type: :development
114
114
  prerelease: false
115
- version_requirements: *70203422817600
115
+ version_requirements: *70192328883140
116
116
  - !ruby/object:Gem::Dependency
117
117
  name: rake
118
- requirement: &70203422816880 !ruby/object:Gem::Requirement
118
+ requirement: &70192328882140 !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements:
121
121
  - - ! '>='
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: '0'
124
124
  type: :development
125
125
  prerelease: false
126
- version_requirements: *70203422816880
126
+ version_requirements: *70192328882140
127
127
  description: Provides Ruby wrappers for the Ticket Evolution API (http://developer.ticketevolution.com).
128
128
  Ticket Evolution is the industry leader in software for the Ticket Broker industry.
129
129
  email:
@@ -323,7 +323,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
323
323
  version: '0'
324
324
  segments:
325
325
  - 0
326
- hash: -2885151719105410288
326
+ hash: 3277301929439283558
327
327
  required_rubygems_version: !ruby/object:Gem::Requirement
328
328
  none: false
329
329
  requirements: