cucumber_analytics 1.5.2 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.simplecov +1 -2
  3. data/.travis.yml +12 -0
  4. data/Gemfile +21 -1
  5. data/{History.rdoc → History.md} +26 -21
  6. data/{README.rdoc → README.md} +37 -27
  7. data/Rakefile +15 -2
  8. data/cucumber_analytics.gemspec +7 -6
  9. data/lib/cucumber_analytics/version.rb +1 -1
  10. data/{features → testing/cucumber/features}/analysis/directory_collection.feature +0 -0
  11. data/{features → testing/cucumber/features}/analysis/feature_collection.feature +0 -0
  12. data/{features → testing/cucumber/features}/analysis/feature_file_collection.feature +0 -0
  13. data/{features → testing/cucumber/features}/analysis/step_collection.feature +0 -0
  14. data/{features → testing/cucumber/features}/analysis/tag_collection.feature +0 -0
  15. data/{features → testing/cucumber/features}/analysis/test_collection.feature +0 -0
  16. data/{features → testing/cucumber/features}/analysis/test_comparison.feature +0 -0
  17. data/{features → testing/cucumber/features}/analysis/test_manipulation.feature +0 -0
  18. data/{features → testing/cucumber/features}/modeling/background_modeling.feature +0 -0
  19. data/{features → testing/cucumber/features}/modeling/background_output.feature +0 -0
  20. data/{features → testing/cucumber/features}/modeling/directory_modeling.feature +0 -0
  21. data/{features → testing/cucumber/features}/modeling/directory_output.feature +0 -0
  22. data/{features → testing/cucumber/features}/modeling/doc_string_modeling.feature +0 -0
  23. data/{features → testing/cucumber/features}/modeling/doc_string_output.feature +0 -0
  24. data/{features → testing/cucumber/features}/modeling/example_modeling.feature +0 -0
  25. data/{features → testing/cucumber/features}/modeling/example_output.feature +0 -0
  26. data/{features → testing/cucumber/features}/modeling/feature_file_modeling.feature +0 -0
  27. data/{features → testing/cucumber/features}/modeling/feature_file_output.feature +0 -0
  28. data/{features → testing/cucumber/features}/modeling/feature_modeling.feature +0 -0
  29. data/{features → testing/cucumber/features}/modeling/feature_output.feature +0 -0
  30. data/{features → testing/cucumber/features}/modeling/outline_modeling.feature +0 -0
  31. data/{features → testing/cucumber/features}/modeling/outline_output.feature +0 -0
  32. data/{features → testing/cucumber/features}/modeling/row_modeling.feature +0 -0
  33. data/{features → testing/cucumber/features}/modeling/row_output.feature +0 -0
  34. data/{features → testing/cucumber/features}/modeling/scenario_modeling.feature +0 -0
  35. data/{features → testing/cucumber/features}/modeling/scenario_output.feature +0 -0
  36. data/{features → testing/cucumber/features}/modeling/step_modeling.feature +0 -0
  37. data/{features → testing/cucumber/features}/modeling/step_output.feature +0 -0
  38. data/{features → testing/cucumber/features}/modeling/table_modeling.feature +0 -0
  39. data/{features → testing/cucumber/features}/modeling/table_output.feature +0 -0
  40. data/{features → testing/cucumber/features}/modeling/table_row_modeling.feature +0 -0
  41. data/{features → testing/cucumber/features}/modeling/table_row_output.feature +0 -0
  42. data/{features → testing/cucumber/features}/modeling/tag_modeling.feature +0 -0
  43. data/{features → testing/cucumber/features}/modeling/tag_output.feature +0 -0
  44. data/{features → testing/cucumber}/step_definitions/action_steps.rb +0 -0
  45. data/{features → testing/cucumber}/step_definitions/background_steps.rb +0 -0
  46. data/{features → testing/cucumber}/step_definitions/directory_steps.rb +0 -0
  47. data/{features → testing/cucumber}/step_definitions/doc_string_steps.rb +0 -0
  48. data/{features → testing/cucumber}/step_definitions/feature_file_steps.rb +0 -0
  49. data/{features → testing/cucumber}/step_definitions/feature_steps.rb +0 -0
  50. data/{features → testing/cucumber}/step_definitions/outline_steps.rb +0 -0
  51. data/{features → testing/cucumber}/step_definitions/setup_steps.rb +0 -0
  52. data/{features → testing/cucumber}/step_definitions/step_steps.rb +0 -0
  53. data/{features → testing/cucumber}/step_definitions/table_steps.rb +0 -0
  54. data/{features → testing/cucumber}/step_definitions/tag_steps.rb +0 -0
  55. data/{features → testing/cucumber}/step_definitions/test_steps.rb +0 -0
  56. data/{features → testing/cucumber}/step_definitions/verification_steps.rb +0 -0
  57. data/{features → testing/cucumber}/step_definitions/world_steps.rb +0 -0
  58. data/{features → testing/cucumber}/support/env.rb +6 -4
  59. data/{features → testing/cucumber}/support/transforms.rb +0 -0
  60. data/{spec → testing/rspec/spec}/integration/background_integration_spec.rb +1 -1
  61. data/{spec → testing/rspec/spec}/integration/directory_integration_spec.rb +1 -1
  62. data/{spec → testing/rspec/spec}/integration/doc_string_integration_spec.rb +1 -1
  63. data/{spec → testing/rspec/spec}/integration/example_integration_spec.rb +1 -1
  64. data/{spec → testing/rspec/spec}/integration/feature_file_integration_spec.rb +1 -1
  65. data/{spec → testing/rspec/spec}/integration/feature_integration_spec.rb +1 -1
  66. data/{spec → testing/rspec/spec}/integration/outline_integration_spec.rb +1 -1
  67. data/{spec → testing/rspec/spec}/integration/scenario_integration_spec.rb +1 -1
  68. data/{spec → testing/rspec/spec}/integration/step_integration_spec.rb +1 -1
  69. data/{spec → testing/rspec/spec}/integration/table_integration_spec.rb +1 -1
  70. data/{spec → testing/rspec/spec}/integration/table_row_integration_spec.rb +1 -1
  71. data/{spec → testing/rspec/spec}/integration/tag_integration_spec.rb +1 -1
  72. data/{spec → testing/rspec/spec}/integration/world_integration_spec.rb +1 -1
  73. data/testing/rspec/spec/spec_helper.rb +37 -0
  74. data/{spec → testing/rspec/spec}/unit/background_unit_spec.rb +1 -1
  75. data/{spec → testing/rspec/spec}/unit/bare_bones_unit_specs.rb +1 -1
  76. data/{spec → testing/rspec/spec}/unit/containing_element_unit_specs.rb +1 -1
  77. data/{spec → testing/rspec/spec}/unit/directory_unit_spec.rb +1 -1
  78. data/{spec → testing/rspec/spec}/unit/doc_string_unit_spec.rb +1 -1
  79. data/{spec → testing/rspec/spec}/unit/example_unit_spec.rb +1 -1
  80. data/{spec → testing/rspec/spec}/unit/feature_element_unit_spec.rb +1 -1
  81. data/{spec → testing/rspec/spec}/unit/feature_element_unit_specs.rb +1 -1
  82. data/{spec → testing/rspec/spec}/unit/feature_file_unit_spec.rb +1 -1
  83. data/{spec → testing/rspec/spec}/unit/feature_unit_spec.rb +1 -1
  84. data/{spec → testing/rspec/spec}/unit/nested_element_unit_specs.rb +1 -1
  85. data/{spec → testing/rspec/spec}/unit/nested_unit_spec.rb +1 -1
  86. data/{spec → testing/rspec/spec}/unit/outline_unit_spec.rb +1 -1
  87. data/{spec → testing/rspec/spec}/unit/parsing_unit_spec.rb +1 -1
  88. data/{spec → testing/rspec/spec}/unit/prepopulated_unit_specs.rb +1 -1
  89. data/{spec → testing/rspec/spec}/unit/raw_element_unit_specs.rb +1 -1
  90. data/{spec → testing/rspec/spec}/unit/raw_unit_spec.rb +1 -1
  91. data/{spec → testing/rspec/spec}/unit/row_unit_spec.rb +1 -1
  92. data/{spec → testing/rspec/spec}/unit/scenario_unit_spec.rb +1 -1
  93. data/{spec → testing/rspec/spec}/unit/sourceable_unit_spec.rb +1 -1
  94. data/{spec → testing/rspec/spec}/unit/sourced_element_unit_specs.rb +1 -1
  95. data/{spec → testing/rspec/spec}/unit/step_unit_spec.rb +1 -1
  96. data/{spec → testing/rspec/spec}/unit/table_row_unit_spec.rb +1 -1
  97. data/{spec → testing/rspec/spec}/unit/table_unit_spec.rb +1 -1
  98. data/{spec → testing/rspec/spec}/unit/tag_unit_spec.rb +1 -1
  99. data/{spec → testing/rspec/spec}/unit/taggable_unit_spec.rb +1 -1
  100. data/{spec → testing/rspec/spec}/unit/tagged_element_unit_specs.rb +1 -1
  101. data/{spec → testing/rspec/spec}/unit/test_element_unit_spec.rb +1 -1
  102. data/{spec → testing/rspec/spec}/unit/test_element_unit_specs.rb +1 -1
  103. data/{spec → testing/rspec/spec}/unit/world_unit_spec.rb +1 -1
  104. metadata +146 -250
  105. data/spec/spec_helper.rb +0 -33
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 63a0f3e210d69616997eaadee0c413b8ac0d0223
4
+ data.tar.gz: c2e0f61c3c5594c57c9559a534a105c711eef624
5
+ SHA512:
6
+ metadata.gz: 079df8f2d0d4faf3123eeac497449a33e2887b77f1b7bbfaaa450487152b58176864efde13b2cbeabb51044081482cbb044e7612b24ed2fb48aefaf056404ab3
7
+ data.tar.gz: 7b5592e859b1e94947999bada84afff2257e3b9c589958abf9aa765e6d03c7a613832d7b2ed4d0e5c13e3a096a1d544fe32ea473c7853192b9203c4d42c242ca
data/.simplecov CHANGED
@@ -1,8 +1,7 @@
1
1
  SimpleCov.start do
