simplecov 0.9.1 → 0.10.0

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.
Files changed (79) hide show
  1. checksums.yaml +7 -7
  2. data/.gitignore +0 -1
  3. data/.rubocop.yml +69 -0
  4. data/.travis.yml +12 -0
  5. data/CHANGELOG.md +59 -21
  6. data/Gemfile +22 -15
  7. data/MIT-LICENSE +1 -1
  8. data/README.md +198 -176
  9. data/Rakefile +17 -8
  10. data/doc/alternate-formatters.md +36 -0
  11. data/doc/commercial-services.md +20 -0
  12. data/doc/editor-integration.md +13 -0
  13. data/features/rspec_basic.feature +3 -2
  14. data/features/rspec_groups_and_filters_complex.feature +2 -0
  15. data/features/rspec_groups_using_filter_class.feature +3 -2
  16. data/features/step_definitions/html_steps.rb +6 -7
  17. data/features/step_definitions/simplecov_steps.rb +18 -16
  18. data/features/step_definitions/transformers.rb +2 -2
  19. data/features/step_definitions/web_steps.rb +4 -4
  20. data/features/support/env.rb +18 -15
  21. data/lib/simplecov/command_guesser.rb +33 -34
  22. data/lib/simplecov/configuration.rb +238 -234
  23. data/lib/simplecov/defaults.rb +37 -36
  24. data/lib/simplecov/exit_codes.rb +7 -5
  25. data/lib/simplecov/file_list.rb +38 -36
  26. data/lib/simplecov/filter.rb +12 -2
  27. data/lib/simplecov/formatter/simple_formatter.rb +1 -1
  28. data/lib/simplecov/formatter.rb +2 -2
  29. data/lib/simplecov/jruby_fix.rb +4 -4
  30. data/lib/simplecov/last_run.rb +15 -13
  31. data/lib/simplecov/merge_helpers.rb +26 -27
  32. data/lib/simplecov/no_defaults.rb +2 -2
  33. data/lib/simplecov/profiles.rb +21 -19
  34. data/lib/simplecov/railtie.rb +1 -1
  35. data/lib/simplecov/railties/tasks.rake +7 -7
  36. data/lib/simplecov/result.rb +5 -5
  37. data/lib/simplecov/result_merger.rb +65 -62
  38. data/lib/simplecov/source_file.rb +23 -24
  39. data/lib/simplecov/version.rb +20 -1
  40. data/lib/simplecov.rb +35 -24
  41. data/simplecov.gemspec +15 -12
  42. data/test/faked_project/Gemfile +5 -5
  43. data/test/faked_project/Rakefile +4 -4
  44. data/test/faked_project/features/step_definitions/my_steps.rb +3 -4
  45. data/test/faked_project/features/support/env.rb +5 -5
  46. data/test/faked_project/lib/faked_project/some_class.rb +3 -4
  47. data/test/faked_project/lib/faked_project.rb +1 -1
  48. data/test/faked_project/spec/faked_spec.rb +2 -2
  49. data/test/faked_project/spec/forking_spec.rb +7 -0
  50. data/test/faked_project/spec/meta_magic_spec.rb +1 -1
  51. data/test/faked_project/spec/some_class_spec.rb +3 -3
  52. data/test/faked_project/spec/spec_helper.rb +4 -8
  53. data/test/faked_project/test/faked_test.rb +2 -2
  54. data/test/faked_project/test/meta_magic_test.rb +1 -1
  55. data/test/faked_project/test/some_class_test.rb +3 -3
  56. data/test/faked_project/test/test_helper.rb +5 -9
  57. data/test/fixtures/app/controllers/sample_controller.rb +1 -1
  58. data/test/fixtures/app/models/user.rb +1 -1
  59. data/test/fixtures/deleted_source_sample.rb +3 -3
  60. data/test/fixtures/frameworks/rspec_bad.rb +4 -4
  61. data/test/fixtures/frameworks/rspec_good.rb +4 -4
  62. data/test/fixtures/frameworks/testunit_bad.rb +3 -3
  63. data/test/fixtures/frameworks/testunit_good.rb +3 -3
  64. data/test/fixtures/resultset2.rb +0 -1
  65. data/test/fixtures/sample.rb +1 -1
  66. data/test/fixtures/utf-8.rb +1 -1
  67. data/test/helper.rb +9 -11
  68. data/test/test_1_8_fallbacks.rb +7 -7
  69. data/test/test_command_guesser.rb +8 -8
  70. data/test/test_deleted_source.rb +3 -3
  71. data/test/test_file_list.rb +9 -7
  72. data/test/test_filters.rb +30 -14
  73. data/test/test_merge_helpers.rb +31 -24
  74. data/test/test_result.rb +32 -23
  75. data/test/test_return_codes.rb +10 -6
  76. data/test/test_source_file.rb +5 -38
  77. data/test/test_source_file_line.rb +17 -17
  78. metadata +146 -64
  79. data/lib/simplecov/json.rb +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 1d7e3a8ebe11da1e5ebea51e82ade251403405c9
