bigcartel 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.mkd CHANGED
@@ -4,7 +4,7 @@ A Ruby wrapper for the Big Cartel External REST API.
4
4
 
5
5
  [![Build Status](https://secure.travis-ci.org/tonkapark/bigcartel.png)](http://travis-ci.org/tonkapark/bigcartel)
6
6
 
7
- Version 1.0
7
+ Version 1.0.2
8
8
  -----------
9
9
 
10
10
  With the release of 1.0 I changed some of the design of the gem and should be considered a breaking change if you were using the 0.* versions of the gem. I hope this new design of the gem will be faster and also more useful in your applications.
@@ -58,6 +58,9 @@ Supported Rubies
58
58
 
59
59
  Change Log
60
60
  ==========
61
+ 1.0.1 - January 12, 2003
62
+ --------------
63
+ * fixed bug in regexp that broke images call when Big Cartel changed url for their images.
61
64
 
62
65
  1.0.0 - November 17, 2011
63
66
  --------------
@@ -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(/(http:\/\/cache(0|1).bigcartel.com\/product_images\/\d*\/)(.*).(jpg|png|gif|jpeg)/i)
71
+ url_parts = img.url.scan(/(http:\/\/.*.bigcartel.com\/product_images\/\d*\/)(.*).(jpg|png|gif|jpeg)/i)
72
72
 
73
73
  img.thumb = "#{url_parts[0][0]}75.#{url_parts[0][3]}"
74
74
  img.medium = "#{url_parts[0][0]}175.#{url_parts[0][3]}"
@@ -1,3 +1,3 @@
1
1
  module BigCartel
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-01 00:00:00.000000000 -06:00
12
+ date: 2013-01-12 00:00:00.000000000 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
17
- requirement: &2161765060 !ruby/object:Gem::Requirement
17
+ requirement: &2161233220 !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: *2161765060
25
+ version_requirements: *2161233220
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: hashie
28
- requirement: &2161764200 !ruby/object:Gem::Requirement
28
+ requirement: &2161232640 !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: *2161764200
36
+ version_requirements: *2161232640
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &2161763760 !ruby/object:Gem::Requirement
39
+ requirement: &2161231960 !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: *2161763760
47
+ version_requirements: *2161231960
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: webmock
50
- requirement: &2161762980 !ruby/object:Gem::Requirement
50
+ requirement: &2161231440 !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: *2161762980
58
+ version_requirements: *2161231440
59
59
  description: A Ruby wrapper for the Big Cartel External REST API
60
60
  email:
61
61
  - matt@tonkapark.com