cuketagger 1.5 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ require "#{File.dirname(__FILE__)}/spec_helper"
2
+
3
+
4
+ describe 'Tagger, Unit', :unit_test => true do
5
+
6
+ clazz = CukeTagger::Tagger
7
+
8
+ let(:tagger) { clazz.new }
9
+
10
+
11
+ it 'can tag feature files' do
12
+ expect(tagger).to respond_to(:execute)
13
+ end
14
+
15
+ it 'tags based on CLI style arguments' do
16
+ expect(tagger.method(:execute).arity).to eq(1)
17
+ end
18
+
19
+ it 'can tag feature files without being instantiated' do
20
+ expect(clazz).to respond_to(:execute)
21
+ end
22
+
23
+ end
metadata CHANGED
@@ -1,89 +1,172 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cuketagger
3
- version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 5
9
- version: "1.5"
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.0
10
5
  platform: ruby
11
- authors:
12
- - Jari
13
- - Bakken
6
+ authors:
7
+ - Jari Bakken
8
+ - Eric Kessler
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-04-18 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: cucumber
12
+ date: 2016-12-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: cuke_modeler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
21
+ type: :runtime
23
22
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: cql
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.0'
27
35
  - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 63
30
- segments:
31
- - 0
32
- - 9
33
- - 2
34
- version: 0.9.2
36
+ - !ruby/object:Gem::Version
37
+ version: 1.3.0
35
38
  type: :runtime
36
- version_requirements: *id001
37
- description: batch tagging of cucumber features and scenarios
38
- email: jari.bakken@gmail.com
39
- executables:
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - "~>"
43
+ - !ruby/object:Gem::Version
44
+ version: '1.0'
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 1.3.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: bundler
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ type: :development
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ - !ruby/object:Gem::Dependency
77
+ name: racatt
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ - !ruby/object:Gem::Dependency
91
+ name: rspec
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ - !ruby/object:Gem::Dependency
105
+ name: cucumber
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "<"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.0.0
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: 3.0.0
118
+ description:
119
+ email:
120
+ - morrow748@gmail.com
121
+ executables:
40
122
  - cuketagger
41
123
  extensions: []
42
-
43
124
  extra_rdoc_files: []
44
-
45
- files:
46
- - Rakefile
125
+ files:
126
+ - ".gitignore"
127
+ - ".travis.yml"
128
+ - Gemfile
129
+ - History.md
130
+ - LICENSE.txt
47
131
  - README.markdown
132
+ - Rakefile
133
+ - bin/cuketagger
134
+ - cuketagger.gemspec
135
+ - lib/cuketagger.rb
48
136
  - lib/cuketagger/array_list_extension.rb
49
- - lib/cuketagger/tag_formatter.rb
50
137
  - lib/cuketagger/tagger.rb
51
138
  - lib/cuketagger/version.rb
52
- - lib/cuketagger.rb
53
- - bin/cuketagger
54
- has_rdoc: false
55
- homepage: http://cukes.info
56
- licenses: []
57
-
139
+ - testing/cucumber/features/.cucumber/stepdefs.json
140
+ - testing/cucumber/features/cuketagger.feature
141
+ - testing/cucumber/features/scenario_outline.feature
142
+ - testing/cucumber/features/step_definitions/cuketagger_steps.rb
143
+ - testing/cucumber/features/support/env.rb
144
+ - testing/cuke_tagger_helper.rb
145
+ - testing/rspec/spec/spec_helper.rb
146
+ - testing/rspec/spec/tagger_integration_spec.rb
147
+ - testing/rspec/spec/tagger_unit_spec.rb
148
+ homepage: https://github.com/jarib/cuketagger
149
+ licenses:
150
+ - MIT
151
+ metadata: {}
58
152
  post_install_message:
59
153
  rdoc_options: []
60
-
61
- require_paths:
154
+ require_paths:
62
155
  - lib
63
- required_ruby_version: !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
156
+ required_ruby_version: !ruby/object:Gem::Requirement
157
+ requirements:
66
158
  - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
- version: "0"
72
- required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
+ requirements:
75
163
  - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 0
80
- version: "0"
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
81
166
  requirements: []
82
-
83
167
  rubyforge_project:
84
- rubygems_version: 1.3.7
168
+ rubygems_version: 2.6.7
85
169
  signing_key:
86
- specification_version: 3
170
+ specification_version: 4
87
171
  summary: batch tagging of cucumber features and scenarios
88
172
  test_files: []
89
-
@@ -1,21 +0,0 @@
1
- module CukeTagger
2
- module TagFormatter
3
- attr_accessor :tagger
4
-
5
- def feature(feature)
6
- @tagger.process @uri, feature
7
- super
8
- end
9
-
10
- def scenario_outline(scenario_outline)
11
- @tagger.process @uri, scenario_outline
12
- super
13
- end
14
-
15
- def scenario(scenario)
16
- @tagger.process @uri, scenario
17
- super
18
- end
19
-
20
- end
21
- end