4
- data.tar.gz: 17db52c7595929742df4a51234ec27752b8e710e
5
- SHA512:
6
- metadata.gz: 914e57ef6d9c4c74151e4e058bf491933ea279278c7780a81bdc4587a46dd5a0c53b7ba2c8e057729fda2803c03eb83f7f32e2bc87eaa0cfbef36aa64161c95e
7
- data.tar.gz: 789409593bde254e7b33986c9a0c8fd1ae362319445abeb28f7c04857e1c7681ecdcf8e1b7829e61a4013927e42b9965b758c7eba823d1ecf8fe8d7e23146c18
1
+ ---
2
+ SHA512:
3
+ metadata.gz: 48711e9d1476719d339f0086b8f35b64be59364bbbf5c0d3c767c56a7857dd1afa576b05278a1c74aa8a346d97817676eef1d48f3f10ec1e8b4e452fc4445f56
4
+ data.tar.gz: 88dad87cce15389b66baa7d2bb73f675fe168e2dd4168fef863310b053cf989a10a1fdced39b2d10616e8187c48d342236da8e0e17e915d34b4588da949737a2
5
+ SHA1:
6
+ metadata.gz: ce56b638173500ad25afd14ce524ff192753fc7e
7
+ data.tar.gz: 5279e97dae54994a96c976917ce820c5af60cbcb
data/.gitignore CHANGED
@@ -29,4 +29,3 @@ capybara*.html
29
29
  ## PROJECT::SPECIFIC
30
30
 
31
31
  .yardoc
32
- doc
data/.rubocop.yml ADDED
@@ -0,0 +1,69 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'test/fixtures/iso-8859.rb'
4
+ - 'tmp/**/*'
5
+ - 'vendor/bundle/**/*'
6
+
7
+ Lint/AmbiguousRegexpLiteral:
8
+ Exclude:
9
+ - 'features/**/*_steps.rb'
10
+ - 'test/**/*_steps.rb'
11
+ - 'tmp/**/*_steps.rb'
12
+
13
+ Metrics/AbcSize:
14
+ Max: 25 # TODO: Lower to 15
15
+
16
+ Metrics/BlockNesting:
17
+ Max: 2
18
+
19
+ Metrics/LineLength:
20
+ AllowURI: true
21
+ Enabled: false
22
+
23
+ Metrics/MethodLength:
24
+ CountComments: false
25
+ Max: 12 # TODO: Lower to 10
26
+
27
+ Metrics/ParameterLists:
28
+ Max: 4
29
+ CountKeywordArgs: true
30
+
31
+ Style/AccessModifierIndentation:
32
+ EnforcedStyle: outdent
33
+
34
+ Style/CollectionMethods:
35
+ PreferredMethods:
36
+ map: 'collect'
37
+ reduce: 'inject'
38
+ find: 'detect'
39
+ find_all: 'select'
40
+
41
+ Style/Documentation:
42
+ Enabled: false
43
+
44
+ Style/DoubleNegation:
45
+ Enabled: false
46
+
47
+ Style/HashSyntax:
48
+ EnforcedStyle: hash_rockets
49
+
50
+ Style/RegexpLiteral:
51
+ Enabled: false
52
+
53
+ Style/SpaceInsideHashLiteralBraces:
54
+ EnforcedStyle: no_space
55
+
56
+ Style/SpecialGlobalVars:
57
+ Exclude:
58
+ - 'test/test_deleted_source.rb'
59
+ - 'test/test_return_codes.rb'
60
+
61
+ Style/StringLiterals:
62
+ EnforcedStyle: double_quotes
63
+
64
+ Style/FileName:
65
+ Exclude:
66
+ - 'test/fixtures/utf-8.rb'
67
+
68
+ Style/TrailingComma:
69
+ EnforcedStyleForMultiline: 'comma'
data/.travis.yml CHANGED
@@ -1,12 +1,24 @@
1
1
  language: ruby
