imgurapi 3.0.1 → 3.0.2

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: 216926a679fce6cb67109da7246e1d9919cee5f0
4
- data.tar.gz: be7432049b038156e42f376c0548c711421ec4c0
3
+ metadata.gz: 264b754ad1bbbc5beae5b00bc28280502866d7b0
4
+ data.tar.gz: f63f1d965d99acbe5512cebd6b44345d4c66f6bd
5
5
  SHA512:
6
- metadata.gz: d1cf1a21fafb97f9d7efdf405814cc388d8e1d6c279c148aac5ec48e07b8d6d2c0a22d3893b1efebd2c5a33e51f335ed232f2773e093a29b20ddd0f550edad8a
7
- data.tar.gz: 2bd8f37e2ff26f926d7db086f6eff2a29e19c90203cd98ca8c0f59c171cc107264de063e00be0a8c764906f923144e035bd7a30b105cc75b4c8deeb61d90bd81
6
+ metadata.gz: 8d58037624698e6c5fca78b770d2a17edc4d9911a57013710727ee1ca960e7f856fca25105b127576f441981b82580a8eebfe96ed8eb1161fe7f607dc1cca48c
7
+ data.tar.gz: 337e0d31f5ee6e004a82fb489f738fe7a632e9fca3d7eca07da613458a70259f3e0040af844fca1b18dc405168a57c0f4c0ee07148c7a4aa39884ece52c7d282
@@ -15,4 +15,4 @@ require 'imgurapi/models/account'
15
15
  require 'imgurapi/models/image'
16
16
 
17
17
  # Rails integration
18
- require 'imgurapi/tasks/railtie' if defined? Rails
18
+ require 'imgurapi/railtie' if defined? Rails
@@ -0,0 +1,7 @@
1
+ module Imgurapi
2
+ class Railtie < Rails::Railtie
3
+ rake_tasks do
4
+ load 'imgurapi/tasks/tasks.rake'
5
+ end
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Imgurapi
2
2
 
3
- VERSION = '3.0.1'
3
+ VERSION = '3.0.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imgurapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Cruz Horts
@@ -83,8 +83,8 @@ files:
83
83
  - lib/imgurapi/models/account.rb
84
84
  - lib/imgurapi/models/base.rb
85
85
  - lib/imgurapi/models/image.rb
86
+ - lib/imgurapi/railtie.rb
86
87
  - lib/imgurapi/session.rb
87
- - lib/imgurapi/tasks/railtie.rb
88
88
  - lib/imgurapi/tasks/rake.rb
89
89
  - lib/imgurapi/tasks/tasks.rake
90
90
  - lib/imgurapi/version.rb
@@ -1,10 +0,0 @@
1
- module Imgurapi
2
- module Tasks
3
- class Railtie < Rails::Railtie
4
- rake_tasks do
5
- load 'imgurapi/tasks/tasks.rake'
6
- end
7
- end
8
- end
9
- end
10
-