ci-scripts 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +2 -0
- data/Rakefile +1 -1
- data/ci-scripts.gemspec +1 -1
- data/lib/ci_scripts/helpers.rb +1 -1
- data/lib/ci_scripts/version.rb +1 -1
- data/lib/ci_scripts.rb +3 -1
- data/lib/scripts/demo/test.rb +6 -0
- data/lib/scripts/docker/build.rb +0 -2
- data/lib/scripts/docker/herokuish.rb +0 -2
- data/lib/scripts/docker/login.rb +0 -2
- data/lib/scripts/docker/push_branch.rb +0 -2
- data/lib/scripts/docker/push_latest.rb +0 -2
- data/lib/scripts/git/ssh_keys.rb +0 -2
- data/lib/scripts/ruby/bundler.rb +0 -2
- data/lib/scripts/ruby/rake_test.rb +13 -0
- data/lib/scripts/ruby/rubocop.rb +0 -2
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57561cbdc7a876925ed58b292c24a1424fe9518e
|
4
|
+
data.tar.gz: d997ee9665c735089a6cf7cafef7025d6081bfad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd60f7b305468b33a29411c0d0730ecfae7b55c7ca6e78626c9dfd8ddfec2f33174ab0f9a2a3c231b6b0cd3bd530960cc9434634e8836e0749641742477fd809
|
7
|
+
data.tar.gz: 766ddfe8c49e693b8032ba23dc42795d5476122c91be5d191402090c4a76002de43219a7f5177e23f2baedad510aca79af0b6049b9137689b664658e6ec131ae
|
data/.gitlab-ci.yml
CHANGED
data/Rakefile
CHANGED
data/ci-scripts.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Benjamin Caldwell"]
|
10
10
|
spec.email = ["caldwellbenjamin8@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary =
|
12
|
+
spec.summary = "A collection fo scripts for commomly run scripts in CI."
|
13
13
|
# spec.description = %q{TODO: Write a longer description or delete this line.}
|
14
14
|
spec.homepage = "http://github.com/benjamincaldwell/ci-scripts"
|
15
15
|
spec.license = "MIT"
|
data/lib/ci_scripts/helpers.rb
CHANGED
data/lib/ci_scripts/version.rb
CHANGED
data/lib/ci_scripts.rb
CHANGED
data/lib/scripts/docker/build.rb
CHANGED
data/lib/scripts/docker/login.rb
CHANGED
data/lib/scripts/git/ssh_keys.rb
CHANGED
data/lib/scripts/ruby/bundler.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
module Ruby
|
2
|
+
extend self
|
3
|
+
def rake_test
|
4
|
+
if test_command?("bundler", "exec", "rake", "-V")
|
5
|
+
return command("bundler", "exec", "rake", "test")
|
6
|
+
end
|
7
|
+
|
8
|
+
unless installed?("rake")
|
9
|
+
command("gem", "install", "rake")
|
10
|
+
end
|
11
|
+
command("rake", "test")
|
12
|
+
end
|
13
|
+
end
|
data/lib/scripts/ruby/rubocop.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Caldwell
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/ci_scripts.rb
|
77
77
|
- lib/ci_scripts/helpers.rb
|
78
78
|
- lib/ci_scripts/version.rb
|
79
|
+
- lib/scripts/demo/test.rb
|
79
80
|
- lib/scripts/docker/build.rb
|
80
81
|
- lib/scripts/docker/herokuish.rb
|
81
82
|
- lib/scripts/docker/login.rb
|
@@ -86,6 +87,7 @@ files:
|
|
86
87
|
- lib/scripts/go/install
|
87
88
|
- lib/scripts/go/test
|
88
89
|
- lib/scripts/ruby/bundler.rb
|
90
|
+
- lib/scripts/ruby/rake_test.rb
|
89
91
|
- lib/scripts/ruby/rubocop.rb
|
90
92
|
homepage: http://github.com/benjamincaldwell/ci-scripts
|
91
93
|
licenses:
|