2
+
3
+ before_install:
4
+ - gem install bundler
5
+
6
+ bundler_args: --without development --jobs=3 --retry=3
7
+
8
+ cache: bundler
9
+
10
+ sudo: false
11
+
2
12
  rvm:
3
13
  - 1.8.7
4
14
  - 1.9.3
5
15
  - 2.0.0
6
16
  - 2.1
17
+ - 2.2
7
18
  - ruby-head
8
19
  - jruby
9
20
  - rbx-2
21
+
10
22
  matrix:
11
23
  allow_failures:
12
24
  - rvm: ruby-head
data/CHANGELOG.md CHANGED
@@ -1,13 +1,51 @@
1
- Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...master))
2
- ====================
1
+ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...master))
2
+ =================
3
3
 
4
4
  ## Enhancements
5
5
 
6
6
  ## Bugfixes
7
7
 
8
+ 0.10.0 2015-04-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.2...0.10.0))
9
+ =================
10
+
11
+ ## Enhancements
12
+
13
+ * Add writeup about using with Spring to README. See [#341](https://github.com/colszowka/simplecov/issues/341) (thanks @swrobel and @onebree)
14
+ * Add support to pass in an Array when creating filter groups (original PR #104)
15
+ * Filter `/vendor/bundle` by default. See [#331](https://github.com/colszowka/simplecov/pull/331) (thanks @andyw8)
16
+ * Add some helpful singleton methods to the version string.
17
+ * Allow array to be passed in a filter. See [375](https://github.com/colszowka/simplecov/pull/375) (thanks @JanStevens)
18
+ * Enforce consistent code formatting with RuboCop.
19
+
20
+ ## Bugfixes
21
+
22
+ * Fix order dependencies in unit tests. See [#376](https://github.com/colszowka/simplecov/pull/376) (thanks @hugopeixoto)
23
+ * Only run the at_exit behaviors if the current PID matches the PID that called SimpleCov.start. See [#377](https://github.com/colszowka/simplecov/pull/377) (thanks @coderanger)
24
+
25
+ 0.9.2, 2015-02-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...v0.9.2))
26
+ =================
27
+
28
+ This is a minor bugfix release for simplecov-html, released as `0.9.0`. Due to the tight version constraint in the gemspec
29
+ a new release of simplecov had to be shipped to allow using simplecov-html `~> 0.9.0`.
30
+
31
+ * The browser back / forward button should now work again. See [#36](https://github.com/colszowka/simplecov-html/pull/36) and
32
+ [#35](https://github.com/colszowka/simplecov-html/pull/35). Thanks @whatasunnyday and @justinsteele for submitting PRs to fix this.
33
+ * Fix "warning: possibly useless use of a variable in void context" See [#31](https://github.com/colszowka/simplecov-html/pull/31). Thanks @cbandy
34
+ * Always use binary file format. See [#32](https://github.com/colszowka/simplecov-html/pull/32). Thanks @andy128k
35
+ * Avoid slow file output with JRuby/Windows. See [#16](https://github.com/colszowka/simplecov-html/pull/16). Thanks @pschambacher
36
+
37
+ Other than the release includes a bunch of mostly documentation improvements:
38
+
39
+ * Update Rails path for Rails 4+. See [#336](https://github.com/colszowka/simplecov/pull/336). Thanks @yazinsai
40
+ * Encourage use of .simplecov to avoid lost files. See [#338](https://github.com/colszowka/simplecov/pull/338). thanks @dankohn
41
+ * Specified in the gemspec that simplecov needs ruby 1.8.7. See [#343](https://github.com/colszowka/simplecov/pull/343). thanks @iainbeeston
42
+ * Fix mispointed link in CHANGELOG.md. See [#353](https://github.com/colszowka/simplecov/pull/353). Thanks @dleve123
43
+ * Improve command name docs. See [#356](https://github.com/colszowka/simplecov/pull/356). Thanks @gtd
44
+
45
+
8
46
 
9
47
  0.9.1, 2014-09-21 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.0...v0.9.1))
10
- ====================
48
+ =================
11
49
 
12
50
  ## Bugfixes
13
51
 
@@ -17,7 +55,7 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...ma
17
55
 
18
56
 
19
57
  0.9.0, 2014-07-17 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.2...v0.9.0))
20
- ====================
58
+ =================
21
59
 
22
60
  **A warm welcome and big thank you to the new contributors [@xaviershay](https://github.com/xaviershay), [@sferik](https://github.com/sferik) and especially [@bf4](https://github.com/bf4) for tackling a whole lot of issues and pull requests for this release!**
23
61
 
@@ -43,7 +81,7 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...ma
43
81
  * Does not look for .simplecov in ~/ when $HOME is not set.
44
82
  See [#311](https://github.com/colszowka/simplecov/pull/311) (thanks @lasseebert)
45
83
  * Exit with code only if it's Numeric > 0.
46
- See [#302](https://github.com/colszowka/simplecov/pull/303)(thanks @hajder)
84
+ See [#302](https://github.com/colszowka/simplecov/pull/302) (thanks @hajder)
47
85
  * Make default filter case insensitive.
48
86
  See [#280](https://github.com/colszowka/simplecov/pull/280) (thanks @ryanatball)
49
87
  * Improve regexp that matches functional tests.
@@ -53,7 +91,7 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...ma
53
91
  See [#311](https://github.com/colszowka/simplecov/pull/311) (thanks @lasseebert)
54
92
 
55
93
  v0.8.2, 2013-11-20 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.1...v0.8.2))
56
- =====================
94
+ ==================
57
95
 
58
96
  ## Bugfixes
59
97
 
@@ -64,7 +102,7 @@ v0.8.2, 2013-11-20 ([changes](https://github.com/colszowka/simplecov/compare/v0.
64
102
  [#223](https://github.com/colszowka/simplecov/pull/223) (thanks to @tomykaira)
65
103
 
66
104
  v0.8.1, 2013-11-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.0...v0.8.1))
67
- =====================
105
+ ==================
68
106
 
69
107
  ## Bugfixes
70
108
 
@@ -72,7 +110,7 @@ v0.8.1, 2013-11-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.
72
110
  See [#256](https://github.com/colszowka/simplecov/pull/256) (thanks to @kylev)
73
111
 
74
112
  v0.8.0, 2013-11-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.1...v0.8.0))
75
- =====================
113
+ ==================
76
114
 
77
115
  **Note: Yanked the same day because of the regression that 0.8.1 fixes, see above**
78
116
 
@@ -145,7 +183,7 @@ has been added.
145
183
  [#237](https://github.com/colszowka/simplecov/pull/237) (thanks to @rli9)
146
184
 
147
185
  v0.7.1, 2012-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...v0.7.1))
148
- =====================
186
+ ==================
149
187
 
150
188
  * [BUGFIX] The gem packages of 0.7.0 (both simplecov and simplecov-html) pushed to Rubygems had some file
151
189
  permission issues, leading to problems when installing SimpleCov in a root/system Rubygems install and then
@@ -155,7 +193,7 @@ v0.7.1, 2012-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.
155
193
 
156
194
 
157
195
  v0.7.0, 2012-10-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.4...v0.7.0))
158
- =====================
196
+ ==================
159
197
 
160
198
  * [FEATURE] The new `maximum_coverage_drop` and `minimum_coverage` now allow you to fail your build when the
161
199
  coverage dropped by more than what you allowed or is below a minimum value required. Also, `refuse_coverage_drop` disallows
@@ -174,7 +212,7 @@ v0.7.0, 2012-10-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.
174
212
  * The usual bunch of README fixes and documentation tweaks. Thanks to everyone who contributed those!
175
213
 
176
214
  v0.6.4, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.3...v0.6.4))
177
- =====================
215
+ ==================
178
216
 
179
217
  * [BUGFIX] Encoding issues with ISO-8859-encoded source files fixed.
180
218
  See https://github.com/colszowka/simplecov/pull/117. (thanks to @Deradon)
@@ -186,7 +224,7 @@ v0.6.4, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.
186
224
 
187
225
 
188
226
  v0.6.3, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.2...v0.6.3))
189
- =====================
227
+ ==================
190
228
 
191
229
  * [BUGFIX] Modified the API-changes for newer multi_json versions introduced with #122 and v0.6.2 so
192
230
  they are backwards-compatible with older multi_json gems in order to avoid simplecov polluting
@@ -196,19 +234,19 @@ v0.6.3, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.
196
234
  multi_json gems and ensure the above actually works :)
197
235
 
198
236
  v0.6.2, 2012-04-20 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.1...v0.6.2))
199
- =====================
237
+ ==================
200
238
 
201
239
  * [Updated to latest version of MultiJSON and its new API (thanks to @sferik and @ronen).
202
240
  See https://github.com/colszowka/simplecov/pull/122
203
241
 
204
242
  v0.6.1, 2012-02-24 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.0...v0.6.1))
205
- =====================
243
+ ==================
206
244
 
207
245
  * [BUGFIX] Don't force-load Railtie on Rails < 3. Fixes regression introduced with
208
246
  #83. See https://github.com/colszowka/simplecov/issues/113
209
247
 
210
248
  v0.6.0, 2012-02-22 ([changes](https://github.com/colszowka/simplecov/compare/v0.5.4...v0.6.0))
211
- =====================
249
+ ==================
212
250
 
213
251
  * [FEATURE] Auto-magic `rake simplecov` task for rails
214
252
  (see https://github.com/colszowka/simplecov/pull/83, thanks @sunaku)
@@ -224,7 +262,7 @@ v0.6.0, 2012-02-22 ([changes](https://github.com/colszowka/simplecov/compare/v0.
224
262
  list of changes: https://github.com/colszowka/simplecov/compare/v0.5.4...v0.6.0
225
263
 
226
264
  v0.5.4, 2011-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.5.3...v0.5.4))
227
- =====================
265
+ ==================
228
266
 
229
267
  * Do not give exit code 0 when there are exceptions prior to tests
230
268
  (see https://github.com/colszowka/simplecov/issues/41, thanks @nbogie)
@@ -237,7 +275,7 @@ v0.5.4, 2011-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.
237
275
  * Readme formatted in Markdown :)
238
276
 
239
277
  v0.5.3, 2011-09-13 ([changes](https://github.com/colszowka/simplecov/compare/v0.5.2...v0.5.3))
240
- =====================
278
+ ==================
241
279
 
242
280
  * Fix for encoding issues that came from the nocov processing mechanism
243
281
  (see https://github.com/colszowka/simplecov/issues/71)
@@ -252,13 +290,13 @@ v0.5.3, 2011-09-13 ([changes](https://github.com/colszowka/simplecov/compare/v0.
252
290
  alias SimpleCov.skip_token)
253
291
 
254
292
  v0.5.2, 2011-09-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.5.1...v0.5.2))
255
- =====================
293
+ ==================
256
294
 
257
295
  * Another fix for a bug in JSON processing introduced with MultiJSON in 0.5.1
258
296
  (see https://github.com/colszowka/simplecov/pull/75, thanks @sferik)
259
297
 
260
298
  v0.5.1, 2011-09-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.5.0...v0.5.1))
261
- =====================
299
+ ==================
262
300
  **Note: Yanked 2011-09-12 because the MultiJSON-patch had a crucial bug**
263
301
 
264
302
  * Fix for invalid gemspec dependency string (see https://github.com/colszowka/simplecov/pull/70,
@@ -269,7 +307,7 @@ v0.5.1, 2011-09-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.
269
307
  and https://github.com/colszowka/simplecov/pull/74, thanks @sferik)
270
308
 
271
309
  v0.5.0, 2011-09-09 ([changes](https://github.com/colszowka/simplecov/compare/v0.4.2...v0.5.4))
272
- =====================
310
+ ==================
273
311
  **Note: Yanked 2011-09-09 because of trouble with the gemspec.**
274
312
 
275
313
  * JSON is now used instead of YAML for resultset caching (used for merging). Should resolve
@@ -290,7 +328,7 @@ v0.5.0, 2011-09-09 ([changes](https://github.com/colszowka/simplecov/compare/v0.
290
328
  <pre>
291
329
  #:nocov:
292
330
  def skipped
293
- @foo * 2
331
+ @foo * 2
294
332
  end
295
333
  #:nocov:
296
334
  </pre>
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Uncomment this to use local copy of simplecov-html in development when checked out
4
4
  # gem 'simplecov-html', :path => ::File.dirname(__FILE__) + '/../simplecov-html'
@@ -6,22 +6,29 @@ source 'https://rubygems.org'
6
6
  # Uncomment this to use development version of html formatter from github
7
7
  # gem 'simplecov-html', :github => 'colszowka/simplecov-html'
8
8
 
9
- gemspec
10
-
11
- gem 'rake', '>= 10.3'
9
+ gem "rake", ">= 10.3"
12
10
 
13
11
  group :test do
14
- gem 'activesupport', '~> 3.2.0' # Older version required for Ruby 1.8.7 support
15
- gem 'rspec', '>= 3.0'
16
- gem 'rspec-legacy_formatters', '>= 1.0'
17
- gem 'shoulda', '>= 3.5'
18
- gem 'shoulda-matchers', '~> 2.0.0' # Older version required for Ruby 1.8.7 support
12
+ # Older versions of some gems required for Ruby 1.8.7 support
13
+ platform :ruby_18 do
14
+ gem "activesupport", "~> 3.2.21"
15
+ gem "shoulda-matchers", "~> 2.0.0"
16
+ gem "i18n", "~> 0.6.11"
17
+ end
18
+ gem "rubocop", ">= 0.30", :platforms => [:ruby_19, :ruby_20, :ruby_21, :ruby_22]
19
+ gem "minitest", ">= 5.5"
20
+ gem "rspec", ">= 3.0"
21
+ gem "rspec-legacy_formatters", ">= 1.0"
22
+ gem "shoulda", ">= 3.5"
19
23
  end
20
24
 
21
- if 'Integration test (cucumber) suite is 1.9+ only'.respond_to?(:encoding)
22
- gem 'aruba', '~> 0.6'
23
- gem 'capybara', '~> 2.0.0'
24
- gem 'poltergeist', '~> 1.1'
25
- gem 'phantomjs', '~> 1.9'
26
- gem 'cucumber', '~> 1.1'
25
+ platform :jruby, :ruby_19, :ruby_20, :ruby_21, :ruby_22 do
26
+ gem "aruba", "~> 0.6"
27
+ gem "capybara", "~> 2.0.0"
28
+ gem "cucumber", "~> 2.0"
29
+ gem "phantomjs", "~> 1.9"
30
+ gem "poltergeist", "~> 1.1"
31
+ gem "test-unit", "~> 3.0"
27
32
  end
33
+
34
+ gemspec
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2013 Christoph Olszowka
1
+ Copyright (c) 2010-2015 Christoph Olszowka
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the