dribbble 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e568425f541f69f41ba121e430ad1fc09b731476
4
- data.tar.gz: 612ac85090700ca27d90b26c002113e176a1c79b
3
+ metadata.gz: a20d42a7c144f0b4cd9a9888c4fd38a06b3ac3f2
4
+ data.tar.gz: a667ce18744914081d5238fc662f8a6dd1d6a258
5
5
  SHA512:
6
- metadata.gz: 511d38357fbce3c89984fc975e005a9617773354544f0d2312c5170cc773dce5f35e396e1739db88738ea1c897c7599a204dbb724b37d98f3e259e7a2e87740e
7
- data.tar.gz: 79495b552d7efad42190dfde7816bb1cb465cc0f0d13ad7abc5387ca46ae6d25a5a454831239bba4884dc2c697ff9dfa1dff51f968d6658d2461f8ebb8f144b3
6
+ metadata.gz: 1d04985c2f08ce0ebd023b2d603b1ced58a9d02edf3f794546d37b40a71c9e88ce71b1a2be40e90579d5d4a1b82c96905ef51a0afea1751bdb2fa4fb9368f018
7
+ data.tar.gz: 1f4d39d2811564a93b8d18c26d4c18d02db274fb93b9f0fd1576a6ef4e9f91c1b10f0a0f6844182e70c5ba880e873253bf13b621be1ba7ad9dcf8d7ef0220ed0
@@ -3,12 +3,8 @@ language: ruby
3
3
 
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.0.0
7
- - 2.1.7
8
- - 2.2.3
9
- - 2.3.0-dev
6
+ - 2.2.5
7
+ - 2.3.1
10
8
 
11
9
  matrix:
12
10
  fast_finish: true
13
- allow_failures:
14
- - rvm: 2.3.0-dev
data/README.md CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  Calyhre/dribbble is an unofficial API wrapper ruby gem for [Dribbble.com's API](http://developer.dribbble.com/).
7
7
 
8
- [But, what it Dribbble?](https://dribbble.com/about)
8
+ [But, what is Dribbble?](https://dribbble.com/about)
9
9
  > What are you working on? Dribbble is a community of designers answering that question each day. Web designers, graphic designers, illustrators, icon artists, typographers, logo designers, and other creative types share small screenshots (shots) that show their work, process, and current projects.
10
10
 
11
11
  ## Installation
12
12
 
13
13
  ### Requirements
14
14
 
15
- * Ruby `~> 2.0`
15
+ * Ruby `~> 2.2.5`, use `v1.0.4` for previous Ruby versions.
16
16
 
17
17
  ### In a Gemfile
18
18
 
@@ -126,9 +126,10 @@ shot = Dribbble::Shot.find(token, 1971500)
126
126
  params = {
127
127
  title: 'A new shot',
128
128
  description: 'Shot description',
129
+ image: File.open('/path/to/image.png'),
129
130
  tags: %w(tag1 tag2),
130
131
  team_id: 1234,
131
- rebound_source_id: 1234,
132
+ rebound_source_id: 1234
132
133
  }
133
134
  shot = Dribbble::Shot.create(token, params)
134
135
  ```
@@ -22,7 +22,7 @@ module Dribbble
22
22
  end
23
23
 
24
24
  def self.available_fields
25
- %i(title image description tags team_id rebound_source_id)
25
+ %i(title image description tags team_id rebound_source_id low_profile)
26
26
  end
27
27
 
28
28
  def self.after_create(res)
@@ -1,4 +1,4 @@
1
1
  # Dribbble Version
2
2
  module Dribbble
3
- VERSION = '1.0.4'
3
+ VERSION = '1.1.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dribbble
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Calyhre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-28 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  requirements: []
189
189
  rubyforge_project:
190
- rubygems_version: 2.2.2
190
+ rubygems_version: 2.5.1
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Dribbble API ruby wrapper