cucumber 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9900efafec3a84381ff8bc24124ab4f91beb2ee7
4
- data.tar.gz: db71624e341b3763ab8887a9c95ca49458ef8f27
3
+ metadata.gz: a58e91116e3be0964048ef8b17f2ede1d9dc4ecd
4
+ data.tar.gz: 6b9daa16cca6ad0fee4509a1393ce2de08ef0570
5
5
  SHA512:
6
- metadata.gz: 6f27f29e8ac78a8e4aeb9e95f157f876d9270f520fa033654f83afc3b5d78bb24783a50073c5c0a040a577c20d4e2538a79c5a5bb2b59d63abdb00e1a58f8666
7
- data.tar.gz: 9c9b518017a6ca3138cf93d3809f92d15ad470232a020fa71051f69d7577d3c7cfaffcc86f0e3e9395c13ebc7b3d75343cd45cc1eb64af6bdf26f7a7777ffd7d
6
+ metadata.gz: 32101af5bb836a75f4a9efab29bc3afa660cf48bc297b71a4c6255811a1e287c75003435001d0d96036ce9b4322fab5206086fbb1c2330ff1356f122bd9610a4
7
+ data.tar.gz: 7b76da05692427b9120f43909641be7cb0bff1622260ecd21d4d65855925336182f867b617d4a8fa0e33e3c4aedcb335d77a5c31730cc942fd8a75f36617a3c4
data/History.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [In Git](https://github.com/cucumber/cucumber-ruby/compare/v2.3.0...master)
1
+ ## [In Git](https://github.com/cucumber/cucumber-ruby/compare/v2.3.1...master)
2
2
 
3
3
  ### New Features
4
4
 
@@ -6,6 +6,10 @@
6
6
 
7
7
  ### Refactoring
8
8
 
9
+ ## [In Git](https://github.com/cucumber/cucumber-ruby/compare/v2.3.0...v2.3.1)
10
+
11
+ Better deprecation warnings to help fix https://github.com/cucumber/cucumber-ruby/issues/942
12
+
9
13
  ## [v2.3.0](https://github.com/cucumber/cucumber-ruby/compare/v2.2.0...v2.3.0)
10
14
 
11
15
  ### New Features
@@ -7,7 +7,7 @@ module Cucumber
7
7
  AnsiEscapes = Cucumber::Gherkin::Formatter::AnsiEscapes
8
8
 
9
9
  def self.call(message, method, remove_after_version)
10
- STDERR.puts AnsiEscapes.failed + "WARNING: #{method} is deprecated and will be removed after version #{remove_after_version}. #{message}" + AnsiEscapes.reset
10
+ STDERR.puts AnsiEscapes.failed + "\nWARNING: ##{method} is deprecated and will be removed after version #{remove_after_version}. #{message}.\n(Called from #{caller[2]})" + AnsiEscapes.reset
11
11
  end
12
12
  end
13
13
 
@@ -81,12 +81,18 @@ module Cucumber
81
81
  end
82
82
 
83
83
  def title
84
- warn("deprecated: call #name instead")
84
+ Cucumber.deprecate(
85
+ "Call #name instead",
86
+ "RunningTestCase#title",
87
+ "2.9.9")
85
88
  name
86
89
  end
87
90
 
88
91
  def source_tags
89
- #warn('deprecated: call #tags instead')
92
+ Cucumber.deprecate(
93
+ "Call #tags instead",
94
+ "RunningTestCase#source_tags",
95
+ "2.9.9")
90
96
  tags
91
97
  end
92
98
 
@@ -96,8 +102,8 @@ module Cucumber
96
102
 
97
103
  def skip_invoke!
98
104
  Cucumber.deprecate(
99
- "Just call #skip_this_scenario directly",
100
- "skip_invoke!",
105
+ "Call #skip_this_scenario directly (not on any object)",
106
+ "RunningTestCase#skip_invoke!",
101
107
  "2.9.9")
102
108
  raise Cucumber::Core::Test::Result::Skipped
103
109
  end
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.3.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-13 00:00:00.000000000 Z
13
+ date: 2016-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber-core
@@ -864,6 +864,132 @@ rubyforge_project:
864
864
  rubygems_version: 2.2.2
865
865
  signing_key:
866
866
  specification_version: 4
867
- summary: cucumber-2.3.0
868
- test_files: []
867
+ summary: cucumber-2.3.1
868
+ test_files:
869
+ - features/docs/api/list_step_defs_as_json.feature
870
+ - features/docs/api/listen_for_events.feature
871
+ - features/docs/api/run_cli_main_with_existing_runtime.feature
872
+ - features/docs/cli/backtraces.feature
873
+ - features/docs/cli/dry_run.feature
874
+ - features/docs/cli/exclude_files.feature
875
+ - features/docs/cli/execute_with_tag_filter.feature
876
+ - features/docs/cli/fail_fast.feature
877
+ - features/docs/cli/finding_steps.feature
878
+ - features/docs/cli/randomize.feature
879
+ - features/docs/cli/require.feature
880
+ - features/docs/cli/run_scenarios_matching_name.feature
881
+ - features/docs/cli/run_specific_scenarios.feature
882
+ - features/docs/cli/showing_differences.feature
883
+ - features/docs/cli/specifying_multiple_formatters.feature
884
+ - features/docs/cli/strict_mode.feature
885
+ - features/docs/defining_steps/nested_steps.feature
886
+ - features/docs/defining_steps/nested_steps_i18n.feature
887
+ - features/docs/defining_steps/nested_steps_with_second_arg.feature
888
+ - features/docs/defining_steps/one_line_step_definitions.feature
889
+ - features/docs/defining_steps/printing_messages.feature
890
+ - features/docs/defining_steps/skip_scenario.feature
891
+ - features/docs/defining_steps/snippets.feature
892
+ - features/docs/defining_steps/table_diffing.feature
893
+ - features/docs/defining_steps/transforms.feature
894
+ - features/docs/exception_in_after_hook.feature
895
+ - features/docs/exception_in_after_step_hook.feature
896
+ - features/docs/exception_in_around_hook.feature
897
+ - features/docs/exception_in_before_hook.feature
898
+ - features/docs/extending_cucumber/custom_filter.feature
899
+ - features/docs/extending_cucumber/custom_formatter.feature
900
+ - features/docs/formatters/api_methods.feature
901
+ - features/docs/formatters/debug_formatter.feature
902
+ - features/docs/formatters/formatter_step_file_colon_line.feature
903
+ - features/docs/formatters/html_formatter.feature
904
+ - features/docs/formatters/json_formatter.feature
905
+ - features/docs/formatters/junit_formatter.feature
906
+ - features/docs/formatters/pretty_formatter.feature
907
+ - features/docs/formatters/progress_formatter.feature
908
+ - features/docs/formatters/rerun_formatter.feature
909
+ - features/docs/formatters/usage_formatter.feature
910
+ - features/docs/getting_started.feature
911
+ - features/docs/gherkin/background.feature
912
+ - features/docs/gherkin/doc_strings.feature
913
+ - features/docs/gherkin/expand_option_for_outlines.feature
914
+ - features/docs/gherkin/language_from_header.feature
915
+ - features/docs/gherkin/language_help.feature
916
+ - features/docs/gherkin/outlines.feature
917
+ - features/docs/gherkin/unicode_table.feature
918
+ - features/docs/gherkin/using_descriptions.feature
919
+ - features/docs/gherkin/using_star_notation.feature
920
+ - features/docs/iso-8859-1.feature
921
+ - features/docs/post_configuration_hook.feature
922
+ - features/docs/profiles.feature
923
+ - features/docs/rake_task.feature
924
+ - features/docs/raketask.feature
925
+ - features/docs/work_in_progress.feature
926
+ - features/docs/writing_support_code/after_hooks.feature
927
+ - features/docs/writing_support_code/around_hooks.feature
928
+ - features/docs/writing_support_code/before_hook.feature
929
+ - features/docs/writing_support_code/hook_order.feature
930
+ - features/docs/writing_support_code/load_path.feature
931
+ - features/docs/writing_support_code/state.feature
932
+ - features/docs/writing_support_code/tagged_hooks.feature
933
+ - features/lib/step_definitions/aruba_steps.rb
934
+ - features/lib/step_definitions/cucumber_steps.rb
935
+ - features/lib/step_definitions/iso-8859-1_steps.rb
936
+ - features/lib/step_definitions/json_steps.rb
937
+ - features/lib/step_definitions/junit_steps.rb
938
+ - features/lib/step_definitions/language_steps.rb
939
+ - features/lib/step_definitions/profile_steps.rb
940
+ - features/lib/step_definitions/ruby_steps.rb
941
+ - features/lib/step_definitions/wire_steps.rb
942
+ - features/lib/support/env.rb
943
+ - features/lib/support/fake_wire_server.rb
944
+ - features/lib/support/feature_factory.rb
945
+ - features/lib/support/normalise_output.rb
946
+ - spec/cucumber/cli/configuration_spec.rb
947
+ - spec/cucumber/cli/main_spec.rb
948
+ - spec/cucumber/cli/options_spec.rb
949
+ - spec/cucumber/cli/profile_loader_spec.rb
950
+ - spec/cucumber/cli/rerun_spec.rb
951
+ - spec/cucumber/configuration_spec.rb
952
+ - spec/cucumber/constantize_spec.rb
953
+ - spec/cucumber/core_ext/instance_exec_spec.rb
954
+ - spec/cucumber/file_specs_spec.rb
955
+ - spec/cucumber/filters/activate_steps_spec.rb
956
+ - spec/cucumber/filters/gated_receiver_spec.rb
957
+ - spec/cucumber/filters/tag_limits/test_case_index_spec.rb
958
+ - spec/cucumber/filters/tag_limits/verifier_spec.rb
959
+ - spec/cucumber/filters/tag_limits_spec.rb
960
+ - spec/cucumber/formatter/ansicolor_spec.rb
961
+ - spec/cucumber/formatter/debug_spec.rb
962
+ - spec/cucumber/formatter/duration_spec.rb
963
+ - spec/cucumber/formatter/event_bus_report_spec.rb
964
+ - spec/cucumber/formatter/fail_fast_spec.rb
965
+ - spec/cucumber/formatter/html_spec.rb
966
+ - spec/cucumber/formatter/interceptor_spec.rb
967
+ - spec/cucumber/formatter/json_spec.rb
968
+ - spec/cucumber/formatter/junit_spec.rb
969
+ - spec/cucumber/formatter/legacy_api/adapter_spec.rb
970
+ - spec/cucumber/formatter/pretty_spec.rb
971
+ - spec/cucumber/formatter/progress_spec.rb
972
+ - spec/cucumber/formatter/rerun_spec.rb
973
+ - spec/cucumber/formatter/spec_helper.rb
974
+ - spec/cucumber/hooks_spec.rb
975
+ - spec/cucumber/multiline_argument/data_table_spec.rb
976
+ - spec/cucumber/project_initializer_spec.rb
977
+ - spec/cucumber/rake/forked_spec.rb
978
+ - spec/cucumber/rb_support/rb_language_spec.rb
979
+ - spec/cucumber/rb_support/rb_step_definition_spec.rb
980
+ - spec/cucumber/rb_support/rb_transform_spec.rb
981
+ - spec/cucumber/rb_support/rb_world_spec.rb
982
+ - spec/cucumber/rb_support/snippet_spec.rb
983
+ - spec/cucumber/running_test_case_spec.rb
984
+ - spec/cucumber/runtime/for_programming_languages_spec.rb
985
+ - spec/cucumber/runtime/support_code_spec.rb
986
+ - spec/cucumber/runtime_spec.rb
987
+ - spec/cucumber/sell_cucumbers.feature
988
+ - spec/cucumber/step_argument_spec.rb
989
+ - spec/cucumber/step_match_search_spec.rb
990
+ - spec/cucumber/step_match_spec.rb
991
+ - spec/cucumber/world/pending_spec.rb
992
+ - spec/cucumber_spec.rb
993
+ - spec/spec_helper.rb
994
+ - spec/support/standard_step_actions.rb
869
995
  has_rdoc: