bigcartel 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.mkd CHANGED
@@ -58,7 +58,7 @@ Supported Rubies
58
58
 
59
59
  Change Log
60
60
  ==========
61
- 1.0.3 - January 12, 2003
61
+ 1.0.4 - January 12, 2003
62
62
  --------------
63
63
  * fixed bug in regexp that broke images call when Big Cartel changed url for their images.
64
64
 
@@ -68,7 +68,7 @@ module BigCartel
68
68
  def images_helper(images)
69
69
  output = Array.new
70
70
  images.each do |img|
71
- url_parts = img.url.scan(/(https?:\/\/.*\/product_images)(.*).(jpg|png|gif|jpeg)/i)
71
+ url_parts = img.url.scan(/(https?:\/\/.*\/product_images\/\d*\/)(.*).(jpg|png|gif|jpeg)/i)
72
72
 
73
73
  img.thumb = "#{url_parts[0][0]}75.#{url_parts[0][2]}"
74
74
  img.medium = "#{url_parts[0][0]}175.#{url_parts[0][2]}"
@@ -1,3 +1,3 @@
1
1
  module BigCartel
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigcartel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
17
- requirement: &2161378280 !ruby/object:Gem::Requirement
17
+ requirement: &2161373500 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.8.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2161378280
25
+ version_requirements: *2161373500
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: hashie
28
- requirement: &2161377440 !ruby/object:Gem::Requirement
28
+ requirement: &2161372960 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2161377440
36
+ version_requirements: *2161372960
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &2161376880 !ruby/object:Gem::Requirement
39
+ requirement: &2161372500 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2161376880
47
+ version_requirements: *2161372500
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: webmock
50
- requirement: &2161376260 !ruby/object:Gem::Requirement
50
+ requirement: &2161371800 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2161376260
58
+ version_requirements: *2161371800
59
59
  description: A Ruby wrapper for the Big Cartel External REST API
60
60
  email:
61
61
  - matt@tonkapark.com