jumpup 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/README.mkdn +7 -7
- data/jumpup.gemspec +1 -1
- data/lib/jumpup/version.rb +1 -1
- data/test/coverage_test.rb +2 -5
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5105b8cc0da609d273f7949b1c9166faf4ac13f3
|
4
|
+
data.tar.gz: 688b114ef4fbf248707d10819991e8c32bb29914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9f6a6988584c24c816e412b11069a87c8aacbe3c898a8dc70c2d3849fb2a3064cbf11cfe8d74fa3f2d3241f56b2a1d79305c28682873e50d1634ab7951de668
|
7
|
+
data.tar.gz: bcb16b9ed90d99ac95085dbf170251717851ec28021b02f25d484c8340cf1a030c91540b2e637ad3c7c4e9a0eec56d9dad2904c84592b2eb98934dc9140492b0
|
data/README.mkdn
CHANGED
@@ -84,9 +84,9 @@ Using this almost paranoid sequence of steps it will be hard to check in bad cod
|
|
84
84
|
So you don't have tests, nor specs but you still want to use the jumpup. You might get away with this customized lib/tasks/integration.rake:
|
85
85
|
|
86
86
|
INTEGRATION_TASKS = %w(
|
87
|
-
|
87
|
+
jumpup:start
|
88
88
|
db:migrate
|
89
|
-
|
89
|
+
jumpup:finish
|
90
90
|
)
|
91
91
|
|
92
92
|
The fact that you can get away with this doesn't mean you should. Don't you think it's already time to grow up and become more professional about software development? I know you believe you have a great excuse to avoid writing those tests or specs. Still it's just an excuse. Write tests or write specs and make a better world!
|
@@ -96,10 +96,10 @@ Using this almost paranoid sequence of steps it will be hard to check in bad cod
|
|
96
96
|
You haven't jumped on the [BDD][BDD] bandwagon yet. Instead, you write tests, which is good, but they don't cover all of your code yet, which is bad. We believe you will improve it and make sure your tests cover 100% of your code. In the meantime you might need to skip coverage checkings. Oh, you also don't use [Selenium][sor]. Shame on you! Try this:
|
97
97
|
|
98
98
|
INTEGRATION_TASKS = %w(
|
99
|
-
|
99
|
+
jumpup:start
|
100
100
|
db:migrate
|
101
101
|
test
|
102
|
-
|
102
|
+
jumpup:finish
|
103
103
|
)
|
104
104
|
|
105
105
|
As a matter of fact, since this case might be very common, **we decided to create a lib/tasks/integration.rake for you once the plugin has been installed. It has this very configuration and you can use it as a starting point to customize your integration process**.
|
@@ -109,11 +109,11 @@ Using this almost paranoid sequence of steps it will be hard to check in bad cod
|
|
109
109
|
So you used to [TDD][TDD] all around but then someone told you that this is for gramma. The new wave has a name on it: [BDD][BDD]. So, of course, you now have specs covering 100% of your code and doesn't have any more tests. Great! Just do it:
|
110
110
|
|
111
111
|
INTEGRATION_TASKS = %w(
|
112
|
-
|
112
|
+
jumpup:start
|
113
113
|
db:migrate
|
114
114
|
spec
|
115
|
-
|
116
|
-
|
115
|
+
jumpup:coverage_verify
|
116
|
+
jumpup:finish
|
117
117
|
)
|
118
118
|
|
119
119
|
## Versioning
|
data/jumpup.gemspec
CHANGED
data/lib/jumpup/version.rb
CHANGED
data/test/coverage_test.rb
CHANGED
@@ -6,10 +6,7 @@ class CoverageTest < Test::Unit::TestCase
|
|
6
6
|
last_run = JSON.parse(File.read(COVERAGE_FILE))
|
7
7
|
covered_percent = last_run['result']['covered_percent']
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
else
|
12
|
-
puts "\nCongratulations! Your coverage is 100%!"
|
13
|
-
end
|
9
|
+
assert_equal 100, covered_percent, "\nBad Boy! Coverage is #{covered_percent}% < 100%..."
|
10
|
+
puts "\nCongratulations! Your coverage is 100%!"
|
14
11
|
end
|
15
12
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumpup
|
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
|
- HE:labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-17 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
19
|
version: '1.3'
|
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
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: A synchronous continuous integration gem.
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- CHANGELOG.md
|
50
50
|
- Gemfile
|
51
51
|
- MIT-LICENSE
|
@@ -66,17 +66,17 @@ require_paths:
|
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.0
|
79
|
+
rubygems_version: 2.2.0
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Jumpup gem help people that want to do synchronous continuous integration
|