wtnabe-shlauncher 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
data/Rakefile CHANGED
@@ -30,7 +30,7 @@ RDOC_OPTS = [
30
30
  "--charset", "utf-8",
31
31
  "--opname", "index.html",
32
32
  "--line-numbers",
33
- "--main", "README.doc",
33
+ "--main", "README.rdoc",
34
34
  "--inline-source",
35
35
  ]
36
36
 
@@ -48,7 +48,7 @@ spec = Gem::Specification.new do |s|
48
48
  s.version = VERS
49
49
  s.platform = Gem::Platform::RUBY
50
50
  s.has_rdoc = true
51
- s.extra_rdoc_files = ["README.doc", "ChangeLog"]
51
+ s.extra_rdoc_files = ["README.rdoc", "ChangeLog"]
52
52
  s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
53
53
  s.summary = "Scaffold your custom launcher. Launch from your shell script ( and also Ruby script ) collection."
54
54
  s.description = DESCRIPTION
@@ -65,7 +65,7 @@ spec = Gem::Specification.new do |s|
65
65
  s.add_dependency('rake', '>= 0')
66
66
  #s.required_ruby_version = '>= 1.8.2'
67
67
 
68
- s.files = %w(README.doc ChangeLog Rakefile) +
68
+ s.files = %w(README.rdoc ChangeLog Rakefile) +
69
69
  Dir.glob("{bin,doc,test,lib,templates,generator,extras,website,script}/**/*") +
70
70
  Dir.glob("ext/**/*.{h,c,rb}") +
71
71
  Dir.glob("examples/**/*.rb") +
@@ -99,7 +99,7 @@ Rake::RDocTask.new do |rdoc|
99
99
  if ENV['DOC_FILES']
100
100
  rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
101
101
  else
102
- rdoc.rdoc_files.include('README.doc', 'ChangeLog')
102
+ rdoc.rdoc_files.include('README.rdoc', 'ChangeLog')
103
103
  rdoc.rdoc_files.include('lib/**/*.rb')
104
104
  rdoc.rdoc_files.include('ext/**/*.c')
105
105
  end
data/lib/tractor.rb CHANGED
@@ -5,7 +5,7 @@ require 'fileutils'
5
5
  require 'erb'
6
6
 
7
7
  class Shlauncher_Tractor
8
- VERSION = "0.0.1"
8
+ VERSION = "0.0.2"
9
9
 
10
10
  include FileUtils::Verbose
11
11
 
@@ -0,0 +1,12 @@
1
+ #! /bin/sh
2
+ # -*- mode: sh -*-
3
+
4
+ #
5
+ # just example
6
+ #
7
+ # Usage: example
8
+ #
9
+
10
+ echo "foo"
11
+
12
+ # thx
@@ -0,0 +1,12 @@
1
+ #! /bin/sh
2
+ # -*- mode: sh -*-
3
+
4
+ #
5
+ # just example
6
+ #
7
+ # Usage: example
8
+ #
9
+
10
+ echo "foo"
11
+
12
+ # thx
@@ -0,0 +1,5 @@
1
+ #! /bin/sh
2
+
3
+ # desc is here
4
+
5
+ echo "bar"
@@ -13,7 +13,7 @@ class ShlauncherTest < Test::Unit::TestCase
13
13
  end
14
14
 
15
15
  def test_commands_ignored
16
- assert( %w( example~ example.bak ) )
16
+ assert( @obj.commands_ignored == %w( example~ example.bak ) )
17
17
  end
18
18
 
19
19
  def test_desc
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wtnabe-shlauncher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - wtnabe
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-27 00:00:00 -07:00
12
+ date: 2009-08-28 00:00:00 -07:00
13
13
  default_executable: tractor
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -29,18 +29,21 @@ executables:
29
29
  extensions: []
30
30
 
31
31
  extra_rdoc_files:
32
- - README.doc
32
+ - README.rdoc
33
33
  - ChangeLog
34
34
  files:
35
- - README.doc
35
+ - README.rdoc
36
36
  - ChangeLog
37
37
  - Rakefile
38
38
  - bin/shlauncher_test
39
39
  - bin/tractor
40
40
  - test/script
41
41
  - test/script/example
42
+ - test/script/example.bak
43
+ - test/script/example~
42
44
  - test/script/foo
43
45
  - test/script/foo/bar
46
+ - test/script/foo/bar~
44
47
  - test/script/foo/baz
45
48
  - test/script/README
46
49
  - test/shlauncher_test.rb
@@ -58,7 +61,7 @@ rdoc_options:
58
61
  - index.html
59
62
  - --line-numbers
60
63
  - --main
61
- - README.doc
64
+ - README.rdoc
62
65
  - --inline-source
63
66
  - --exclude
64
67
  - ^(examples|extras)/