tinyci 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a0de56d2686e1af8a2960bdfb0b8ac3eba240ed
4
- data.tar.gz: f1529cf28f2e9a10fb36bda7085cf465935ee59a
3
+ metadata.gz: df7c6571e843b6f2766821cde0c5da49ddadd867
4
+ data.tar.gz: 22f4c773d142998b11afb6815a3fc14debe1bcb1
5
5
  SHA512:
6
- metadata.gz: 42639f2ca97b82a9ad3fc43cc6e35cfc8052659f6aaef73ebaabed6342bb12f66b64060f3856c19d785af15c8ba7ac0fe93365943ff17fc65b42b849e32c305e
7
- data.tar.gz: 9406072d6fae373d7cbfb933e4c8856e57d0f41d93a3e753b9bb773e85a708a9405ba9029c889962e02d275b99645aac7b0b7cb4c41486dd72fefccc1d622400
6
+ metadata.gz: 0d4f733a4af35ed12e744661c82435b417e34b84f86d31bc7285875ffeee4adb7ebdb7235b568cdfc2eb9f56a34b11afb19119e4574103c720006c29195279e0
7
+ data.tar.gz: 7d30831aabd6539b18d273ef4306192cb5afeef95a6a54bf3e31445dd7ea802ebc1ff53c69024a4e0461e47dde8f1257c2c09bec4e2fab1014cd5297f33274ab
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tinyci (0.1.0)
4
+ tinyci (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -10,9 +10,13 @@ TinyCI
10
10
 
11
11
  A minimal Continuous Integration system, written in ruby, powered by git. MIT licensed.
12
12
 
13
+ RDoc documentation is available at [rubydoc.org](https://www.rubydoc.info/gems/tinyci)
14
+
13
15
  ### Motivation
14
16
 
15
- Existing CI solutions like [Travis](https://travis-ci.org) and [Jenkins](https://jenkins.io) run as daemons requiring large amounts of RAM, typically in their own virtual machines. A more lightweight system was desired, for use with small scale personal projects.
17
+ Existing CI solutions like [Travis](https://travis-ci.org) and [Jenkins](https://jenkins.io) run as daemons requiring large amounts of RAM, typically in their own virtual machines. In particular Travis and systems like it are designed as SaaS products, and it's not really feasible to self-host them.
18
+
19
+ A more lightweight system was desired, for use with small scale personal projects.
16
20
 
17
21
  ### Architecture
18
22
 
@@ -6,13 +6,6 @@ module TinyCI
6
6
  def build
7
7
  execute_stream(script_location, label: 'build', pwd: @config[:target])
8
8
  end
9
-
10
- private
11
-
12
- def script_location
13
- File.join @config[:target], @config[:command]
14
- end
15
-
16
9
  end
17
10
  end
18
11
  end
@@ -17,5 +17,12 @@ module TinyCI
17
17
  @config = config
18
18
  @logger = logger
19
19
  end
20
+
21
+ private
22
+
23
+ def script_location
24
+ # path = File.join @config[:target], @config[:command]
25
+ ['/bin/sh', '-c', "'#{@config[:command]}'"]
26
+ end
20
27
  end
21
28
  end
@@ -6,13 +6,6 @@ module TinyCI
6
6
  def test
7
7
  execute_stream(script_location, label: 'test', pwd: @config[:target])
8
8
  end
9
-
10
- private
11
-
12
- def script_location
13
- File.join @config[:target], @config[:command]
14
- end
15
-
16
9
  end
17
10
  end
18
11
  end
@@ -1,3 +1,3 @@
1
1
  module TinyCI
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinyci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Davies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-01 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,7 +156,7 @@ metadata:
156
156
  allowed_push_host: https://rubygems.org
157
157
  post_install_message: " _____ _ _____ _____\n/__ (_)_ __ _ _ /
158
158
  ___/ /_ _/\n | || | '_ \\| | | |/ / / /\n | || | | | | |_| / /___/\\/ /_
159
- \ \n |_||_|_| |_|\\__, \\____/\\____/ 0.1.0\n |___/\n\n"
159
+ \ \n |_||_|_| |_|\\__, \\____/\\____/ 0.1.1\n |___/\n\n"
160
160
  rdoc_options: []
161
161
  require_paths:
162
162
  - lib