cilite 0.1.4 → 0.2.0

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.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg
2
+ *.gemspec
3
+
data/README.markdown CHANGED
@@ -1,7 +1,7 @@
1
1
  CiLite
2
2
  ======
3
3
 
4
- Continuation testing tool.
4
+ CiLite is lite CI tool.
5
5
 
6
6
  Usage
7
7
  ------
data/Rakefile CHANGED
@@ -5,8 +5,8 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "cilite"
8
- gem.summary = %Q{Continuation testing tool.}
9
- gem.description = %Q{Continuation testing tool for project that use git.}
8
+ gem.summary = %Q{CiLite is lite CI tool.}
9
+ gem.description = %Q{CiLite is lite CI tool for project that use git.}
10
10
  gem.email = "jugyo.org@gmail.com"
11
11
  gem.homepage = "http://github.com/jugyo/cilite"
12
12
  gem.authors = ["jugyo"]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.2.0
File without changes
@@ -1,5 +1,5 @@
1
1
  module CiLite
2
- class TestProcess < Struct.new(:status, :pid)
2
+ class Process < Struct.new(:status, :pid)
3
3
  attr_reader :command, :status, :pid, :output
4
4
 
5
5
  def initialize(command)
data/lib/cilite/runner.rb CHANGED
@@ -40,7 +40,7 @@ module CiLite
40
40
  end
41
41
 
42
42
  def test(hash)
43
- process = TestProcess.new(config[:test_command])
43
+ process = Process.new(config[:test_command])
44
44
  process.start
45
45
  puts "#{hash} => #{process.status}"
46
46
  puts process.output
@@ -1,10 +1,10 @@
1
1
  require 'helper'
2
2
  require 'tmpdir'
3
3
 
4
- class TestTestProcess < Test::Unit::TestCase
4
+ class TestProcess < Test::Unit::TestCase
5
5
  context 'main' do
6
6
  setup do
7
- @test = CiLite::TestProcess.new('foo')
7
+ @test = CiLite::Process.new('foo')
8
8
  end
9
9
 
10
10
  should 'pass the test' do
@@ -16,7 +16,7 @@ class TestRunner < Test::Unit::TestCase
16
16
  stub(test_process_stub).to_hash { {:foo => :bar} }
17
17
  stub(test_process_stub).status { 0 }
18
18
  stub(test_process_stub).output { 'output' }
19
- mock(CiLite::TestProcess).new(@runner.config[:test_command]) { test_process_stub }
19
+ mock(CiLite::Process).new(@runner.config[:test_command]) { test_process_stub }
20
20
  mock(CiLite::Log).[]=.with_any_args
21
21
  stub(Time).now { 'now' }
22
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cilite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
 
12
12
  date: 2010-01-07 00:00:00 +09:00
13
- default_executable: tester
13
+ default_executable: cilite
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: shoulda
@@ -62,27 +62,28 @@ dependencies:
62
62
  - !ruby/object:Gem::Version
63
63
  version: "0"
64
64
  version:
65
- description: Continuation testing tool for project that use git.
65
+ description: CiLite is lite CI tool for project that use git.
66
66
  email: jugyo.org@gmail.com
67
67
  executables:
68
- - tester
68
+ - cilite
69
69
  extensions: []
70
70
 
71
71
  extra_rdoc_files:
72
72
  - LICENSE
73
73
  - README.markdown
74
74
  files:
75
+ - .gitignore
75
76
  - LICENSE
76
77
  - README.markdown
77
78
  - Rakefile
78
79
  - VERSION
79
- - bin/tester
80
+ - bin/cilite
80
81
  - lib/cilite.rb
81
82
  - lib/cilite/checker.rb
82
83
  - lib/cilite/log.rb
84
+ - lib/cilite/process.rb
83
85
  - lib/cilite/runner.rb
84
86
  - lib/cilite/server.rb
85
- - lib/cilite/test_process.rb
86
87
  - lib/cilite/views/index.haml
87
88
  - lib/cilite/views/layout.haml
88
89
  - lib/cilite/views/show.haml
@@ -93,8 +94,8 @@ files:
93
94
  - test/tester.ru
94
95
  - test/tester/test_checker.rb
95
96
  - test/tester/test_log.rb
97
+ - test/tester/test_process.rb
96
98
  - test/tester/test_runner.rb
97
- - test/tester/test_test_process.rb
98
99
  has_rdoc: true
99
100
  homepage: http://github.com/jugyo/cilite
100
101
  licenses: []
@@ -122,11 +123,11 @@ rubyforge_project:
122
123
  rubygems_version: 1.3.5
123
124
  signing_key:
124
125
  specification_version: 3
125
- summary: Continuation testing tool.
126
+ summary: CiLite is lite CI tool.
126
127
  test_files:
127
128
  - test/helper.rb
128
129
  - test/test_cilite.rb
129
130
  - test/tester/test_checker.rb
130
131
  - test/tester/test_log.rb
132
+ - test/tester/test_process.rb
131
133
  - test/tester/test_runner.rb
132
- - test/tester/test_test_process.rb