2
2
  root File.dirname(__FILE__)
3
3
 
4
- add_filter '/features/'
5
- add_filter '/spec/'
4
+ add_filter '/testing/'
6
5
 
7
6
  merge_timeout 300
8
7
  end
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.3
5
+ - 2.2.2
6
+
7
+
8
+ # todo - Remove this once TravisCI fixes their bundler issue (https://github.com/alphagov/govuk_template/pull/186)
9
+ before_install:
10
+ - gem install bundler -v 1.9.10
11
+
12
+ script: bundle exec rake cucumber_analytics:ci_build
data/Gemfile CHANGED
@@ -1,4 +1,24 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in cucumber-analytics.gemspec
3
+ # Specify your gem's dependencies in cucumber_analytics.gemspec
4
4
  gemspec
5
+
6
+
7
+ # cucumber_analytics can play with pretty much any version of these but they all play differently with Ruby
8
+ if RUBY_VERSION =~ /^1\.8/
9
+ gem 'cucumber', '<1.3.0'
10
+ gem 'gherkin', '<2.12.0'
11
+ gem 'rake', '< 11.0' # Rake dropped 1.8.x support after this version
12
+ elsif RUBY_VERSION =~ /^1\./
13
+ gem 'cucumber', '<2.0.0'
14
+ end
15
+
16
+ if RUBY_VERSION =~ /^1\./
17
+ gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
18
+ gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
19
+ gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
20
+ end
21
+
22
+ if RUBY_VERSION =~ /^2\.[23456789]/
23
+ gem 'test-unit'
24
+ end
@@ -1,10 +1,15 @@
1
- === Version 1.5.2 / 2016-01-21
1
+ ### Version 1.6.0 / 2016-10-19
2
+
3
+ * Version limits on all of this gem's dependencies are now declared by the gem.
4
+
5
+
6
+ ### Version 1.5.2 / 2016-01-21
2
7
 
3
8
  * Bug fix: Fixed an error caused by comparing elements with step objects to
4
9
  anything that did not have step objects.
5
10
 
6
11
 
7
- === Version 1.5.1 / 2014-05-26
12
+ ### Version 1.5.1 / 2014-05-26
8
13
 
9
14
  * Version ranges have been removed for the gherkin gem. Since this gem can work
10
15
  with any version of gherkin, ensuring that the avaialble version of the
@@ -12,38 +17,38 @@
12
17
  best handled externally.
13
18
 
14
19
 
15
- === Version 1.5.0 / 2014-02-04
20
+ ### Version 1.5.0 / 2014-02-04
16
21
 
17
22
  * Version ranges have been added for gem dependencies.
18
- * #to_s has been overridden for elements so that it returns text suitable for
23
+ * \#to_s has been overridden for elements so that it returns text suitable for
19
24
  use as gherkin source code.
20
25
 
21
26
 
22
- === Version 1.4.2 / 2014-01-26
27
+ ### Version 1.4.2 / 2014-01-26
23
28
 
24
29
  * Bug fix: Example#add_row no longer assumes that the key/value pairs in a
25
30
  Hash are ordered. This was causing values in the added row to be assigned
26
31
  to the incorrect parameter when using versions of Ruby before 1.9.x.
