where_to_cli 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2IyMjhhMDllODRmMWRjYjY4NDBhODVkMmIyZjg5NGI0ZDNiMmMxNw==
4
+ MzM1ZmQ2NzcwM2IzMjFmM2MxNzNmNjAxMTdlOWM4M2M1NDgzOGE4Zg==
5
5
  data.tar.gz: !binary |-
6
- YzM5ZDUxYmY0MTk5ZDFmN2RkNGQ2ODUyYzBhN2YzMjhmOTdmZGZjZQ==
6
+ OTMyM2NlMGZiNzNkNWY2MmM1NTRjMzc5YzkzMjAzOWMxMTA2ZWE2OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjZkZmNjNjY3ODFlZGVlYzgyYTRlNjU5ZTAxMGFhOWQwOTJiMjE1YjU1OWFj
10
- ZTFlMjY5YWM1MjA3ZWZlYjVhZGU2ZjMxNGEyOTEzNDQ3MDJlNjljYzQxZWU3
11
- ZjcyNDZhMDhjMGJlNGMzNzFkNjA3MjJjMDNhY2JkMDUyMTZmODU=
9
+ ZDM5Y2I0NWYzMjY2MWUyNzhmNjMyOTFhOGI2MzBmN2JiNDQ2ZjMzYjU3MGE3
10
+ M2FiNTlmNzk0NGQ4MWFmYWFhOGFlNmM4ZmIzMGUyZjFiZmMyOGYwZjQyNTA4
11
+ YTMzZjZlZTg4OTNjODk0ZjJhZjllOTAzY2YzNTAzYTljYTFhNTI=
12
12
  data.tar.gz: !binary |-
13
- ZTQwY2NkNDhjNjRlMjVjNzJkZmUzMDhhYTc5ODE1MGE1OGQ5Yjg4NzIxYjA5
14
- YjIwY2FiYWYyYTQ0YmNiYjI1MjU4ZjY2MGJkNWMwN2VjMTdhNjgzZTY4MTNk
15
- OWY3NDFmZGYzZTdhZmYyZTgwZGU2OTU1ODEzMzMzNTBlY2RlY2Q=
13
+ ZjljNzBkZjg0NDA2NjVmZDFjMjU1MjlkODAyYmRkYTdlMGQxNzFhMzc4ZWNl
14
+ ZGM3MzZjNTMxM2M3ZDk0YmFhMWY0Y2FjODc4MGFjYzRmNTBmZTZkYTQwMzA0
15
+ NGZjNmFiNjEwYmU2Y2VlYmQwNDUxOTc2YWVjZjU2ZDQwZWFlYzM=
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- *.gem
1
+ *.gem
2
+ coverage
data/Gemfile.lock CHANGED
@@ -1,24 +1,35 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- where_to_cli (0.1.6)
4
+ where_to_cli (0.1.7)
5
5
  gli (= 2.13.1)
6
6
  where_to (~> 0.9.0, >= 0.9)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
+ diff-lcs (1.2.5)
11
12
  gli (2.13.1)
12
13
  httparty (0.13.5)
13
14
  json (~> 1.8)
14
15
  multi_xml (>= 0.5.2)
15
16
  json (1.8.3)
16
17
  multi_xml (0.5.5)
17
- power_assert (0.2.3)
18
18
  rake (10.4.2)
19
19
  rdoc (4.2.0)
20
- test-unit (3.1.2)
21
- power_assert
20
+ rspec (3.3.0)
21
+ rspec-core (~> 3.3.0)
22
+ rspec-expectations (~> 3.3.0)
23
+ rspec-mocks (~> 3.3.0)
24
+ rspec-core (3.3.0)
25
+ rspec-support (~> 3.3.0)
26
+ rspec-expectations (3.3.0)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.3.0)
29
+ rspec-mocks (3.3.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.3.0)
32
+ rspec-support (3.3.0)
22
33
  tvdb_party (0.8.1)
23
34
  httparty (>= 0.6.1)
24
35
  where_to (0.9.5)
@@ -30,8 +41,8 @@ PLATFORMS
30
41
  DEPENDENCIES
31
42
  rake (~> 10.4.2, >= 10.4)
32
43
  rdoc (~> 4.2.0, >= 4.2)
33
- test-unit (~> 3.1.1, >= 3.1)
44
+ rspec (~> 3.2)
34
45
  where_to_cli!
35
46
 
36
47
  BUNDLED WITH
