pups 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: 981fde4b2d6a70bad81c500abd0f9a11c8ec8161601f919765fbe8ac55fec3ab
4
- data.tar.gz: fc29d1fdecf62a137f37f32f570e7ce635ec95c6fa817e166c022b701052cce7
3
+ metadata.gz: 6637fcde0de413ee3d9925e644f84547563f86ba44d67692daa9f431520ab598
4
+ data.tar.gz: 52ed370e7071a7eb53cd87bc455dec4f48ca84c691ac28f1429e6985673a4d21
5
5
  SHA512:
6
- metadata.gz: 9fb37fb5c1e2f88d18a1d8a2f307cae341b0d4a7780363c7338acd8f891b3b0d21c9ba47333be3cf06760073d40aa30cb988c262649ad88d373cb54a1027beb4
7
- data.tar.gz: 6f71a5c0684e80623eb7d10612fd0aa6b93950d31d42fa018d3db6c0689f1109077fbd89797f0d0ce9b88608a667aeae0bad48dde51b27976d2518a67b580095
6
+ metadata.gz: dc4828cccbe30f2d64d265c5bbed1558e17754a1866ebee549fc590eb26e80de8388deb40905fd3715af029e68c7e5592520b6eaeb1a61904f36114fae1f49ff
7
+ data.tar.gz: 9f5da00c947a36c01d574a497afad7f9d218870ab898195d2427622817b0f260f3e8ccf2650113ba0f20bf585d9673a80af9d6174d81b4cd6301cacfa3ce84af
data/CHANGELOG ADDED
@@ -0,0 +1,3 @@
1
+ 1.0.3 - 09-04-2021
2
+
3
+ - Started changelog - release to rubygems
data/Rakefile CHANGED
@@ -2,5 +2,9 @@ require "bundler/gem_tasks"
2
2
  require "rake/testtask"
3
3
 
4
4
  Rake::TestTask.new do |t|
5
- t.pattern = "test/*_test.rb"
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/*_test.rb"]
6
8
  end
9
+
10
+ task :default => :test
@@ -1,11 +1,12 @@
1
1
  class Pups::FileCommand < Pups::Command
2
- attr_accessor :path, :contents, :params, :type, :chmod
2
+ attr_accessor :path, :contents, :params, :type, :chmod, :chown
3
3
 
4
4
  def self.from_hash(hash, params)
5
5
  command = new
6
6
  command.path = hash["path"]
7
7
  command.contents = hash["contents"]
8
8
  command.chmod = hash["chmod"]
9
+ command.chown = hash["chown"]
9
10
  command.params = params
10
11
 
11
12
  command
@@ -30,7 +31,10 @@ class Pups::FileCommand < Pups::Command
30
31
  if @chmod
31
32
  `chmod #{@chmod} #{path}`
32
33
  end
33
- Pups.log.info("File > #{path} chmod: #{@chmod}")
34
+ if @chown
35
+ `chown #{@chown} #{path}`
36
+ end
37
+ Pups.log.info("File > #{path} chmod: #{@chmod} chown: #{@chown}")
34
38
  end
35
39
 
36
40
  end
data/lib/pups/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pups
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/pups.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Pups::VERSION
9
9
  spec.authors = ["Sam Saffron"]
10
10
  spec.email = ["sam.saffron@gmail.com"]
11
- spec.description = %q{Process orchestrator}
12
- spec.summary = %q{Process orchestrator}
11
+ spec.description = %q{Simple docker image creator}
12
+ spec.summary = %q{Toolkit for orchestrating a composed docker image}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_development_dependency "bundler"
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "minitest"
24
24
  spec.add_development_dependency "guard"
data/test/test_helper.rb CHANGED
@@ -1,4 +1,3 @@
1
1
  require 'pups'
2
+ require 'minitest/autorun'
2
3
  require 'minitest/pride'
3
-
4
-
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-20 00:00:00.000000000 Z
11
+ date: 2021-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: Process orchestrator
83
+ description: Simple docker image creator
84
84
  email:
85
85
  - sam.saffron@gmail.com
86
86
  executables:
@@ -89,6 +89,7 @@ extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
91
  - ".gitignore"
92
+ - CHANGELOG
92
93
  - Gemfile
93
94
  - Guardfile
94
95
  - LICENSE.txt
@@ -116,7 +117,7 @@ homepage: ''
116
117
  licenses:
117
118
  - MIT
118
119
  metadata: {}
119
- post_install_message:
120
+ post_install_message:
120
121
  rdoc_options: []
121
122
  require_paths:
122
123
  - lib
@@ -131,11 +132,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
132
  - !ruby/object:Gem::Version
132
133
  version: '0'
133
134
  requirements: []
134
- rubyforge_project:
135
- rubygems_version: 2.7.6
136
- signing_key:
135
+ rubygems_version: 3.2.2
136
+ signing_key:
137
137
  specification_version: 4
138
- summary: Process orchestrator
138
+ summary: Toolkit for orchestrating a composed docker image
139
139
  test_files:
140
140
  - test/config_test.rb
141
141
  - test/exec_command_test.rb