27
32
 
28
33
 
29
- === Version 1.4.1 / 2013-12-25
34
+ ### Version 1.4.1 / 2013-12-25
30
35
 
31
36
  * Bug fix: Trailing empty lines are no longer left out of the contents of doc
32
37
  string models.
33
38
 
34
39
 
35
- === Version 1.4.0 / 2013-11-05
40
+ ### Version 1.4.0 / 2013-11-05
36
41
 
37
42
  * Step table rows are now modeled. Non-object table rows have been retained in
38
43
  order to remain backwards compatible.
39
44
 
40
45
 
41
- === Version 1.3.0 / 2013-10-02
46
+ ### Version 1.3.0 / 2013-10-02
42
47
 
43
48
  * Elements now have a convenience method for accessing their ancestor elements.
44
49
 
45
50
 
46
- === Version 1.2.0 / 2013-09-01
51
+ ### Version 1.2.0 / 2013-09-01
47
52
 
48
53
  * Bug fix: nil no longer shows up as a child element of a Feature if the Feature
49
54
  does not have a Background object.
@@ -53,19 +58,19 @@
53
58
  backwards compatible.
54
59
 
55
60
 
56
- === Version 1.1.1 / 2013-08-03
61
+ ### Version 1.1.1 / 2013-08-03
57
62
 
58
63
  * Version bumped due to publishing wrong code for version 1.1.0.
59
64
 
60
65
 
61
- === Version 1.1.0 / 2013-08-01
66
+ ### Version 1.1.0 / 2013-08-01
62
67
 
63
68
  * Outline example rows are now modeled.
64
69
  * Some elements now keep track of which source code line number they started on.
65
70
  * Step definition patterns that have been loaded in the World can now be cleared.
66
71
 
67
72
 
68
- === Version 1.0.0 / 2013-06-30
73
+ ### Version 1.0.0 / 2013-06-30
69
74
 
70
75
  * Bug fix: Step definitions are now detected whether or not parenthesis are
71
76
  used in the declararion.
@@ -81,13 +86,13 @@
81
86
  * Significant API overhaul, including several new classes for modeling.
82
87
 
83
88
 
84
- === Version 0.0.9 / 2013-02-25
89
+ ### Version 0.0.9 / 2013-02-25
85
90
 
86
91
  * Bug fix: Fixed an un-anchored regular expression that was causing
87
92
  feature files to be parsed incorrectly.
88
93
 
89
94
 
90
- === Version 0.0.8 / 2013-02-24
95
+ ### Version 0.0.8 / 2013-02-24
91
96
 
92
97
  * Bug fix: Replaced some destructive method calls with non-destructive
93
98
  equivalents.
@@ -96,7 +101,7 @@
96
101
  * Directory collection added.
97
102
 
98
103
 
99
- === Version 0.0.7 / 2013-02-01
104
+ ### Version 0.0.7 / 2013-02-01
100
105
 
101
106
  * Bug fix: Feature collection no longer returns nil values for feature files
102
107
  that do not contain features.
@@ -104,26 +109,26 @@
104
109
  * Adjusted the default logging level so that logging does not occur by default.
105
110
 
106
111
 
107
- === Version 0.0.6 / 2013-01-07
112
+ ### Version 0.0.6 / 2013-01-07
108
113
 
109
114
  * Improved support for example blocks in outlines.
110
115
  * Modeling of empty feature files is now possible.
111
116
  * Modeling of inherited tags has been added.
112
117
 
113
118
 
114
- === Version 0.0.5 / 2012-12-16
119
+ ### Version 0.0.5 / 2012-12-16
115
120
 
116
121
  * Bug fix: a missing 'require' statement that was causing loading errors has
117
122
  been fixed.
118
123
 
119
124
 
120
- === Version 0.0.4 / 2012-12-13
125
+ ### Version 0.0.4 / 2012-12-13
121
126
 
122
127
  * Removed an unintentional gem dependency.
123
128
  * Improved 1.8.7 compatibility.
124
129
 
125
130
 
