nehm 1.3.1 → 1.3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/nehm/get.rb +3 -9
- data/lib/nehm/version.rb +1 -1
- data/nehm.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1406390ea3bcdf0427ddb52b66db2ffc92f84bc0
|
4
|
+
data.tar.gz: 7075b0954b1e5c62e01b9f7dc3d67668c451f359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 870dbd26dd929940305bcfb1570ee776e63edd06c8a823d35f2f6c805ff87beec8da3b82e5b05e2791cf5dea04bf47bb44e5500d728828ad83ad673ac56e962d
|
7
|
+
data.tar.gz: 9d19efd2d5d80eb309be42632a5cbbdf39b5a465ce2b9d77241eba9ef1d33218bddd0555e7c5d57031b0ff022ffe66d0b1117519e18bcd62f89b5efd1fa372a6
|
data/CHANGELOG.md
CHANGED
data/lib/nehm/get.rb
CHANGED
@@ -9,9 +9,9 @@ module Get
|
|
9
9
|
if args.include? 'from'
|
10
10
|
index = args.index('from')
|
11
11
|
permalink = args[index + 1]
|
12
|
-
|
13
12
|
args.delete_at(index + 1)
|
14
13
|
args.delete_at(index)
|
14
|
+
|
15
15
|
UserControl.user(permalink)
|
16
16
|
else
|
17
17
|
UserControl.default_user
|
@@ -21,13 +21,12 @@ module Get
|
|
21
21
|
if args.include? 'to'
|
22
22
|
index = args.index('to')
|
23
23
|
path = args[index + 1]
|
24
|
+
args.delete_at(index + 1)
|
25
|
+
args.delete_at(index)
|
24
26
|
|
25
27
|
path = PathControl.tilde_to_home(path) if PathControl.tilde_at_top?(path)
|
26
28
|
|
27
29
|
PathControl.temp_dl_path = path
|
28
|
-
|
29
|
-
args.delete_at(index + 1)
|
30
|
-
args.delete_at(index)
|
31
30
|
end
|
32
31
|
|
33
32
|
tracks = []
|
@@ -35,21 +34,16 @@ module Get
|
|
35
34
|
case args.last
|
36
35
|
when 'like'
|
37
36
|
user.likes(1)
|
38
|
-
|
39
37
|
when 'post'
|
40
38
|
user.posts(1)
|
41
|
-
|
42
39
|
when 'likes'
|
43
40
|
count = args[-2].to_i
|
44
41
|
user.likes(count)
|
45
|
-
|
46
42
|
when 'posts'
|
47
43
|
count = args[-2].to_i
|
48
44
|
user.posts(count)
|
49
|
-
|
50
45
|
when %r{https:\/\/soundcloud.com\/}
|
51
46
|
track_from_url(args.last)
|
52
|
-
|
53
47
|
else
|
54
48
|
puts Paint['Invalid argument(s)', :red]
|
55
49
|
puts "Input #{Paint['nehm help', :yellow]} for help"
|
data/lib/nehm/version.rb
CHANGED
data/nehm.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['Albert Nigmatzianov']
|
10
10
|
spec.email = ['albertnigma@gmail.com']
|
11
11
|
|
12
|
-
spec.summary = %q{ Convenient way to
|
12
|
+
spec.summary = %q{ Convenient way to download tracks from SoundCloud via terminal }
|
13
13
|
spec.description = %q{ nehm is a console tool, which downloads, sets IDv3 tags and adds to your iTunes library your SoundCloud posts or likes in convenient way. See homepage for instructions }
|
14
14
|
spec.homepage = 'http://www.github.com/bogem/nehm'
|
15
15
|
spec.license = 'MIT'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nehm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.1
|
4
|
+
version: 1.3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert Nigmatzianov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -149,5 +149,5 @@ rubyforge_project:
|
|
149
149
|
rubygems_version: 2.4.8
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
|
-
summary: Convenient way to
|
152
|
+
summary: Convenient way to download tracks from SoundCloud via terminal
|
153
153
|
test_files: []
|