Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Document 'from PERMALINK' feature
Browse files Browse the repository at this point in the history
  • Loading branch information
n10v committed Jul 22, 2015
1 parent 4b1f826 commit fe1690a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 14 deletions.
28 changes: 24 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
# nehm Change Log
# nehm change log

## 1.1

* Add 'from PERMALINK' feature

## 1.0.7.1

* Remove useless dependency :)

## 1.0.7

* Add paint dependency

## 1.0.6.1

* Edit gem description
* Edit dependencies

## 1.0.6

* Add check for invalid number of likes/posts
* Add CHANGELOG.md
* Use OPTIONS instead of [options] in help

## 1.0.5

Expand All @@ -15,19 +38,16 @@
## 1.0.2

* Edit path to nehm version in Rakefile

* Fix: nehm fails, then setting tags to track

## 1.0.1

* Rakefile:

* Add push (push to rubygems.org) task

* Modify tasks

* Edit required Ruby version

* Fix: if you invalid argument in 'nehm get', then app fails

## 1.0
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Go to usage for further instructions

`nehm get 3 posts` or `nehm get 3 likes`

* To get last post(s) or like(s) from another user

`nehm get post from nasa` or `nehm get like from nasa`

* To just download and set tags any track, you can input

`nehm dl post` or `nehm dl like` or `nehm dl 3 likes` and etc.
Expand Down
24 changes: 15 additions & 9 deletions lib/nehm/help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,29 @@ def configure
end

def dl
puts Paint['Input: ', :yellow] + 'nehm dl OPTIONS'
puts Paint['Input: ', :yellow] + 'nehm dl OPTIONS [from PERMALINK]'

puts Paint['Available options:', :yellow]
puts ' ' + Paint['track', :green] + ' - Downloading and setting tags last post(track or repost) from your profile'
puts ' ' + Paint['[number] tracks', :green] + ' - Downloading and setting tags last [number] posts from your profile'
puts Paint['OPTIONS:', :yellow]
puts ' ' + Paint['post', :green] + ' - Downloading and setting tags last post(track or repost) from your profile'
puts ' ' + Paint['<number> posts', :green] + ' - Downloading and setting tags last <number> posts from your profile'
puts ' ' + Paint['like', :green] + ' - Downloading and setting tags your last like'
puts ' ' + Paint['[number] likes', :green] + ' - Downloading and setting tags your last [number] likes'
puts ' ' + Paint['<number> likes', :green] + ' - Downloading and setting tags your last <number> likes'

puts Paint['Extra options:', :yellow]
puts ' ' + Paint['from PERMALINK', :green] + ' - Do the aforecited operations from the custom user profile'
end

def get
puts Paint['Input: ', :yellow] + 'nehm get OPTIONS'
puts Paint['Input: ', :yellow] + 'nehm get OPTIONS [from PERMALINK]'

puts Paint['Available options:', :yellow]
puts ' ' + Paint['track', :green] + ' - Downloading, setting tags and adding to your iTunes library last post(track or repost) from your profile'
puts ' ' + Paint['[number] tracks', :green] + ' - Downloading, setting tags and adding to your iTunes library last [number] posts from your profile'
puts ' ' + Paint['post', :green] + ' - Downloading, setting tags and adding to your iTunes library last post(track or repost) from your profile'
puts ' ' + Paint['<number> posts', :green] + ' - Downloading, setting tags and adding to your iTunes library last <number> posts from your profile'
puts ' ' + Paint['like', :green] + ' - Downloading, setting tags and adding to your iTunes library your last like'
puts ' ' + Paint['[number] likes', :green] + ' - Downloading, setting tags and adding to your iTunes library your last [number] likes'
puts ' ' + Paint['<number> likes', :green] + ' - Downloading, setting tags and adding to your iTunes library your last <number> likes'

puts Paint['Extra options:', :yellow]
puts ' ' + Paint['from PERMALINK', :green] + ' - Do the aforecited operations from the profile with PERMALINK'
end

def permalink
Expand Down
2 changes: 1 addition & 1 deletion lib/nehm/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Nehm
VERSION = '1.0.7.1'
VERSION = '1.1'
end

0 comments on commit fe1690a

Please sign in to comment.