hurriyet_cli 0.3.0 → 0.3.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: 367e725fe44920ee1a769597f32fa9c9d9820ad2
4
- data.tar.gz: dbaf872b454846adceefa3cfc588106eaef105d3
3
+ metadata.gz: 596adbe2eb781657a802fb91395d0082f7a2d8b5
4
+ data.tar.gz: 60822453f12e13326fc1a51877f79ccba618aed3
5
5
  SHA512:
6
- metadata.gz: 78e2fba2963f2aa51e2b086878331af7e7b4710a36a3e388679fb10318b0d315c201e18f832ecd48d38c050b289faed0092dad26327400ac25b353508959f1bc
7
- data.tar.gz: f0045ce161523452927cfa0adc1e93d9b826d1d468e8f323ac833f38e7f6dd1fb7793af290bacfde9db57812413abec7e16a967b85c3e651ced7fabf11b79c58
6
+ metadata.gz: a061c85807af2b9c3829bd30d0770b4ff8f61018aebcf21dc2a84b3ffa2fdf6016d1116288d2cc803acbfa3f7fef147b8c5a60ccf141b815744ad0021b6ed3d2
7
+ data.tar.gz: 1ab6c516210113d01a6ab492543f3c394685f06ed0ed1016164d88e04783490db1ae8a1b4475d1d5587bdd2f19548a0fb943d6495ae81f53839b1d78478be170
@@ -4,6 +4,10 @@ require "thor/runner"
4
4
 
5
5
  module HurriyetCli
6
6
  class HammerOfTheGods < Thor
7
+ unless ENV['API_KEY']
8
+ raise 'Please add your API_KEY'
9
+ end
10
+
7
11
  desc "articles", "Fetch all articles"
8
12
  method_option :top, desc: "Fetch N articles"
9
13
  def articles
@@ -1,3 +1,3 @@
1
1
  module HurriyetCli
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hurriyet_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ender Ahmet Yurt