ellen-google_image 0.0.1 → 0.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: cbd30dbc7694ec734cb8b62652f9ecf5e5ccc7a0
4
- data.tar.gz: 8c4d18388f61dc36a4daea1b2bf273ff83d88025
3
+ metadata.gz: 107cfad953bc05f1c5d09b22dee600dc1bdb66d0
4
+ data.tar.gz: b6088614c207cf7a139735791fb5c2343d51f4b7
5
5
  SHA512:
6
- metadata.gz: 57e4f08c1a5f4875bc085cae5d0acbbb65a49a46c2d02f61715f797f12e60aa8a89c94a4c231899c8b30d84fc216d72ac308788698b60e892b9995037bda70b9
7
- data.tar.gz: 473dd1a30e55cb1e05d824b7fd53691c112f0db02c4deda06563e0b3351384f626f2533ac1b0ce39fd44ef87be74e4caf3fa672a714bb8adfd6c314496c1b0d4
6
+ metadata.gz: 13cededc25bbfb7d12924b6438c832817e042a8bd87efe30c3cf2c51b4a3a8c854aa47db76e0f60d04e6218da0e4496a6cd714fea1f8b96d63ef2da313649616
7
+ data.tar.gz: b7afa513ccd8f8733e83d2f8ef97e20cbc0db4659ecdcef736c8e7f9cdea4decd2882133234d4bd63b35d3260358ba578544de800fb4d25f1d4a77db9518a879
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## 0.0.2
2
+ * Fix animate query
3
+
4
+ ## 0.0.1
5
+ * 1st Release
data/README.md CHANGED
@@ -6,3 +6,5 @@ An ellen handler to search images from Google.
6
6
  @ellen image <query> - Search image from Google
7
7
  @ellen animate <query> - Search animation from Google
8
8
  ```
9
+
10
+ ![](https://raw.githubusercontent.com/r7kamura/ellen-google_image/master/images/screenshot.png)
Binary file
@@ -59,7 +59,7 @@ module Ellen
59
59
  end
60
60
 
61
61
  def image_type
62
- "ainmated" if options[:animated]
62
+ "animated" if options[:animated]
63
63
  end
64
64
 
65
65
  def connection
@@ -1,5 +1,5 @@
1
1
  module Ellen
2
2
  module GoogleImage
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ module Ellen
8
8
  end
9
9
 
10
10
  on /animate (.+)/, description: "Search animation from Google" do |message|
11
- if url = Ellen::GoogleImage::Client.new(query: message[1]).get
11
+ if url = Ellen::GoogleImage::Client.new(query: message[1], animated: true).get
12
12
  say url
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ellen-google_image
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
@@ -102,11 +102,13 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
+ - CHANGELOG.md
105
106
  - Gemfile
106
107
  - LICENSE.txt
107
108
  - README.md
108
109
  - Rakefile
109
110
  - ellen-google_image.gemspec
111
+ - images/screenshot.png
110
112
  - lib/ellen/google_image.rb
111
113
  - lib/ellen/google_image/client.rb
112
114
  - lib/ellen/google_image/version.rb