bozo-scripts 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/VERSION +1 -1
- data/lib/bozo/hooks/build_number_version.rb +22 -0
- data/lib/bozo_scripts.rb +1 -0
- metadata +8 -25
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZWQyZjgxMzVkMWZkZTNmM2RmNjgyZDFiZDY3MjIwODE4MmYxODMyZg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NGU0YTgwMzgwNzdiNDIxODk2NGRiNzk1ZTkxNGE3NDI0ZWQ4YmMyYQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDRmOWU2OGUxZWRkM2YzMGE2ODA4OTEwMDM0NjJhYjUxYThlOTA0YTVhZjVl
|
10
|
+
ZjA2ZGU4MWM3MmE5MDFiY2E1ZWUzZjllODg4ODQ3MDJiNjM1Mzk1ODEzOGZm
|
11
|
+
YTA5ZTQyMjg0YjJiMjgxYTg4OTZmZjM1ZDE0ZWQxNGIwOTE3Mzc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YmY4YzZiMjM2MTVmZDliODZmMTFhMjgwYjhjNmJkNTgwZDliNTU2NzViZDU4
|
14
|
+
ZDIyNjAwN2NiNTEyNzExZTAzZTdkYzNmYzQ5YWMxYTBhZTczZDE2NGM1M2Ix
|
15
|
+
ODI3MDMwYzZlZTI2Nzc0ZmRhMWY3YmNhYWJkYzBlZWM1MDI1MDg=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Bozo::Hooks
|
2
|
+
|
3
|
+
class BuildNumberVersion
|
4
|
+
|
5
|
+
def post_dependencies
|
6
|
+
env['GIT_HASH_FULL'] = `git log -1 --format="%H"`.strip
|
7
|
+
env['BUILD_VERSION'] = build_version
|
8
|
+
end
|
9
|
+
|
10
|
+
private
|
11
|
+
|
12
|
+
def build_version
|
13
|
+
if pre_release?
|
14
|
+
Bozo::Versioning::Version.new(env['BUILD_NUMBER'],0,0)
|
15
|
+
else
|
16
|
+
version
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
data/lib/bozo_scripts.rb
CHANGED
@@ -9,6 +9,7 @@ require 'bozo/dependency_resolvers/bundler'
|
|
9
9
|
require 'bozo/dependency_resolvers/nuget'
|
10
10
|
require 'bozo/hooks/fxcop'
|
11
11
|
require 'bozo/hooks/git_commit_hashes'
|
12
|
+
require 'bozo/hooks/build_number_version'
|
12
13
|
require 'bozo/hooks/git_tag_release'
|
13
14
|
require 'bozo/hooks/git_hub'
|
14
15
|
require 'bozo/hooks/hipchat'
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bozo-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Garry Shutler
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2014-
|
12
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: nokogiri
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: erubis
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ~>
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ~>
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: test-unit
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ~>
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -55,7 +49,6 @@ dependencies:
|
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - ~>
|
61
54
|
- !ruby/object:Gem::Version
|
@@ -63,7 +56,6 @@ dependencies:
|
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: bozo
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
60
|
- - ~>
|
69
61
|
- !ruby/object:Gem::Version
|
@@ -71,7 +63,6 @@ dependencies:
|
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
67
|
- - ~>
|
77
68
|
- !ruby/object:Gem::Version
|
@@ -79,7 +70,6 @@ dependencies:
|
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: zip
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - ~>
|
85
75
|
- !ruby/object:Gem::Version
|
@@ -87,7 +77,6 @@ dependencies:
|
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
81
|
- - ~>
|
93
82
|
- !ruby/object:Gem::Version
|
@@ -100,11 +89,14 @@ executables: []
|
|
100
89
|
extensions: []
|
101
90
|
extra_rdoc_files: []
|
102
91
|
files:
|
92
|
+
- LICENSE
|
93
|
+
- VERSION
|
103
94
|
- lib/bozo/compilers/msbuild.rb
|
104
95
|
- lib/bozo/configuration.rb
|
105
96
|
- lib/bozo/dependency_resolvers/bundler.rb
|
106
97
|
- lib/bozo/dependency_resolvers/nuget.rb
|
107
98
|
- lib/bozo/erubis_templating_coordinator.rb
|
99
|
+
- lib/bozo/hooks/build_number_version.rb
|
108
100
|
- lib/bozo/hooks/fxcop.rb
|
109
101
|
- lib/bozo/hooks/git_commit_hashes.rb
|
110
102
|
- lib/bozo/hooks/git_hub.rb
|
@@ -125,36 +117,27 @@ files:
|
|
125
117
|
- lib/bozo/test_runners/runit.rb
|
126
118
|
- lib/bozo/version.rb
|
127
119
|
- lib/bozo_scripts.rb
|
128
|
-
- VERSION
|
129
|
-
- LICENSE
|
130
120
|
homepage: https://github.com/zopaUK/bozo-scripts
|
131
121
|
licenses: []
|
122
|
+
metadata: {}
|
132
123
|
post_install_message:
|
133
124
|
rdoc_options: []
|
134
125
|
require_paths:
|
135
126
|
- lib
|
136
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
128
|
requirements:
|
139
129
|
- - ! '>='
|
140
130
|
- !ruby/object:Gem::Version
|
141
131
|
version: '0'
|
142
|
-
segments:
|
143
|
-
- 0
|
144
|
-
hash: -3141461654386584007
|
145
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
133
|
requirements:
|
148
134
|
- - ! '>='
|
149
135
|
- !ruby/object:Gem::Version
|
150
136
|
version: '0'
|
151
|
-
segments:
|
152
|
-
- 0
|
153
|
-
hash: -3141461654386584007
|
154
137
|
requirements: []
|
155
138
|
rubyforge_project: bozo-scripts
|
156
|
-
rubygems_version:
|
139
|
+
rubygems_version: 2.2.2
|
157
140
|
signing_key:
|
158
|
-
specification_version:
|
141
|
+
specification_version: 4
|
159
142
|
summary: Zopa build system scripts
|
160
143
|
test_files: []
|