dribbble 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -6
- data/README.md +4 -3
- data/lib/dribbble/shot.rb +1 -1
- data/lib/dribbble/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a20d42a7c144f0b4cd9a9888c4fd38a06b3ac3f2
|
4
|
+
data.tar.gz: a667ce18744914081d5238fc662f8a6dd1d6a258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d04985c2f08ce0ebd023b2d603b1ced58a9d02edf3f794546d37b40a71c9e88ce71b1a2be40e90579d5d4a1b82c96905ef51a0afea1751bdb2fa4fb9368f018
|
7
|
+
data.tar.gz: 1f4d39d2811564a93b8d18c26d4c18d02db274fb93b9f0fd1576a6ef4e9f91c1b10f0a0f6844182e70c5ba880e873253bf13b621be1ba7ad9dcf8d7ef0220ed0
|
data/.travis.yml
CHANGED
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
|
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
|
```
|
data/lib/dribbble/shot.rb
CHANGED
data/lib/dribbble/version.rb
CHANGED
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
|
+
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:
|
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.
|
190
|
+
rubygems_version: 2.5.1
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: Dribbble API ruby wrapper
|