bigcartel 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/bigcartel/version.rb +1 -1
  2. data/lib/bigcartel.rb +1 -1
  3. metadata +65 -35
@@ -1,3 +1,3 @@
1
1
  module BigCartel
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/bigcartel.rb CHANGED
@@ -131,7 +131,7 @@ module BigCartel
131
131
  class Image < Base
132
132
  attr_reader :height, :width, :url, :thumb, :medium, :large
133
133
  def initialize(data={})
134
- url_parts = data['url'].scan(/(http:\/\/cache(0|1).bigcartel.com\/product_images\/\d*\/)(.*).(jpg|png|gif)/i)
134
+ url_parts = data['url'].scan(/(http:\/\/cache(0|1).bigcartel.com\/product_images\/\d*\/)(.*).(jpg|png|gif|jpeg)/i)
135
135
 
136
136
  @height = data['height']
137
137
  @width = data['width']
metadata CHANGED
@@ -1,45 +1,64 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bigcartel
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.9
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Matt Anderson
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-07-26 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-07-28 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: rspec
16
- requirement: &9857376 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.3'
28
+ - !ruby/object:Gem::Version
29
+ hash: 5
30
+ segments:
31
+ - 2
32
+ - 3
33
+ version: "2.3"
22
34
  type: :development
23
- prerelease: false
24
- version_requirements: *9857376
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: httparty
27
- requirement: &9857076 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
28
40
  none: false
29
- requirements:
41
+ requirements:
30
42
  - - ~>
31
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
44
+ hash: 5
45
+ segments:
46
+ - 0
47
+ - 7
48
+ - 3
32
49
  version: 0.7.3
33
50
  type: :runtime
34
- prerelease: false
35
- version_requirements: *9857076
51
+ version_requirements: *id002
36
52
  description: A Ruby wrapper for the Big Cartel External REST API
37
- email:
53
+ email:
38
54
  - matt@tonkapark.com
39
55
  executables: []
56
+
40
57
  extensions: []
58
+
41
59
  extra_rdoc_files: []
42
- files:
60
+
61
+ files:
43
62
  - .gitignore
44
63
  - Gemfile
45
64
  - README.mkd
@@ -49,28 +68,39 @@ files:
49
68
  - lib/bigcartel/version.rb
50
69
  - spec/bigcartel_spec.rb
51
70
  - spec/helper.rb
52
- homepage: ''
71
+ has_rdoc: true
72
+ homepage: ""
53
73
  licenses: []
74
+
54
75
  post_install_message:
55
76
  rdoc_options: []
56
- require_paths:
77
+
78
+ require_paths:
57
79
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
80
+ required_ruby_version: !ruby/object:Gem::Requirement
59
81
  none: false
60
- requirements:
61
- - - ! '>='
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
90
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
97
+ version: "0"
70
98
  requirements: []
99
+
71
100
  rubyforge_project: bigcartel
72
- rubygems_version: 1.7.2
101
+ rubygems_version: 1.3.7
73
102
  signing_key:
74
103
  specification_version: 3
75
104
  summary: Ruby wrapper for the Big Cartel API
76
105
  test_files: []
106
+