Skip to content

Commit

Permalink
Merge pull request #6 from nodanaonlyzuul/rehab
Browse files Browse the repository at this point in the history
Rehab
  • Loading branch information
nodanaonlyzuul committed Feb 4, 2022
2 parents 238a4b4 + c80a378 commit e639cbb
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 52 deletions.
45 changes: 23 additions & 22 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,40 +1,41 @@
PATH
remote: .
specs:
flickr_cli (0.2.5)
asciiart (= 0.0.9)
flickr_authentication (= 0.0.3)
flickr_cli (0.3.0)
asciiart (= 0.3.0)
flickr_authentication (= 0.0.4)
highline (= 1.6.11)

GEM
remote: https://rubygems.org/
specs:
asciiart (0.0.9)
rainbow (= 2.0.0)
rmagick (= 2.13.4)
coderay (1.0.8)
configuration (1.3.4)
flickr_authentication (0.0.3)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
asciiart (0.3.0)
rainbow (= 3.0.0)
rmagick (= 4.2.4)
coderay (1.1.3)
flickr_authentication (0.0.4)
flickraw (= 0.9.8)
launchy (= 0.4.0)
launchy (= 2.5.0)
flickraw (0.9.8)
highline (1.6.11)
launchy (0.4.0)
configuration (>= 0.0.5)
rake (>= 0.8.1)
method_source (0.8.1)
pry (0.9.10)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.3.1)
rainbow (2.0.0)
rake (10.4.2)
rmagick (2.13.4)
slop (3.3.3)
launchy (2.5.0)
addressable (~> 2.7)
method_source (1.0.0)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rainbow (3.0.0)
rmagick (4.2.4)

PLATFORMS
ruby

DEPENDENCIES
flickr_cli!
pry

BUNDLED WITH
2.2.15
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# flickr_cli

A command line interface to a photo sharing website is surely an abomination in the eyes of God.

![Screenshot of menu](http://farm8.staticflickr.com/7349/8804017090_07e532570c.jpg)

![ascii art rendering of national parks sign](http://farm8.staticflickr.com/7310/8804017078_0456a35075.jpg)

## Install

`gem install flickr_cli`

## Requirements

- Imagemagick (Needed for the "asciiart gem":<https://github.com/nodanaonlyzuul/asciiart>)
- A good internet connection and patience

That's it. Use the `flickr_cli` command and get moving.

## For Best Viewing

- Make your terminal window opaque
- Reduce terminal's font size for best results
23 changes: 0 additions & 23 deletions README.textile

This file was deleted.

6 changes: 3 additions & 3 deletions flickr_cli.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$spec = Gem::Specification.new do |s|
s.name = "flickr_cli"
s.description = "A Command-Line tool for exploring your flickr account"
s.version = '0.2.5'
s.version = '0.3.0'
s.summary = "A Command-Line tool for exploring your flickr account"

s.authors = ['Stephen Schor']
Expand All @@ -12,8 +12,8 @@ $spec = Gem::Specification.new do |s|
s.files = Dir['bin/*','lib/**/*']

s.add_dependency 'highline', '1.6.11'
s.add_dependency 'asciiart', '0.0.9'
s.add_dependency 'flickr_authentication', '0.0.3'
s.add_dependency 'asciiart', '0.3.0'
s.add_dependency 'flickr_authentication', '0.0.4'

s.add_development_dependency('pry')

Expand Down
11 changes: 7 additions & 4 deletions lib/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ def self.download_and_print(picked_photo)
end

def self.good_by_message
["Be that way",
"Goodbye - I'll never love again",
"I love my wife, is that a crime?",
"Goodbye - Flickr? I hardly know her"].shuffle[0]
['Be that way.',
"Goodbye - I'll never love again.",
'I love my kid, is that a crime?',
'Smell u l8er sk8ter',
'How could you do this to me? Now?',
'Listen to Lilys, Swervedriver, and The Swirilies.',
'Flickr? I hardly know her'].sample
end

def self.contacts
Expand Down

0 comments on commit e639cbb

Please sign in to comment.