panteras_api 0.0.5 → 0.0.7
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ffa2e1af600fe3127d530b00f65a42fa26a317d
|
4
|
+
data.tar.gz: 2353bbef3f563d224d1140fbcafdd2fce9226fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: becea7f3511afecbafe297be72f4ed07db9438ec49bea884a062f36c45c0c8ac0fd88ee4433086a675583111dda7558cbb55cccecdbdfc82c95903794ba7f124
|
7
|
+
data.tar.gz: 701cdb3baabc30556499f4682adab4398ad9a3465efc52cd97e4c2c6486d8f4c32ef77e7b59cc63cdcec71e18526fd7ece9ebacb8aa851c30c7488a7052927c2
|
data/Rakefile
CHANGED
@@ -1,2 +1,35 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
+
require 'rake/testtask'
|
2
3
|
|
4
|
+
repo_path = `git rev-parse --show-toplevel`
|
5
|
+
project_name = `basename #{repo_path}`.strip
|
6
|
+
|
7
|
+
|
8
|
+
gemspec_file = FileList["#{project_name}.gemspec"].first
|
9
|
+
spec = eval(File.read(gemspec_file), binding, gemspec_file)
|
10
|
+
|
11
|
+
#Rake::TestTask.new do |t|
|
12
|
+
# t.libs << 'test'
|
13
|
+
# t.pattern = "test/*_test.rb"
|
14
|
+
#end
|
15
|
+
|
16
|
+
desc "Default info"
|
17
|
+
task :info do
|
18
|
+
puts "Tasks:\n #{(Rake::Task.tasks - [Rake::Task[:info]] ).join("\n ")}"
|
19
|
+
end
|
20
|
+
|
21
|
+
desc "Tag the repo as v#{spec.version} and push the tag."
|
22
|
+
task :tag do
|
23
|
+
sh "git tag -a -m 'Version #{spec.version}' v#{spec.version}"
|
24
|
+
sh "git push --tags origin #{`git rev-parse --abbrev-ref HEAD`}"
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "Push commits to origin/ecg repos"
|
28
|
+
task :push do
|
29
|
+
sh "git push origin #{`git rev-parse --abbrev-ref HEAD`}"
|
30
|
+
end
|
31
|
+
|
32
|
+
desc "Tag and push code to ecg and origin remote branches."
|
33
|
+
task :publish => [:push, :tag]
|
34
|
+
|
35
|
+
task :default => :info
|
File without changes
|
File without changes
|
data/lib/panteras_api/version.rb
CHANGED
data/panteras_api.gemspec
CHANGED
@@ -14,14 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/eBayClassifiedsGroup/panteras_api"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.
|
18
|
-
|
17
|
+
spec.files << "bin/mesos_consul_consistency_check"
|
18
|
+
spec.files << "bin/mesos_consul_consistency_check_nagios_wrapper"
|
19
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
20
|
spec.require_paths = ["lib"]
|
20
21
|
|
21
|
-
# if spec.respond_to?(:metadata)
|
22
|
-
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
|
23
|
-
# end
|
24
|
-
|
25
22
|
spec.add_development_dependency "bundler", "~> 1.8"
|
26
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
24
|
spec.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panteras_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Colby
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,7 +56,9 @@ description: A convenient api for getting information from consul, mesos, marath
|
|
56
56
|
and docker in the Panteras PaaS infrastructure.
|
57
57
|
email:
|
58
58
|
- jcolby@team.mobile.de
|
59
|
-
executables:
|
59
|
+
executables:
|
60
|
+
- mesos_consul_consistency_check
|
61
|
+
- mesos_consul_consistency_check_nagios_wrapper
|
60
62
|
extensions: []
|
61
63
|
extra_rdoc_files: []
|
62
64
|
files:
|
@@ -67,8 +69,8 @@ files:
|
|
67
69
|
- License
|
68
70
|
- README.md
|
69
71
|
- Rakefile
|
70
|
-
-
|
71
|
-
-
|
72
|
+
- bin/mesos_consul_consistency_check
|
73
|
+
- bin/mesos_consul_consistency_check_nagios_wrapper
|
72
74
|
- lib/panteras_api.rb
|
73
75
|
- lib/panteras_api/consul_cluster.rb
|
74
76
|
- lib/panteras_api/docker_host.rb
|
@@ -97,8 +99,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
99
|
version: '0'
|
98
100
|
requirements: []
|
99
101
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.4.
|
102
|
+
rubygems_version: 2.4.6
|
101
103
|
signing_key:
|
102
104
|
specification_version: 4
|
103
105
|
summary: Ruby API library for Panteras PaaS platform.
|
104
106
|
test_files: []
|
107
|
+
has_rdoc:
|