126
- === Version 0.0.3 / 2012-11-10
131
+ ### Version 0.0.3 / 2012-11-10
127
132
 
128
133
  * 'But' has been added to the list of recognized step keywords (formerly Given,
129
134
  When,Then, And, and *).
@@ -131,11 +136,11 @@
131
136
  properly takes into account an outline's example rows.
132
137
 
133
138
 
134
- === Version 0.0.2 / 2012-11-01
139
+ ### Version 0.0.2 / 2012-11-01
135
140
 
136
141
  * Bug fix: descriptions are no longer cut short due to the presence of keywords.
137
142
 
138
143
 
139
- === Version 0.0.1 / 2012-10-28
144
+ ### Version 0.0.1 / 2012-10-28
140
145
 
141
146
  * Initial release
@@ -1,8 +1,18 @@
1
- = CucumberAnalytics
1
+ # CucumberAnalytics
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/cucumber_analytics.png)](https://badge.fury.io/rb/cucumber_analytics)
4
+ [![Dependency Status](https://gemnasium.com/enkessler/cucumber_analytics.png)](https://gemnasium.com/enkessler/cucumber_analytics)
5
+ [![](https://codeclimate.com/github/enkessler/cucumber_analytics.png)](https://codeclimate.com/github/enkessler/cucumber_analytics)
6
+
7
+
8
+ ---
9
+
10
+ **Attention**: The purpose and functionality provided by this gem has largely been superseded by the [cuke_modeler](https://github.com/enkessler/cuke_modeler) gem and
11
+ other gems that have been built on top of that gem. The only functionality that these new gems do not cover is that which falls outside the scope of feature files
12
+ and the Gherkin language itself, so you should only need to use this gem if you need the functionality that involves step definitions.
13
+
14
+ ---
2
15
 
3
- {<img src="https://badge.fury.io/rb/cucumber_analytics.png" alt="Gem Version" />}[http://badge.fury.io/rb/cucumber_analytics]
4
- {<img src="https://gemnasium.com/enkessler/cucumber_analytics.png" alt="Dependency Status" />}[https://gemnasium.com/enkessler/cucumber_analytics]
5
- {<img src="https://codeclimate.com/github/enkessler/cucumber_analytics.png" />}[https://codeclimate.com/github/enkessler/cucumber_analytics]
6
16
 
7
17
  The intention of this gem is to provide a useful mechanism by which to answer
8
18
  all of the burning questions that one might have about their Cucumber test base.
@@ -21,7 +31,7 @@ either through directly providing the answer or by providing sufficient tools
21
31
  that determining the answer yourself is just a few straightforward object
22
32
  manipulations away.
23
33
 
24
- == Installation
34
+ ## Installation
25
35
 
26
36
  Add this line to your application's Gemfile:
27
37
 
@@ -35,35 +45,35 @@ Or install it yourself as:
35
45
 
36
46
  $ gem install cucumber_analytics
37
47
 
38
- == Usage
48
+ ## Usage
39
49
 
40
50
  First things first. Load up the gem code.
41
51
 
42
- require 'cucumber_analytics'
52
+ require 'cucumber_analytics'
43
53
 
44
54
  Next, let's generate a model for our Cucumber suite.
45
55
 
46
- directory = CucumberAnalytics::Directory.new('path/to/the/code_directory')
47
- world = CucumberAnalytics::World
56
+ directory = CucumberAnalytics::Directory.new('path/to/the/code_directory')
57
+ world = CucumberAnalytics::World
48
58
 
49
59
  Now it's time to take a look around and see what we can see.
50
60
 
51
- all_tags = world.tags_in(directory)
52
- puts all_tags
53
- #=> ["@Unit", "@Fragile", "@wip", "@wip", "@Critical", "@Unit", "@wip", "@Deprecated", "@wip", "@wip"]
54
-
55
- puts all_tags.uniq
56
- #=> ["@Unit", "@Fragile", "@wip", "@Critical", "@Deprecated"]
57
-
58
- wip_tags = all_tags.select{ |tag| tag == '@wip' }
59
-
60
- puts wip_tags.count.to_f / all_tags.count
61
- #=> 0.5
62
-
63
-
64
- all_steps = world.steps_in(directory)
65
- puts all_steps.collect{ |step| step.base}
66
- #=> ["some step", "the user logs in", "the user will log in", "another step", "the user \"Bob\" logs in"]
61
+ all_tags = world.tags_in(directory)
62
+ puts all_tags
63
+ #=> ["@Unit", "@Fragile", "@wip", "@wip", "@Critical", "@Unit", "@wip", "@Deprecated", "@wip", "@wip"]
64
+
65
+ puts all_tags.uniq
66
+ #=> ["@Unit", "@Fragile", "@wip", "@Critical", "@Deprecated"]
67
+
68
+ wip_tags = all_tags.select{ |tag| tag == '@wip' }
69
+
70
+ puts wip_tags.count.to_f / all_tags.count
71
+ #=> 0.5
72
+
73
+
74
+ all_steps = world.steps_in(directory)
75
+ puts all_steps.collect{ |step| step.base}
76
+ #=> ["some step", "the user logs in", "the user will log in", "another step", "the user \"Bob\" logs in"]
67
77
 
68
78
  So with a few simple commands we have discovered that there are five different
69
79
  tags in our codebase and that @wip tags account for half of all usages. We have
@@ -71,7 +81,7 @@ also discovered that our team is creating several redundant steps that could be
71
81
  rewritten into a single, reusable step.
72
82
 
73
83
 
74
- === Other usages
84
+ ### Other usages
75
85
 
76
86
  * https://gist.github.com/enkessler/6408879 - Creating a step lexicon
77
87
  * https://gist.github.com/enkessler/6519022 - Creating unique identifiers for all test cases
@@ -81,7 +91,7 @@ And why stop there? There are so many other tools that can be built with a littl
81
91
  * https://github.com/enkessler/cql
82
92
  * https://github.com/enkessler/cuke_sniffer
83
93
 
84
- == Contributing
94
+ ## Contributing
85
95
 
86
96
  1. Fork it
87
97
  2. Create your feature branch (`git checkout -b my-new-feature`)
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env rake
2
2
  require "bundler/gem_tasks"
3
+ require 'coveralls/rake/task'
3
4
  require 'racatt'
4
5
 
5
6
  namespace 'cucumber_analytics' do
@@ -14,9 +15,21 @@ namespace 'cucumber_analytics' do
14
15
  Racatt.create_tasks
15
16
 
16
17
  # Redefining the task from 'racatt' in order to clear the code coverage results
17
- task :test_everything, [:command_options] => :clear_coverage
18
+ task :test_everything => :clear_coverage
19
+
20
+
21
+ task :test_project do |t, args|
22
+ rspec_args = '--tag ~@wip --pattern testing/rspec/spec/**/*_spec.rb'
23
+ cucumber_args = 'testing/cucumber/features -r testing/cucumber/support -r testing/cucumber/step_definitions -f progress -t ~@wip'
24
+
25
+ Rake::Task['cucumber_analytics:test_everything'].invoke(rspec_args, cucumber_args)
26
+ end
27
+
28
+ # The task that CI will use
29
+ Coveralls::RakeTask.new
30
+ task :ci_build => [:test_project, 'coveralls:push']
18
31
 
19
32
  end
20
33
 
21
34
 
22
- task :default => 'cucumber_analytics:test_everything'
35
+ task :default => 'cucumber_analytics:test_project'
@@ -17,13 +17,14 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ['lib']
18
18
  gem.version = CucumberAnalytics::VERSION
19
19
 
20
- gem.add_runtime_dependency('gherkin')
20
+ gem.add_runtime_dependency('gherkin', '< 3.0')
21
21
  gem.add_runtime_dependency('json', '~> 1.0')
22
22
  gem.add_runtime_dependency('multi_json', '~> 1.0')
23
23
 
24
- gem.add_development_dependency('rake')
25
- gem.add_development_dependency('cucumber')
26
- gem.add_development_dependency('rspec')
27
- gem.add_development_dependency('simplecov')
28
- gem.add_development_dependency('racatt', '>= 0.0.3', '< 1.0.0' )
24
+ gem.add_development_dependency 'rake', '< 12.0.0'
25
+ gem.add_development_dependency 'cucumber', '< 3.0.0'
26
+ gem.add_development_dependency 'rspec', '~> 3.0'
27
+ gem.add_development_dependency 'simplecov', '< 1.0.0'
28
+ gem.add_development_dependency 'racatt', '~> 1.0'
29
+ gem.add_development_dependency 'coveralls', '< 1.0.0'
29
30
  end
@@ -1,3 +1,3 @@
1
1
  module CucumberAnalytics
2
- VERSION = '1.5.2'
2
+ VERSION = '1.6.0'
3
3
  end