quotify 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
  SHA256:
3
- metadata.gz: effe75ebf5a35879f5578a0286cc538b46a982c829715399b36c1fdeda33bc21
4
- data.tar.gz: cafb9418e7f98dd5c0e92c67c13a021a045639b3c56ad0ef79983c10a0830dca
3
+ metadata.gz: e35bf337674a084aa87a47429da16ec90f95c55e27774613e49aebab8d9bb91a
4
+ data.tar.gz: d7b2ae90b551da9a00d61c1a57d18c5907224dbeeec1e8934af17a125a2862a0
5
5
  SHA512:
6
- metadata.gz: f3783ef58fa4f42fd7cdb2228ea8a5c7b3736c47a1734daa9a996b451505d95576d31e4b44b3fb98e9e557b8353d065b12c93de51626f7de6cee083463892ddf
7
- data.tar.gz: 198c6f2b60d4a81848fb5b8408f9338d5bc3687d77689c685f3c0da8c080bdbd6eaf8634267d8c5e5955ba72db437765668ec1baab739608b03e51e5f9bb954d
6
+ metadata.gz: dd55213a17ef985f27497af70bb071237750542544d653d77d8bfbe0817d3aba971e07a36afc2d9554979d7dce0862f6b20018545f878e1b9b0d9585b6fb246a
7
+ data.tar.gz: 0c6b3cbcb5fbc6e916ff0c2984920c0bf132468446c08b665251779c755b2de5750af17ed8af659e76bb381c3d35a75b7fb26c3cfbe3704fdcf544cce7bc9485
@@ -1,3 +1,6 @@
1
+ ## V0.3.1
2
+ Quotify CLI command can also be used to display random quotes without calling the update function. Calling `quotify` without parameter will now show a quote instead of returning null. Also the CLI logo was fixed.
3
+
1
4
  ## V0.3.0
2
5
  Introduction quotify CLI. Pretty barebone implementation with update method. `quotify update` or `quotify u` updates the database.
3
6
 
@@ -4,16 +4,17 @@ require 'quotify'
4
4
  require 'HTTParty'
5
5
  require 'yaml'
6
6
 
7
- if ARGV[0] == 'update' || ARGV[0] == 'u'
8
- puts "-------------------------------------\n"\
9
- " ____ __ _ ____
7
+ puts "-------------------------------------\n"\
8
+ " ____ __ _ ____
10
9
  / __ \\__ ______ / /_(_) __/_ __
11
10
  / / / / / / / __ \\/ __/ / /_/ / / /
12
11
  / /_/ / /_/ / /_/ / /_/ / __/ /_/ /
13
12
  \\___\\_\\__,_/\\____/\\__/_/_/ \\__, /
14
- /____/ \n"\
15
- "-------------------------------------\n"\
16
- "#{Quotify.generate}\n\n"
13
+ .____/ /
14
+ /______/\n"\
15
+ "-------------------------------------\n"\
16
+ "#{Quotify.generate}\n\n"
17
+ if ARGV[0] == 'update' || ARGV[0] == 'u'
17
18
  payload = YAML.load(HTTParty.get('https://raw.githubusercontent.com/jusleg/quotify-ruby/master/lib/quotify/quotes.yml'))
18
19
 
19
20
  if Quotify.config[:updated_at] < payload[:updated_at]
@@ -1,6 +1,5 @@
1
- ---
2
- :updated_at: 2018-01-31
3
- :default_spacer: " - "
1
+ :updated_at: 2018-02-01
2
+ :default_spacer: ' - '
4
3
  :authors:
5
4
  - Ivanka Trump
6
5
  - Dog The Bounty Hunter
@@ -29,6 +28,7 @@
29
28
  - Snoop Dogg
30
29
  - Olga
31
30
  - Logan Paul
31
+
32
32
  :quotes:
33
33
  - The ode lives upon the ideal, the epic upon the grandiose, the drama upon the real.
34
34
  - If we don't study the mistakes of the future we're doomed to repeat them for the
@@ -95,3 +95,4 @@
95
95
  - Link in Bio
96
96
  - Be a maverick
97
97
  - DAMN DAWG.
98
+ - zaaaaamn zoooooog
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quotify
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
  - Justin Leger