animatedgifme-v1 1.0.0 → 1.0.1

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: d260cae0cb8864f69aafef13cfedc88a7f66ef9f
4
- data.tar.gz: 08b2bb8f7e3c596f34865dcc7b3e4b281d712e63
3
+ metadata.gz: 0a39aa4c9278b777ede5a27bf1ffec0b69e016a3
4
+ data.tar.gz: 61b83e1a2c1c8324e2674aec5fb1388cf5c0fdff
5
5
  SHA512:
6
- metadata.gz: e2d12f5d443c6727044faf1340d1b6cbc9111a0beb347f82736a6f4a6df1d9b2a9cae493b1a84fe2128ddfef99f2400f77e12bbdfded565b194fa3f1e3dc8740
7
- data.tar.gz: 2ac607e4b87e88c8653e089e0bb5f387679c7b76ba23e3e3bad8e096e560e547a4517f0e1753152183708097239e42f1970d89426ab97b850c8a86a5c86a4b72
6
+ metadata.gz: 7ebd9c53a0639d1f5f27a6e411bd55b7ebd14636f47fe54f5da16cca0744a96bfca0c64be1e2f401c3681dca842808a71e2c2330798c84d87177fa260ed01bb9
7
+ data.tar.gz: 0a2bf7bd953ec9487a65e3286127d8990dfd55afc470b1c6ee8fd3debc0f557d2fd2a9405b4aa0997461f6c70a5044c8eef80cc5b80fba3e38a746bf4fa96efb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- animatedgifme-v1 (1.0.0)
4
+ animatedgifme-v1 (1.0.1)
5
5
  httparty (~> 0.18.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,16 +1,14 @@
1
- # Animatedgifme
1
+ # Animatedgifme-v1
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/animatedgifme`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A ruby library for http://animatedgif.me. Created for the _**current**_ Animatedgif JSON.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ A gem example from the tutorial: [Consuming an API Using HTTParty and Creating a Gem](https://gorails.com/episodes/23) @ GoRails by Chris Oliver.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- ```ruby
12
- gem 'animatedgifme'
13
- ```
11
+ gem 'animatedgifme-v1'
14
12
 
15
13
  And then execute:
16
14
 
@@ -18,21 +16,29 @@ And then execute:
18
16
 
19
17
  Or install it yourself as:
20
18
 
21
- $ gem install animatedgifme
19
+ $ gem install animatedgifme-v1
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ ```ruby
24
+ Animatedgifme.find(1700)
25
+ #=> "http://animatedgif.me/uploads/f5005a560b8454791e809348c5927653.gif"
26
+
27
+ Animatedgifme.tagged("cat")
28
+ #=> "http://animatedgif.me/uploads/c74bcc6e60f81bb31652cbdbdd732261.gif"
29
+
30
+ Animatedgifme.random "cat"
31
+ #=> "http://animatedgif.me/uploads/8666ff05ceebf8ad03eefdc2e2d0560d.gif"
32
+ ```
26
33
 
27
- ## Development
34
+ ## Testing
28
35
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
+ $ bundle exec rake
30
37
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
38
 
33
39
  ## Contributing
34
40
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/animatedgifme.
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dneverov/animatedgifme.
36
42
 
37
43
  ## License
38
44
 
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
21
 
22
22
  spec.metadata["homepage_uri"] = spec.homepage
23
- spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
24
- spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
23
+ spec.metadata["source_code_uri"] = "https://github.com/dneverov/animatedgifme"
24
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
25
25
  else
26
26
  raise "RubyGems 2.0 or newer is required to protect against " \
27
27
  "public gem pushes."
@@ -1,3 +1,3 @@
1
1
  module Animatedgifme
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: animatedgifme-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Neverov
@@ -98,8 +98,7 @@ licenses:
98
98
  - MIT
99
99
  metadata:
100
100
  homepage_uri: https://github.com/dneverov/animatedgifme
101
- source_code_uri: 'TODO: Put your gem''s public repo URL here.'
102
- changelog_uri: 'TODO: Put your gem''s CHANGELOG.md URL here.'
101
+ source_code_uri: https://github.com/dneverov/animatedgifme
103
102
  post_install_message:
104
103
  rdoc_options: []
105
104
  require_paths: