layback 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{remote/bin → bin}/layback_app.apk +0 -0
- data/bin/layback_loader +9 -0
- data/{remote/layback-remote.rb → bin/remote_control_server} +3 -1
- data/layback.gemspec +3 -1
- data/lib/layback/version.rb +1 -1
- metadata +47 -7
- data/remote/Gemfile +0 -14
- data/remote/Gemfile.lock +0 -97
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feaf94ef52b736fac187d498de987084dd77c0bc
|
4
|
+
data.tar.gz: 8b476dc109a4a5ce89c60d38fff8ced943a4734d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb76b094d99078f707dbf308cde7d3cb71899558d5e9ed72d74f10dd6b9ec8802087d939717b2d3d6e2f44056ac77c96d6df03894ca843b9471652765819cb5
|
7
|
+
data.tar.gz: 59965c5c7f7c31ae973c6bd5863fa496da6b02e3d8d2704f9eebb2d9e5d6ed2ca8ad2201881c43dd582c256ce0662271a215bc8624fb1dbbeab96f594bfe8da2
|
File without changes
|
data/bin/layback_loader
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler'
|
4
|
+
|
5
|
+
Bundler.require(:default, :development, :test)
|
6
|
+
|
7
|
+
system("remote_control_server -o 0.0.0.0 &")
|
8
|
+
system("watch4subs ~/Downloads pob por spa eng bre ger &")
|
9
|
+
system("crawl4subs ~/Downloads pob por spa eng bre ger &")
|
@@ -1,6 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'rubygems'
|
3
3
|
require 'bundler'
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'sinatra'
|
6
|
+
require 'json'
|
4
7
|
|
5
8
|
Bundler.require(:default, :development, :test)
|
6
9
|
|
@@ -13,7 +16,6 @@ def se(command)
|
|
13
16
|
r
|
14
17
|
end
|
15
18
|
|
16
|
-
|
17
19
|
get '/lang4subs' do
|
18
20
|
puts "Hello #{params.inspect}!"
|
19
21
|
se("lang4subs ~/Downloads #{params[:lang]}")
|
data/layback.gemspec
CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
else
|
21
21
|
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
22
|
end
|
23
|
-
|
24
23
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
24
|
spec.bindir = "bin"
|
26
25
|
spec.executables = ["watch4subs", "crawl4subs", "lang4subs"]
|
@@ -31,4 +30,7 @@ Gem::Specification.new do |spec|
|
|
31
30
|
spec.add_runtime_dependency "opensubtitles"
|
32
31
|
spec.add_runtime_dependency "awesome_print", "~> 1.6"
|
33
32
|
spec.add_runtime_dependency "logging", "~> 2.0"
|
33
|
+
spec.add_runtime_dependency "sinatra"
|
34
|
+
spec.add_runtime_dependency "thin"
|
35
|
+
spec.add_runtime_dependency "json"
|
34
36
|
end
|
data/lib/layback/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: layback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evandro Junior
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,6 +94,48 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sinatra
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: thin
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: json
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
97
139
|
description: The script downloads subtitles when a new movie is put to a defined folder.
|
98
140
|
email:
|
99
141
|
- evandrojr@gmail.com
|
@@ -115,6 +157,9 @@ files:
|
|
115
157
|
- bin/console
|
116
158
|
- bin/crawl4subs
|
117
159
|
- bin/lang4subs
|
160
|
+
- bin/layback_app.apk
|
161
|
+
- bin/layback_loader
|
162
|
+
- bin/remote_control_server
|
118
163
|
- bin/setup
|
119
164
|
- bin/watch4subs
|
120
165
|
- layback.gemspec
|
@@ -125,10 +170,6 @@ files:
|
|
125
170
|
- lib/settings.rb
|
126
171
|
- lib/sl.rb
|
127
172
|
- lib/watcher.rb
|
128
|
-
- remote/Gemfile
|
129
|
-
- remote/Gemfile.lock
|
130
|
-
- remote/bin/layback_app.apk
|
131
|
-
- remote/layback-remote.rb
|
132
173
|
homepage: https://github.com/evandrojr/layback
|
133
174
|
licenses:
|
134
175
|
- MIT
|
@@ -155,4 +196,3 @@ signing_key:
|
|
155
196
|
specification_version: 4
|
156
197
|
summary: Subtitles downloader on demand.
|
157
198
|
test_files: []
|
158
|
-
has_rdoc:
|
data/remote/Gemfile
DELETED
data/remote/Gemfile.lock
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
awesome_print (1.6.1)
|
5
|
-
byebug (8.2.1)
|
6
|
-
coderay (1.1.0)
|
7
|
-
coolline (0.5.0)
|
8
|
-
unicode_utils (~> 1.4)
|
9
|
-
daemons (1.2.3)
|
10
|
-
diff-lcs (1.2.5)
|
11
|
-
eventmachine (1.0.8)
|
12
|
-
ffi (1.9.10)
|
13
|
-
file-monitor (0.1.3)
|
14
|
-
rb-inotify (>= 0.8.8)
|
15
|
-
hirb (0.7.3)
|
16
|
-
jazz_fingers (3.0.0)
|
17
|
-
awesome_print (~> 1.6)
|
18
|
-
hirb (~> 0.7)
|
19
|
-
pry (~> 0.10)
|
20
|
-
pry-byebug (~> 3.1)
|
21
|
-
pry-coolline (~> 0.2)
|
22
|
-
pry-doc (~> 0.6)
|
23
|
-
pry-remote (>= 0.1.7)
|
24
|
-
json (1.8.3)
|
25
|
-
layback (0.0.3)
|
26
|
-
awesome_print (~> 1.6)
|
27
|
-
file-monitor (~> 0.1)
|
28
|
-
logging (~> 2.0)
|
29
|
-
opensubtitles
|
30
|
-
little-plugger (1.1.4)
|
31
|
-
logging (2.0.0)
|
32
|
-
little-plugger (~> 1.1)
|
33
|
-
multi_json (~> 1.10)
|
34
|
-
method_source (0.8.2)
|
35
|
-
multi_json (1.11.2)
|
36
|
-
opensubtitles (0.0.2)
|
37
|
-
pry (0.10.3)
|
38
|
-
coderay (~> 1.1.0)
|
39
|
-
method_source (~> 0.8.1)
|
40
|
-
slop (~> 3.4)
|
41
|
-
pry-byebug (3.3.0)
|
42
|
-
byebug (~> 8.0)
|
43
|
-
pry (~> 0.10)
|
44
|
-
pry-coolline (0.2.5)
|
45
|
-
coolline (~> 0.5)
|
46
|
-
pry-doc (0.8.0)
|
47
|
-
pry (~> 0.9)
|
48
|
-
yard (~> 0.8)
|
49
|
-
pry-remote (0.1.8)
|
50
|
-
pry (~> 0.9)
|
51
|
-
slop (~> 3.0)
|
52
|
-
rack (1.6.4)
|
53
|
-
rack-protection (1.5.3)
|
54
|
-
rack
|
55
|
-
rake (10.4.2)
|
56
|
-
rb-inotify (0.9.5)
|
57
|
-
ffi (>= 0.5.0)
|
58
|
-
rspec (3.4.0)
|
59
|
-
rspec-core (~> 3.4.0)
|
60
|
-
rspec-expectations (~> 3.4.0)
|
61
|
-
rspec-mocks (~> 3.4.0)
|
62
|
-
rspec-core (3.4.1)
|
63
|
-
rspec-support (~> 3.4.0)
|
64
|
-
rspec-expectations (3.4.0)
|
65
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.4.0)
|
67
|
-
rspec-mocks (3.4.0)
|
68
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.4.0)
|
70
|
-
rspec-support (3.4.1)
|
71
|
-
sinatra (1.4.6)
|
72
|
-
rack (~> 1.4)
|
73
|
-
rack-protection (~> 1.4)
|
74
|
-
tilt (>= 1.3, < 3)
|
75
|
-
slop (3.6.0)
|
76
|
-
thin (1.6.4)
|
77
|
-
daemons (~> 1.0, >= 1.0.9)
|
78
|
-
eventmachine (~> 1.0, >= 1.0.4)
|
79
|
-
rack (~> 1.0)
|
80
|
-
tilt (2.0.1)
|
81
|
-
unicode_utils (1.4.0)
|
82
|
-
yard (0.8.7.6)
|
83
|
-
|
84
|
-
PLATFORMS
|
85
|
-
ruby
|
86
|
-
|
87
|
-
DEPENDENCIES
|
88
|
-
jazz_fingers
|
89
|
-
json
|
90
|
-
layback
|
91
|
-
rake
|
92
|
-
rspec
|
93
|
-
sinatra
|
94
|
-
thin
|
95
|
-
|
96
|
-
BUNDLED WITH
|
97
|
-
1.11.2
|