37
- 1.10.2
48
+ 1.10.3
data/Rakefile CHANGED
@@ -1,22 +1,41 @@
1
- require 'rake/clean'
2
- require 'rubygems'
3
- require 'rubygems/package_task'
4
- require 'rdoc/task'
5
- Rake::RDocTask.new do |rd|
6
- rd.main = "README.rdoc"
7
- rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
8
- rd.title = 'Your application title'
9
- end
10
-
11
- spec = eval(File.read('where_to_cli.gemspec'))
12
-
13
- Gem::PackageTask.new(spec) do |pkg|
14
- end
15
-
16
- require 'rake/testtask'
17
- Rake::TestTask.new do |t|
18
- t.libs << "test"
19
- t.test_files = FileList['test/*_test.rb']
20
- end
21
-
22
- task :default => [:test]
1
+ # require 'rake/clean'
2
+ # require 'rubygems'
3
+ # require 'rubygems/package_task'
4
+ # require 'rdoc/task'
5
+ # Rake::RDocTask.new do |rd|
6
+ # rd.main = "README.rdoc"
7
+ # rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
8
+ # rd.title = 'Your application title'
9
+ # end
10
+
11
+ # spec = eval(File.read('where_to_cli.gemspec'))
12
+
13
+ # Gem::PackageTask.new(spec) do |pkg|
14
+ # end
15
+
16
+ # require 'rake/testtask'
17
+ # Rake::TestTask.new do |t|
18
+ # t.libs << "test"
19
+ # t.test_files = FileList['test/*_test.rb']
20
+ # end
21
+
22
+ # task :default => [:test]
23
+
24
+ require "bundler/gem_tasks"
25
+ require "rspec/core/rake_task"
26
+
27
+ RSpec::Core::RakeTask.new(:spec)
28
+
29
+ task default: :spec
30
+
31
+ task :watch do
32
+ folders_to_watch = 'bin lib spec'
33
+ action_on_change = 'bundle exec rake'
34
+ begin
35
+ gem 'filewatcher'
36
+ sh "filewatcher '#{folders_to_watch}' '#{action_on_change}'"
37
+ rescue Gem::LoadError
38
+ puts 'You need to have the filewatcher gem installed to perform this task.'
39
+ puts 'Install with \'gem install filewatcher\''
40
+ end
41
+ end
data/bin/whereto CHANGED
@@ -74,7 +74,7 @@ end
74
74
  def process(files)
75
75
  locator = WhereTo::Locator.new
76
76
  locator.episode_number = 0
77
- locator.series_title = prompt_for_series_title default: locator.series_title
77
+ locator.series_title = prompt_for :series_title, default: locator.series_title
78
78
 
79
79
  files.each do |file|
80
80
  puts ''
@@ -1,3 +1,3 @@
1
1
  module WhereToCli
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
data/where_to_cli.gemspec CHANGED
@@ -19,7 +19,7 @@ spec = Gem::Specification.new do |s|
19
19
 
20
20
  s.add_development_dependency 'rake', '~> 10.4.2', '>= 10.4'
21
21
  s.add_development_dependency 'rdoc', '~> 4.2.0', '>= 4.2'
22
- s.add_development_dependency 'test-unit', '~> 3.1.1', '>= 3.1'
22
+ s.add_development_dependency 'rspec', '~> 3.2'
23
23
 
24
24
  s.add_runtime_dependency 'where_to', '~> 0.9.0', '>= 0.9'
25
25
  s.add_runtime_dependency 'gli', '2.13.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: where_to_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Toniazzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -51,25 +51,19 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '4.2'
53
53
  - !ruby/object:Gem::Dependency
54
- name: test-unit
54
+ name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ~>
58
58
  - !ruby/object:Gem::Version
59
- version: 3.1.1
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '3.1'
59
+ version: '3.2'
63
60
  type: :development
64
61
  prerelease: false
65
62
  version_requirements: !ruby/object:Gem::Requirement
66
63
  requirements:
67
64
  - - ~>
68
65
  - !ruby/object:Gem::Version
69
- version: 3.1.1
70
- - - ! '>='
71
- - !ruby/object:Gem::Version
72
- version: '3.1'
66
+ version: '3.2'
73
67
  - !ruby/object:Gem::Dependency
74
68
  name: where_to
75
69
  requirement: !ruby/object:Gem::Requirement
@@ -121,8 +115,6 @@ files:
121
115
  - bin/whereto
122
116
  - lib/where_to_cli.rb
123
117
  - lib/where_to_cli/version.rb
124
- - test/default_test.rb
125
- - test/test_helper.rb
126
118
  - where_to_cli.gemspec
127
119
  - where_to_cli.rdoc
128
120
  homepage: https://github.com/jutonz/where_to_cli
data/test/default_test.rb DELETED
@@ -1,14 +0,0 @@
1
- require 'test_helper'
2
-
3
- class DefaultTest < Test::Unit::TestCase
4
-
5
- def setup
6
- end
7
-
8
- def teardown
9
- end
10
-
11
- def test_the_truth
12
- assert true
13
- end
14
- end
data/test/test_helper.rb DELETED
@@ -1,9 +0,0 @@
1
- require 'test/unit'
2
-
3
- # Add test libraries you want to use here, e.g. mocha
4
-
5
- class Test::Unit::TestCase
6
-
7
- # Add global extensions to the test case class here
8
-
9
- end