vx-common 0.2.0.pre28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +276 -0
- data/Rakefile +12 -0
- data/lib/vx/common/amqp_setup.rb +41 -0
- data/lib/vx/common/env_file.rb +24 -0
- data/lib/vx/common/error_notifier.rb +32 -0
- data/lib/vx/common/helper/middlewares.rb +30 -0
- data/lib/vx/common/helper/shell.rb +83 -0
- data/lib/vx/common/helper/upload_sh_command.rb +22 -0
- data/lib/vx/common/output_buffer.rb +73 -0
- data/lib/vx/common/tagged_logging.rb +81 -0
- data/lib/vx/common/version.rb +5 -0
- data/lib/vx/common.rb +20 -0
- data/lib/vx/scm/git/git_ssh.rb +58 -0
- data/lib/vx/scm/git.rb +105 -0
- data/spec/lib/common/helper/middlewares_spec.rb +43 -0
- data/spec/lib/common/helper/shell_spec.rb +137 -0
- data/spec/lib/common/helper/upload_sh_command_spec.rb +39 -0
- data/spec/lib/common/output_buffer_spec.rb +42 -0
- data/spec/lib/scm/git_spec.rb +170 -0
- data/spec/spec_helper.rb +11 -0
- data/vx-common.gemspec +31 -0
- metadata +186 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path '../../lib/vx/common', __FILE__
|
2
|
+
|
3
|
+
Bundler.require(:test)
|
4
|
+
|
5
|
+
require 'rspec/autorun'
|
6
|
+
|
7
|
+
Dir[File.expand_path("../..", __FILE__) + "/spec/support/**/*.rb"].each {|f| require f}
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.mock_with :rr
|
11
|
+
end
|
data/vx-common.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'vx/common/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "vx-common"
|
8
|
+
spec.version = Vx::Common::VERSION
|
9
|
+
spec.authors = ["Dmitry Galinsky"]
|
10
|
+
spec.email = ["dima.exe@gmail.com"]
|
11
|
+
spec.description = %q{ Common code for ci }
|
12
|
+
spec.summary = %q{ Common code for ci }
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency 'vx-common-spawn', '0.0.7'
|
22
|
+
spec.add_runtime_dependency 'vx-common-rack-builder', '0.0.2'
|
23
|
+
spec.add_runtime_dependency 'airbrake', '~> 3.1.14'
|
24
|
+
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
+
spec.add_development_dependency "rspec"
|
27
|
+
spec.add_development_dependency "rr"
|
28
|
+
spec.add_development_dependency "rake"
|
29
|
+
|
30
|
+
spec.add_development_dependency "vx-message"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vx-common
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0.pre28
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dmitry Galinsky
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: vx-common-spawn
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.0.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.0.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: vx-common-rack-builder
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.0.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: airbrake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.1.14
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.1.14
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vx-message
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: ' Common code for ci '
|
126
|
+
email:
|
127
|
+
- dima.exe@gmail.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- .gitignore
|
133
|
+
- .rspec
|
134
|
+
- Gemfile
|
135
|
+
- LICENSE.txt
|
136
|
+
- Rakefile
|
137
|
+
- lib/vx/common.rb
|
138
|
+
- lib/vx/common/amqp_setup.rb
|
139
|
+
- lib/vx/common/env_file.rb
|
140
|
+
- lib/vx/common/error_notifier.rb
|
141
|
+
- lib/vx/common/helper/middlewares.rb
|
142
|
+
- lib/vx/common/helper/shell.rb
|
143
|
+
- lib/vx/common/helper/upload_sh_command.rb
|
144
|
+
- lib/vx/common/output_buffer.rb
|
145
|
+
- lib/vx/common/tagged_logging.rb
|
146
|
+
- lib/vx/common/version.rb
|
147
|
+
- lib/vx/scm/git.rb
|
148
|
+
- lib/vx/scm/git/git_ssh.rb
|
149
|
+
- spec/lib/common/helper/middlewares_spec.rb
|
150
|
+
- spec/lib/common/helper/shell_spec.rb
|
151
|
+
- spec/lib/common/helper/upload_sh_command_spec.rb
|
152
|
+
- spec/lib/common/output_buffer_spec.rb
|
153
|
+
- spec/lib/scm/git_spec.rb
|
154
|
+
- spec/spec_helper.rb
|
155
|
+
- vx-common.gemspec
|
156
|
+
homepage: ''
|
157
|
+
licenses:
|
158
|
+
- MIT
|
159
|
+
metadata: {}
|
160
|
+
post_install_message:
|
161
|
+
rdoc_options: []
|
162
|
+
require_paths:
|
163
|
+
- lib
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>'
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.3.1
|
174
|
+
requirements: []
|
175
|
+
rubyforge_project:
|
176
|
+
rubygems_version: 2.1.11
|
177
|
+
signing_key:
|
178
|
+
specification_version: 4
|
179
|
+
summary: Common code for ci
|
180
|
+
test_files:
|
181
|
+
- spec/lib/common/helper/middlewares_spec.rb
|
182
|
+
- spec/lib/common/helper/shell_spec.rb
|
183
|
+
- spec/lib/common/helper/upload_sh_command_spec.rb
|
184
|
+
- spec/lib/common/output_buffer_spec.rb
|
185
|
+
- spec/lib/scm/git_spec.rb
|
186
|
+
- spec/spec_helper.rb
|