oct 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemfiles +30 -0
- data/.yardopts +0 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +13 -15
- data/HISTORY.markdown +4 -0
- data/Rakefile +6 -2
- data/VERSION +1 -1
- data/bin/oct +11 -0
- data/features/support/env.rb +1 -0
- data/lib/oct.rb +9 -3
- data/oct.gemspec +35 -10
- data/spec/basic_gem/aruba_helper_spec.rb +33 -0
- data/spec/basic_gem/gemspec_spec.rb +80 -0
- data/spec/spec_helper.rb +18 -2
- data/spec/watchr.rb +46 -26
- metadata +68 -64
data/.gemfiles
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
.gemfiles
|
2
|
+
.gitattributes
|
3
|
+
.gitignore
|
4
|
+
.yardopts
|
5
|
+
Gemfile
|
6
|
+
Gemfile.lock
|
7
|
+
HISTORY.markdown
|
8
|
+
LICENSE
|
9
|
+
README.markdown
|
10
|
+
Rakefile
|
11
|
+
TODO.markdown
|
12
|
+
VERSION
|
13
|
+
bin/oct
|
14
|
+
config/cucumber.yml
|
15
|
+
features/bin.feature
|
16
|
+
features/oct.feature
|
17
|
+
features/step_definitions/.gitignore
|
18
|
+
features/step_definitions/oct_steps.rb
|
19
|
+
features/support/aruba.rb
|
20
|
+
features/support/env.rb
|
21
|
+
lib/oct.rb
|
22
|
+
lib/oct/app.rb
|
23
|
+
lib/oct/oct.rb
|
24
|
+
oct.gemspec
|
25
|
+
spec/basic_gem/aruba_helper_spec.rb
|
26
|
+
spec/basic_gem/basic_gem_spec.rb
|
27
|
+
spec/basic_gem/gemspec_spec.rb
|
28
|
+
spec/spec.opts
|
29
|
+
spec/spec_helper.rb
|
30
|
+
spec/watchr.rb
|
data/.yardopts
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
oct (0.
|
4
|
+
oct (0.2.0)
|
5
5
|
configatron (>= 2.5.1)
|
6
6
|
term-ansicolor (>= 1.0.4)
|
7
7
|
|
@@ -15,37 +15,35 @@ GEM
|
|
15
15
|
builder (2.1.2)
|
16
16
|
configatron (2.6.3)
|
17
17
|
yamler (>= 0.1.0)
|
18
|
-
cucumber (0.9.
|
18
|
+
cucumber (0.9.4)
|
19
19
|
builder (~> 2.1.2)
|
20
20
|
diff-lcs (~> 1.1.2)
|
21
|
-
gherkin (~> 2.2.
|
21
|
+
gherkin (~> 2.2.9)
|
22
22
|
json (~> 1.4.6)
|
23
23
|
term-ansicolor (~> 1.0.5)
|
24
24
|
diff-lcs (1.1.2)
|
25
|
-
gherkin (2.2.
|
25
|
+
gherkin (2.2.9)
|
26
26
|
json (~> 1.4.6)
|
27
27
|
term-ansicolor (~> 1.0.5)
|
28
|
-
trollop (~> 1.16.2)
|
29
28
|
json (1.4.6)
|
29
|
+
kramdown (0.12.0)
|
30
30
|
rake (0.8.7)
|
31
|
-
|
32
|
-
rspec (1.3.0)
|
31
|
+
rspec (1.3.1)
|
33
32
|
term-ansicolor (1.0.5)
|
34
|
-
trollop (1.16.2)
|
35
33
|
yamler (0.1.0)
|
36
|
-
yard (0.6.
|
34
|
+
yard (0.6.2)
|
37
35
|
|
38
36
|
PLATFORMS
|
39
37
|
ruby
|
40
38
|
|
41
39
|
DEPENDENCIES
|
42
|
-
aruba (>= 0.2.
|
43
|
-
bundler (>= 1.0.
|
40
|
+
aruba (>= 0.2.2)
|
41
|
+
bundler (>= 1.0.7)
|
44
42
|
configatron (>= 2.5.1)
|
45
|
-
cucumber (>= 0.
|
43
|
+
cucumber (>= 0.9.4)
|
44
|
+
kramdown (>= 0.12.0)
|
46
45
|
oct!
|
47
46
|
rake (>= 0.8.7)
|
48
|
-
|
49
|
-
rspec (>= 1.2.9)
|
47
|
+
rspec (= 1.3.1)
|
50
48
|
term-ansicolor (>= 1.0.4)
|
51
|
-
yard (>= 0.6.
|
49
|
+
yard (>= 0.6.2)
|
data/HISTORY.markdown
CHANGED
data/Rakefile
CHANGED
@@ -41,8 +41,7 @@ namespace :doc do
|
|
41
41
|
require 'yard/rake/yardoc_task'
|
42
42
|
|
43
43
|
YARD::Rake::YardocTask.new(:generate) do |yt|
|
44
|
-
yt.options = ['--
|
45
|
-
'--output-dir', doc_destination
|
44
|
+
yt.options = ['--output-dir', doc_destination
|
46
45
|
] +
|
47
46
|
gemspec.rdoc_options - ['--line-numbers', '--inline-source']
|
48
47
|
end
|
@@ -51,5 +50,10 @@ namespace :doc do
|
|
51
50
|
task :clean do
|
52
51
|
rm_r doc_destination if File.exists?(doc_destination)
|
53
52
|
end
|
53
|
+
|
54
|
+
desc "List undocumented objects"
|
55
|
+
task :undocumented do
|
56
|
+
system('yard stats --list-undoc')
|
57
|
+
end
|
54
58
|
|
55
59
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/bin/oct
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
4
4
|
|
5
|
+
require 'rubygems'
|
5
6
|
require 'oct'
|
6
7
|
require 'optparse'
|
7
8
|
require 'term/ansicolor'
|
@@ -65,6 +66,16 @@ end
|
|
65
66
|
|
66
67
|
if STDOUT.isatty
|
67
68
|
Term::ANSIColor::coloring = options[:coloring]
|
69
|
+
|
70
|
+
if options[:coloring] && Oct::WINDOWS
|
71
|
+
begin
|
72
|
+
require 'Win32/Console/ANSI'
|
73
|
+
rescue LoadError
|
74
|
+
Term::ANSIColor::coloring = false
|
75
|
+
STDERR.puts 'WARNING: You must "gem install win32console" (1.2.0 or higher) to get color output on MRI/Windows'
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
68
79
|
else
|
69
80
|
Term::ANSIColor::coloring = false
|
70
81
|
end
|
data/features/support/env.rb
CHANGED
data/lib/oct.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# require all files here
|
2
|
-
require '
|
2
|
+
require 'rbconfig'
|
3
3
|
require 'oct/app'
|
4
4
|
require 'oct/oct'
|
5
5
|
|
@@ -14,8 +14,14 @@ module Oct
|
|
14
14
|
def self.version
|
15
15
|
version_info_file = File.join(File.dirname(__FILE__), *%w[.. VERSION])
|
16
16
|
File.open(version_info_file, "r") do |f|
|
17
|
-
f.read
|
17
|
+
f.read.strip
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
|
+
# Platform constants
|
22
|
+
unless defined?(BasicGem::WINDOWS)
|
23
|
+
WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/i
|
24
|
+
CYGWIN = Config::CONFIG['host_os'] =~ /cygwin/i
|
25
|
+
end
|
26
|
+
|
21
27
|
end
|
data/oct.gemspec
CHANGED
@@ -3,8 +3,28 @@
|
|
3
3
|
#
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
|
+
# wrap 'git' so we can get gem files even on systems without 'git'
|
7
|
+
#
|
8
|
+
# @see spec/gemspec_spec.rb
|
9
|
+
#
|
10
|
+
@gemfiles ||= begin
|
11
|
+
filename = File.join(File.dirname(__FILE__), '.gemfiles')
|
12
|
+
# backticks blows up on Windows w/o valid binary, use system instead
|
13
|
+
if File.directory?('.git') && system('git ls-files bogus-filename')
|
14
|
+
files = `git ls-files`
|
15
|
+
cached_files = File.exists?(filename) ? File.open(filename, "r") {|f| f.read} : nil
|
16
|
+
# maintain EOL
|
17
|
+
files.gsub!(/\n/, "\r\n") if cached_files && cached_files.match("\r\n")
|
18
|
+
File.open(filename, 'wb') {|f| f.write(files)} if cached_files != files
|
19
|
+
else
|
20
|
+
files = File.open(filename, "r") {|f| f.read}
|
21
|
+
end
|
22
|
+
raise "unable to process gemfiles" unless files
|
23
|
+
files.gsub(/\r\n/, "\n")
|
24
|
+
end
|
25
|
+
|
6
26
|
s.name = "oct"
|
7
|
-
s.version = File.open(File.join(File.dirname(__FILE__),
|
27
|
+
s.version = File.open(File.join(File.dirname(__FILE__), 'VERSION'), "r") { |f| f.read }
|
8
28
|
s.platform = Gem::Platform::RUBY
|
9
29
|
s.authors = ["Robert Wahler"]
|
10
30
|
s.email = ["robert@gearheadforhire.com"]
|
@@ -18,17 +38,22 @@ Gem::Specification.new do |s|
|
|
18
38
|
s.add_dependency 'term-ansicolor', '>= 1.0.4'
|
19
39
|
s.add_dependency 'configatron', '>= 2.5.1'
|
20
40
|
|
21
|
-
s.add_development_dependency "bundler", ">= 1.0.
|
22
|
-
s.add_development_dependency "rspec", "
|
23
|
-
s.add_development_dependency "cucumber", ">= 0.
|
24
|
-
s.add_development_dependency "aruba", ">= 0.2.
|
41
|
+
s.add_development_dependency "bundler", ">= 1.0.7"
|
42
|
+
s.add_development_dependency "rspec", "= 1.3.1"
|
43
|
+
s.add_development_dependency "cucumber", ">= 0.9.4"
|
44
|
+
s.add_development_dependency "aruba", ">= 0.2.2"
|
25
45
|
s.add_development_dependency "rake", ">= 0.8.7"
|
26
|
-
s.add_development_dependency "yard", ">= 0.6.
|
27
|
-
|
46
|
+
s.add_development_dependency "yard", ">= 0.6.2"
|
47
|
+
|
48
|
+
# Specify a markdown gem for rake doc:generate
|
49
|
+
#
|
50
|
+
# Without the development dependency, running yard rake
|
51
|
+
# tasks will fail. Kramdown chosen to provide a pure Ruby solution.
|
52
|
+
s.add_development_dependency "kramdown", ">= 0.12.0"
|
53
|
+
|
54
|
+
s.files = @gemfiles.split("\n")
|
55
|
+
s.executables = @gemfiles.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
28
56
|
|
29
|
-
s.files = `git ls-files`.split("\n")
|
30
|
-
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
31
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
32
57
|
s.require_path = 'lib'
|
33
58
|
|
34
59
|
s.has_rdoc = 'yard'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe Oct do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
@filename = 'input.txt'
|
7
|
+
create_file(@filename, "the quick brown fox")
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'Aruba::API.current_dir' do
|
11
|
+
|
12
|
+
it "should return the current dir as 'tmp/aruba'" do
|
13
|
+
current_dir.should match(/^tmp\/aruba$/)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "aruba_helper fullpath('input.txt')" do
|
18
|
+
|
19
|
+
it "should return a valid expanded path to 'input.txt'" do
|
20
|
+
path = fullpath('input.txt')
|
21
|
+
path.should match(/tmp..*aruba/)
|
22
|
+
File.exists?(path).should == true
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "aruba_helper get_file_contents('input.txt')" do
|
27
|
+
|
28
|
+
it "should return the contents of 'input.txt' as a String" do
|
29
|
+
get_file_contents('input.txt').should == 'the quick brown fox'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe Oct do
|
4
|
+
|
5
|
+
def load_gemspec
|
6
|
+
filename = File.expand_path('../../../oct.gemspec', __FILE__)
|
7
|
+
eval(File.read(filename), nil, filename)
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'gemspec' do
|
11
|
+
|
12
|
+
it "should return the gem VERSION" do
|
13
|
+
@gemspec = load_gemspec
|
14
|
+
Oct::version.should_not be_nil
|
15
|
+
@gemspec.version.to_s.should == Oct::version
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'files' do
|
19
|
+
|
20
|
+
it "should return 'files' array" do
|
21
|
+
@gemspec = load_gemspec
|
22
|
+
@gemspec.files.is_a?(Array).should == true
|
23
|
+
@gemspec.files.include?('VERSION').should == true
|
24
|
+
end
|
25
|
+
it "should return 'executables' array" do
|
26
|
+
@gemspec = load_gemspec
|
27
|
+
@gemspec.executables.is_a?(Array).should == true
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'without an existing cache' do
|
31
|
+
before(:each) do
|
32
|
+
File.stub!('exists?').and_return false
|
33
|
+
@gemspec = load_gemspec
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should not blow up" do
|
37
|
+
@gemspec.files.is_a?(Array).should == true
|
38
|
+
@gemspec.files.include?('VERSION').should == true
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'without a git repo' do
|
43
|
+
before(:each) do
|
44
|
+
File.stub!('directory?').and_return false
|
45
|
+
@gemspec = load_gemspec
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should return 'files' from cache" do
|
49
|
+
File.directory?(File.expand_path('../../../.git', __FILE__)).should == false
|
50
|
+
@gemspec.files.is_a?(Array).should == true
|
51
|
+
@gemspec.files.include?('VERSION').should == true
|
52
|
+
end
|
53
|
+
it "should return 'executables' from cache" do
|
54
|
+
File.directory?(File.expand_path('../../../.git', __FILE__)).should == false
|
55
|
+
@gemspec.executables.is_a?(Array).should == true
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'without git binary' do
|
60
|
+
|
61
|
+
before(:each) do
|
62
|
+
stub!(:system).and_return false
|
63
|
+
@gemspec = load_gemspec
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should return 'files' from cache" do
|
67
|
+
system('git --version').should == false
|
68
|
+
@gemspec.files.is_a?(Array).should == true
|
69
|
+
@gemspec.files.include?('VERSION').should == true
|
70
|
+
end
|
71
|
+
it "should return 'executables' from cache" do
|
72
|
+
system('git --version').should == false
|
73
|
+
@gemspec.executables.is_a?(Array).should == true
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -9,9 +9,25 @@ require 'spec'
|
|
9
9
|
require 'spec/autorun'
|
10
10
|
require 'aruba/api'
|
11
11
|
|
12
|
-
# aruba
|
12
|
+
# aruba helpers
|
13
|
+
#
|
14
|
+
# @return full path to files in the aruba tmp folder
|
13
15
|
def fullpath(filename)
|
14
|
-
File.expand_path(File.join(current_dir, filename))
|
16
|
+
path = File.expand_path(File.join(current_dir, filename))
|
17
|
+
if path.match(/^\/cygdrive/)
|
18
|
+
# match /cygdrive/c/path/to and return c:\\path\\to
|
19
|
+
path = `cygpath -w #{path}`.chomp
|
20
|
+
elsif path.match(/.\:/)
|
21
|
+
# match c:/path/to and return c:\\path\\to
|
22
|
+
path = path.gsub(/\//, '\\')
|
23
|
+
end
|
24
|
+
path
|
25
|
+
end
|
26
|
+
# @return the contents of "filename" in the aruba tmp folder
|
27
|
+
def get_file_contents(filename)
|
28
|
+
in_current_dir do
|
29
|
+
IO.read(filename)
|
30
|
+
end
|
15
31
|
end
|
16
32
|
|
17
33
|
Spec::Runner.configure do |config|
|
data/spec/watchr.rb
CHANGED
@@ -7,8 +7,19 @@
|
|
7
7
|
# $ watchr spec/watchr.rb
|
8
8
|
|
9
9
|
require 'term/ansicolor'
|
10
|
+
require 'rbconfig'
|
10
11
|
|
11
|
-
|
12
|
+
WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/i unless defined?(WINDOWS)
|
13
|
+
require 'win32/process' if WINDOWS
|
14
|
+
|
15
|
+
if WINDOWS
|
16
|
+
begin
|
17
|
+
require 'Win32/Console/ANSI'
|
18
|
+
$c = Term::ANSIColor
|
19
|
+
rescue LoadError
|
20
|
+
STDERR.puts 'WARNING: You must "gem install win32console" (1.2.0 or higher) to get color output on MRI/Windows'
|
21
|
+
end
|
22
|
+
end
|
12
23
|
|
13
24
|
def getch
|
14
25
|
state = `stty -g`
|
@@ -34,15 +45,21 @@ end
|
|
34
45
|
def run(cmd)
|
35
46
|
|
36
47
|
pid = fork do
|
48
|
+
|
37
49
|
puts "\n"
|
38
|
-
|
50
|
+
if $c
|
51
|
+
print $c.cyan, cmd, $c.clear, "\n"
|
52
|
+
else
|
53
|
+
puts cmd
|
54
|
+
end
|
55
|
+
|
39
56
|
exec(cmd)
|
40
57
|
end
|
41
58
|
Signal.trap('INT') do
|
42
59
|
puts "sending KILL to pid: #{pid}"
|
43
60
|
Process.kill("KILL", pid)
|
44
61
|
end
|
45
|
-
Process.waitpid(pid)
|
62
|
+
Process.waitpid(pid) if (pid > 0)
|
46
63
|
|
47
64
|
prompt
|
48
65
|
end
|
@@ -74,18 +91,17 @@ def run_last_feature
|
|
74
91
|
end
|
75
92
|
|
76
93
|
def run_default_spec
|
77
|
-
cmd = "spec --color --format s ./spec"
|
94
|
+
cmd = "spec _1.3.1_ --color --format s ./spec"
|
78
95
|
run(cmd)
|
79
96
|
end
|
80
97
|
|
81
98
|
def run_all_specs
|
82
|
-
cmd = "spec --color --format s #{all_spec_files.join(' ')}"
|
83
|
-
p cmd
|
99
|
+
cmd = "spec _1.3.1_ --color --format s #{all_spec_files.join(' ')}"
|
84
100
|
run(cmd)
|
85
101
|
end
|
86
102
|
|
87
103
|
def run_spec(spec)
|
88
|
-
cmd = "spec --color --format s #{spec}"
|
104
|
+
cmd = "spec _1.3.1_ --color --format s #{spec}"
|
89
105
|
$last_spec = spec
|
90
106
|
run(cmd)
|
91
107
|
end
|
@@ -95,7 +111,10 @@ def run_last_spec
|
|
95
111
|
end
|
96
112
|
|
97
113
|
def prompt
|
98
|
-
|
114
|
+
menu = "Ctrl-C to quit"
|
115
|
+
menu = menu + ", Ctrl-\\ for menu" if Signal.list.include?('QUIT')
|
116
|
+
|
117
|
+
puts menu
|
99
118
|
end
|
100
119
|
|
101
120
|
# init
|
@@ -119,25 +138,26 @@ watch( '^spec/(.*)_spec\.rb' ) { |m| run_spec(m[0]) }
|
|
119
138
|
watch( '^lib/oct.rb' ) { run_default_spec }
|
120
139
|
|
121
140
|
# --------------------------------------------------
|
122
|
-
# Signal Handling
|
141
|
+
# Signal Handling (May not be supported on Windows)
|
123
142
|
# --------------------------------------------------
|
143
|
+
if Signal.list.include?('QUIT')
|
144
|
+
# Ctrl-\
|
145
|
+
Signal.trap('QUIT') do
|
146
|
+
|
147
|
+
puts "\n\nMENU: a = all , f = features s = specs, l = last feature (#{$last_feature ? $last_feature : 'none'}), q = quit\n\n"
|
148
|
+
c = getch
|
149
|
+
puts c.chr
|
150
|
+
if c.chr == "a"
|
151
|
+
run_all
|
152
|
+
elsif c.chr == "f"
|
153
|
+
run_default_cucumber
|
154
|
+
elsif c.chr == "s"
|
155
|
+
run_all_specs
|
156
|
+
elsif c.chr == "q"
|
157
|
+
abort("exiting\n")
|
158
|
+
elsif c.chr == "l"
|
159
|
+
run_last_feature
|
160
|
+
end
|
124
161
|
|
125
|
-
# Ctrl-\
|
126
|
-
Signal.trap('QUIT') do
|
127
|
-
|
128
|
-
puts "\n\nMENU: a = all , f = features s = specs, l = last feature (#{$last_feature ? $last_feature : 'none'}), q = quit\n\n"
|
129
|
-
c = getch
|
130
|
-
puts c.chr
|
131
|
-
if c.chr == "a"
|
132
|
-
run_all
|
133
|
-
elsif c.chr == "f"
|
134
|
-
run_default_cucumber
|
135
|
-
elsif c.chr == "s"
|
136
|
-
run_all_specs
|
137
|
-
elsif c.chr == "q"
|
138
|
-
abort("exiting\n")
|
139
|
-
elsif c.chr == "l"
|
140
|
-
run_last_feature
|
141
162
|
end
|
142
|
-
|
143
163
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Robert Wahler
|
@@ -15,11 +15,14 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-24 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
type: :runtime
|
23
|
+
name: term-ansicolor
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
26
|
none: false
|
24
27
|
requirements:
|
25
28
|
- - ">="
|
@@ -30,12 +33,12 @@ dependencies:
|
|
30
33
|
- 0
|
31
34
|
- 4
|
32
35
|
version: 1.0.4
|
36
|
+
requirement: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
33
38
|
type: :runtime
|
34
|
-
name:
|
39
|
+
name: configatron
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
42
|
none: false
|
40
43
|
requirements:
|
41
44
|
- - ">="
|
@@ -46,75 +49,76 @@ dependencies:
|
|
46
49
|
- 5
|
47
50
|
- 1
|
48
51
|
version: 2.5.1
|
49
|
-
|
50
|
-
name: configatron
|
51
|
-
prerelease: false
|
52
|
-
version_requirements: *id002
|
52
|
+
requirement: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
-
|
54
|
+
type: :development
|
55
|
+
name: bundler
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
58
|
none: false
|
56
59
|
requirements:
|
57
60
|
- - ">="
|
58
61
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
62
|
+
hash: 25
|
60
63
|
segments:
|
61
64
|
- 1
|
62
65
|
- 0
|
63
|
-
-
|
64
|
-
version: 1.0.
|
66
|
+
- 7
|
67
|
+
version: 1.0.7
|
68
|
+
requirement: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
65
70
|
type: :development
|
66
|
-
name:
|
71
|
+
name: rspec
|
67
72
|
prerelease: false
|
68
|
-
version_requirements:
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
71
74
|
none: false
|
72
75
|
requirements:
|
73
|
-
- - "
|
76
|
+
- - "="
|
74
77
|
- !ruby/object:Gem::Version
|
75
|
-
hash:
|
78
|
+
hash: 25
|
76
79
|
segments:
|
77
80
|
- 1
|
78
|
-
-
|
79
|
-
-
|
80
|
-
version: 1.
|
81
|
+
- 3
|
82
|
+
- 1
|
83
|
+
version: 1.3.1
|
84
|
+
requirement: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
81
86
|
type: :development
|
82
|
-
name:
|
87
|
+
name: cucumber
|
83
88
|
prerelease: false
|
84
|
-
version_requirements:
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
90
|
none: false
|
88
91
|
requirements:
|
89
92
|
- - ">="
|
90
93
|
- !ruby/object:Gem::Version
|
91
|
-
hash:
|
94
|
+
hash: 51
|
92
95
|
segments:
|
93
96
|
- 0
|
94
|
-
-
|
95
|
-
|
97
|
+
- 9
|
98
|
+
- 4
|
99
|
+
version: 0.9.4
|
100
|
+
requirement: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
96
102
|
type: :development
|
97
|
-
name:
|
103
|
+
name: aruba
|
98
104
|
prerelease: false
|
99
|
-
version_requirements:
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
102
106
|
none: false
|
103
107
|
requirements:
|
104
108
|
- - ">="
|
105
109
|
- !ruby/object:Gem::Version
|
106
|
-
hash:
|
110
|
+
hash: 19
|
107
111
|
segments:
|
108
112
|
- 0
|
109
113
|
- 2
|
110
|
-
-
|
111
|
-
version: 0.2.
|
114
|
+
- 2
|
115
|
+
version: 0.2.2
|
116
|
+
requirement: *id006
|
117
|
+
- !ruby/object:Gem::Dependency
|
112
118
|
type: :development
|
113
|
-
name:
|
119
|
+
name: rake
|
114
120
|
prerelease: false
|
115
|
-
version_requirements:
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
118
122
|
none: false
|
119
123
|
requirements:
|
120
124
|
- - ">="
|
@@ -125,42 +129,39 @@ dependencies:
|
|
125
129
|
- 8
|
126
130
|
- 7
|
127
131
|
version: 0.8.7
|
132
|
+
requirement: *id007
|
133
|
+
- !ruby/object:Gem::Dependency
|
128
134
|
type: :development
|
129
|
-
name:
|
135
|
+
name: yard
|
130
136
|
prerelease: false
|
131
|
-
version_requirements:
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
137
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
134
138
|
none: false
|
135
139
|
requirements:
|
136
140
|
- - ">="
|
137
141
|
- !ruby/object:Gem::Version
|
138
|
-
hash:
|
142
|
+
hash: 3
|
139
143
|
segments:
|
140
144
|
- 0
|
141
145
|
- 6
|
142
|
-
-
|
143
|
-
version: 0.6.
|
146
|
+
- 2
|
147
|
+
version: 0.6.2
|
148
|
+
requirement: *id008
|
149
|
+
- !ruby/object:Gem::Dependency
|
144
150
|
type: :development
|
145
|
-
name:
|
151
|
+
name: kramdown
|
146
152
|
prerelease: false
|
147
|
-
version_requirements:
|
148
|
-
- !ruby/object:Gem::Dependency
|
149
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
153
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
150
154
|
none: false
|
151
155
|
requirements:
|
152
156
|
- - ">="
|
153
157
|
- !ruby/object:Gem::Version
|
154
|
-
hash:
|
158
|
+
hash: 47
|
155
159
|
segments:
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
version:
|
160
|
-
|
161
|
-
name: rdiscount
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: *id009
|
160
|
+
- 0
|
161
|
+
- 12
|
162
|
+
- 0
|
163
|
+
version: 0.12.0
|
164
|
+
requirement: *id009
|
164
165
|
description: Command line octal file permissions
|
165
166
|
email:
|
166
167
|
- robert@gearheadforhire.com
|
@@ -171,6 +172,7 @@ extensions: []
|
|
171
172
|
extra_rdoc_files: []
|
172
173
|
|
173
174
|
files:
|
175
|
+
- .gemfiles
|
174
176
|
- .gitattributes
|
175
177
|
- .gitignore
|
176
178
|
- .yardopts
|
@@ -194,7 +196,9 @@ files:
|
|
194
196
|
- lib/oct/app.rb
|
195
197
|
- lib/oct/oct.rb
|
196
198
|
- oct.gemspec
|
199
|
+
- spec/basic_gem/aruba_helper_spec.rb
|
197
200
|
- spec/basic_gem/basic_gem_spec.rb
|
201
|
+
- spec/basic_gem/gemspec_spec.rb
|
198
202
|
- spec/spec.opts
|
199
203
|
- spec/spec_helper.rb
|
200
204
|
- spec/watchr.rb
|