cucumber_analytics 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjM2NzlkYjkxNTg1ZmU0NDE4MjVkZjk2MGJjNzljMGE0NDVkMTMxMA==
4
+ ODMwNzMzY2IxOTc5ZGE2ODJkZmJiOWYyMTA2YzJmYTJhZmRmMzIyYg==
5
5
  data.tar.gz: !binary |-
6
- MGNjNDMxOGRiNjVhZWQ2OWE2MjFmYjlmNGE3MmIwNDYwY2M1ZmMwNw==
6
+ MzIzZjdhMDQ4NDgzOWNjMTJlMGZlYjIwOGI5NTYwNmYwY2VmNGQ0Ng==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTEzOTE2NGVjNzEzZDJhZTFhYjgzNTgzNWU5MmE0YmY5ZWU4MzlmOThiN2E3
10
- YTBjZjIwNjNjYzk5YTkzYmE1MjgxMjU5NzQ4YWI0MDcyNTFmZWEzMTA5ZTc2
11
- NDY4MzMxY2YyOTRhY2VjZTlmOTBiYjk4MTc5YjlmYmQyZWY3YTM=
9
+ OTZiODdmMzE4YzI5ZmU2NzhlYjIyYzJiYzYxYjIzZjdkNmFkY2E0YzdhOTMw
10
+ Yjg3ZjkwYTQxMmQ5NmFkNDc2YjBlYTMxNzgzYzFlNDM3YjU2MDM0YmNlYTQx
11
+ ZDNhZjQyMGZkMjI3NWI1ZWIxZTk2NjQwNzU1N2FkZTZhMDYxYWE=
12
12
  data.tar.gz: !binary |-
13
- NDU3ZjE5MDI0MGUyZjFjOWY1ZmExNTQxNDU3MWYzYjI4YzI5MTlmMjZkMDU5
14
- MzQyNmNiMGY3NDdhNmY4ZDEzNjRiM2I5ODQ3ZmNkMTM0NzdlYWRmODM2YWI4
15
- MGQzMmNiZWZhOTY0NDI5ZTg1MjYxZDU5NGVjY2RmY2U0MDEzNjE=
13
+ N2QyZDg5YTQ0ZDc0ZmNjNzNiYTFmY2JiOGFjYjUwYjlhOGU1M2EyNTQzZjNk
14
+ ZWU3YmNlYjFjOWJlOGY3NWFiMDM4Yjc5YWIwZmFkZmM4NzBmOWU0NDc2ZDRm
15
+ MDA1Nzc2ODhmNGM5MDRlNjZlMjY0YWQwZTliMjhiYTRhOWE3MmI=
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === Version 1.4.1 / 2013-12-25
2
+
3
+ * Bug fix: Trailing empty lines are no longer left out of the contents of doc
4
+ string models.
5
+
6
+
1
7
  === Version 1.4.0 / 2013-11-05
2
8
 
3
9
  * Step table rows are now modeled. Non-object table rows have been retained in
data/README.rdoc CHANGED
@@ -72,6 +72,11 @@ rewritten into a single, reusable step.
72
72
  * https://gist.github.com/enkessler/6408879 - Creating a step lexicon
73
73
  * https://gist.github.com/enkessler/6519022 - Creating unique identifiers for all test cases
74
74
 
75
+ And why stop there? There are so many other tools that can be built with a little analysis!
76
+
77
+ * https://github.com/enkessler/cql
78
+ * https://github.com/enkessler/cuke_sniffer
79
+
75
80
  == Contributing
76
81
 
77
82
  1. Fork it
data/Rakefile CHANGED
@@ -10,10 +10,14 @@ task :clear_coverage do
10
10
  end
11
11
 
12
12
  desc 'Run all acceptance tests for the gem'
13
- Cucumber::Rake::Task.new(:tests)
13
+ Cucumber::Rake::Task.new(:tests) do |t|
14
+ t.cucumber_opts = "-t ~@wip -t ~@off"
15
+ end
14
16
 
15
17
  desc 'Run all API specifications for the gem'
16
- RSpec::Core::RakeTask.new(:specs)
18
+ RSpec::Core::RakeTask.new(:specs) do |t|
19
+ t.rspec_opts = "-t ~wip -t ~off"
20
+ end
17
21
 
18
22
  desc 'Run All The Things'
19
23
  task :everything => :clear_coverage do
@@ -18,7 +18,9 @@ Feature: Doc String elements can be modeled.
18
18
  * some wordy step:
19
19
  \"\"\" content type
20
20
  some text
21
+
21
22
  some more text
23
+
22
24
  \"\"\"
23
25
  * some wordy step:
24
26
  \"\"\"
@@ -37,7 +39,9 @@ Feature: Doc String elements can be modeled.
37
39
  Scenario: The doc string's contents are modeled.
38
40
  Then the step "1" doc string has the following contents:
39
41
  | 'some text' |
42
+ | ' ' |
40
43
  | ' some more text' |
44
+ | '' |
41
45
  And the step "2" doc string contents are empty
42
46
 
43
47
  Scenario Outline: Doc String models pass all other specifications
@@ -58,7 +58,7 @@ module CucumberAnalytics
58
58
  end
59
59
 
60
60
  def populate_contents(doc_string)
61
- @contents = doc_string['value'].split($/)
61
+ @contents = doc_string['value'].split($/, -1)
62
62
  end
63
63
 
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module CucumberAnalytics
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kessler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gherkin