gauge-ruby 0.5.3 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c2087ccad5be966b56a3466f9d83c6aeaa110e899202dd986cd1e1e9db685ea
4
- data.tar.gz: f267845794ad94e2c126908f3e2df1f3fa2afdf094eb2139c50aac46dfbdd5f2
3
+ metadata.gz: e1d5da8642fc2151fa6b87c14bfd0da78a9b6d3fc90f4be0fdde4ac20769c62d
4
+ data.tar.gz: dfff01b4f0c277268ab9fbb58f5be94edeaacfec4ca718bf84ad1f49e2ae1850
5
5
  SHA512:
6
- metadata.gz: dabefd4be2d60e55fabc352980e89b10131c548e6a0ea0533440800cf9b9b2575bd634511373621cf5ef0b98a49c7a9ade5fe38c72513166f2790f163006c55f
7
- data.tar.gz: 86086aa5588987939e8aeab46cd969c8d4c0bdf12ede43a8a1f67da6429c1ad52f25230d7551dc0538ddc6fb6377ab5f0c45a36f1ce6848b3a02341863156e6a
6
+ metadata.gz: c1da61b2d3a37643f31f259cdee4bf8525637b498bd728d2c552a098d660be9f1ebe574214cca88632e50a03373ae7da3a93f5ba01f027b514accf0b30b0e8c7
7
+ data.tar.gz: 42f35490bdebb380e162aff46a768d35a09d6e7ac7f7227022afb47ce83cf04fbcab40c7779128820d5ff1526e76489f5699f21453f6507c6e2dc5afb8aa0e0d
data/lib/code_parser.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
- #
3
- # This file is part of Gauge-Ruby.
4
- #
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
- #
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
- #
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require 'parser/current'
19
7
  require 'unparser'
20
8
  require 'method_source'
@@ -45,7 +33,7 @@ module Gauge
45
33
  args = new_params.map { |v| Parser::AST::Node.new(:arg, [v]) }
46
34
  step = [node.children[0].children[0], node.children[0].children[1], Parser::AST::Node.new(:str, [new_step_text])]
47
35
  c1 = Parser::AST::Node.new(:send, step)
48
- c2 = Parser::AST::Node.new(:args, args)
36
+ c2 = Parser::AST::Node.new(:kwargs, args)
49
37
  Parser::AST::Node.new(:block, [c1, c2, node.children[2]])
50
38
  end
51
39
 
data/lib/configuration.rb CHANGED
@@ -1,22 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
- #
3
- # This file is part of Gauge-Ruby.
4
- #
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
- #
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
- #
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
18
- # Gauge runtime for Ruby language. Read more about Gauge: http://getgauge.io
19
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
20
6
  # @api public
21
7
  module Gauge
22
8
  class << self
@@ -114,4 +100,4 @@ module Gauge
114
100
  @screengrabber=block
115
101
  end
116
102
  end
117
- end
103
+ end
data/lib/datastore.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  # @api public
20
8
  class DataStore
@@ -81,4 +69,4 @@ module Gauge
81
69
  @@spec_datastore = DataStore.new
82
70
  @@scenario_datastore = DataStore.new
83
71
  end
84
- end
72
+ end
data/lib/executor.rb CHANGED
@@ -1,19 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
17
6
  require 'ruby-debug-ide'
18
7
  require_relative 'gauge'
19
8
 
@@ -21,7 +10,7 @@ ATTACH_DEBUGGER_EVENT = 'Runner Ready for Debugging'
21
10
 
22
11
  module Gauge
23
12
  class DebugOptions
24
- attr_accessor :host, :port, :notify_dispatcher
13
+ attr_accessor :host, :port, :notify_dispatcher, :socket_path, :skip_wait_for_start
25
14
  end
26
15
 
27
16
  # @api private
@@ -30,7 +19,7 @@ module Gauge
30
19
  start_debugger
31
20
  Dir["#{dir}/**/*.rb"].each do |x|
32
21
  begin
33
- GaugeLog.info "Loading step implemetations from #{x} dirs"
22
+ GaugeLog.debug "Loading step implemetations from #{x} dirs"
34
23
  ENV['GAUGE_STEP_FILE'] = x
35
24
  require x
36
25
  rescue Exception => e
@@ -45,6 +34,7 @@ module Gauge
45
34
  options.host = '127.0.0.1'
46
35
  options.port = ENV['DEBUG_PORT'].to_i
47
36
  options.notify_dispatcher = false
37
+ options.skip_wait_for_start = false
48
38
  GaugeLog.info ATTACH_DEBUGGER_EVENT
49
39
  Debugger.prepare_debugger(options)
50
40
  end
data/lib/gauge.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative 'method_cache'
19
7
  require_relative 'configuration'
20
8
 
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  # @api public
19
7
  module Gauge
20
8
  class << self
data/lib/gauge_runtime.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require 'socket'
19
7
  require 'protocol_buffers'
20
8
  require 'grpc'
@@ -1,19 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
17
6
  require_relative './util'
18
7
  module Gauge
19
8
  class << self
@@ -60,4 +49,4 @@ module Gauge
60
49
  end
61
50
 
62
51
  end
63
- end
52
+ end
data/lib/log.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require 'json'
19
7
 
20
8
  module Gauge
data/lib/method_cache.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative 'configuration'
19
7
  module Gauge
20
8
  # @api private
@@ -1,22 +1,9 @@
1
1
  # frozen_string_literal: true
2
-
3
- # Copyright 2018 ThoughtWorks, Inc.
4
-
5
- # This file is part of Gauge-Ruby.
6
-
7
- # Gauge-Ruby is free software: you can redistribute it and/or modify
8
- # it under the terms of the GNU General Public License as published by
9
- # the Free Software Foundation, either version 3 of the License, or
10
- # (at your option) any later version.
11
-
12
- # Gauge-Ruby is distributed in the hope that it will be useful,
13
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- # GNU General Public License for more details.
16
-
17
- # You should have received a copy of the GNU General Public License
18
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
19
-
2
+ =begin
3
+ * Copyright (c) ThoughtWorks, Inc.
4
+ * Licensed under the Apache License, Version 2.0
5
+ * See LICENSE.txt in the project root for license information.
6
+ =end
20
7
  require_relative '../static_loader'
21
8
  require_relative '../method_cache'
22
9
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative "../datastore"
19
7
 
20
8
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative "execution_handler"
19
7
 
20
8
  module Gauge
@@ -34,4 +22,4 @@ module Gauge
34
22
  handle_pass time_elapsed_since(start_time)
35
23
  end
36
24
  end
37
- end
25
+ end
@@ -1,21 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
18
- require 'os'
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
19
6
  require_relative '../table'
20
7
 
21
8
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative "execution_handler"
19
7
  require_relative "../gauge_messages"
20
8
  require_relative "../gauge_screenshot"
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative '../util'
19
7
 
20
8
  module Gauge
@@ -25,4 +13,4 @@ module Gauge
25
13
  Messages::ImplementationFileListResponse.new(:implementationFilePaths => fileList)
26
14
  end
27
15
  end
28
- end
16
+ end
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative '../util'
19
7
 
20
8
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  # @api private
20
8
  module Processors
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative '../code_parser'
19
7
 
20
8
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  module Processors
20
8
  def process_step_name_request(request)
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  module Processors
20
8
  def process_step_names_request(_request)
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  module Processors
20
8
  def process_step_positions_request(request)
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  module Processors
20
8
  def process_step_validation_request(request)
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative '../../lib/util'
19
7
 
20
8
  module Gauge
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative "services_services_pb"
19
7
  Dir[File.join(File.dirname(__FILE__), "processors/*.rb")].each { |file| require file }
20
8
 
data/lib/static_loader.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2018 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  require_relative 'gauge'
19
7
  require_relative 'code_parser'
20
8
  require_relative 'method_cache'
data/lib/table.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  # Holds a table definition. This corresponds to a markdown table defined in the .spec files.
20
8
  # @api public
data/lib/util.rb CHANGED
@@ -1,20 +1,8 @@
1
- # Copyright 2015 ThoughtWorks, Inc.
2
-
3
- # This file is part of Gauge-Ruby.
4
-
5
- # Gauge-Ruby is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Gauge-Ruby is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Gauge-Ruby. If not, see <http://www.gnu.org/licenses/>.
17
-
1
+ =begin
2
+ * Copyright (c) ThoughtWorks, Inc.
3
+ * Licensed under the Apache License, Version 2.0
4
+ * See LICENSE.txt in the project root for license information.
5
+ =end
18
6
  module Gauge
19
7
  class Util
20
8
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gauge-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gauge Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-13 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-protocol-buffers
@@ -24,54 +24,46 @@ dependencies:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.6.1
27
- - !ruby/object:Gem::Dependency
28
- name: os
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 1.0.1
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: 1.0.1
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: parser
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '2.7'
34
+ - - "<"
46
35
  - !ruby/object:Gem::Version
47
- version: '2.3'
36
+ version: '4.0'
48
37
  type: :runtime
49
38
  prerelease: false
50
39
  version_requirements: !ruby/object:Gem::Requirement
51
40
  requirements:
52
- - - "~>"
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '2.7'
44
+ - - "<"
53
45
  - !ruby/object:Gem::Version
54
- version: '2.3'
46
+ version: '4.0'
55
47
  - !ruby/object:Gem::Dependency
56
48
  name: unparser
57
49
  requirement: !ruby/object:Gem::Requirement
58
50
  requirements:
59
51
  - - ">="
60
52
  - !ruby/object:Gem::Version
61
- version: 0.2.6
53
+ version: 0.5.0
62
54
  - - "<"
63
55
  - !ruby/object:Gem::Version
64
- version: 0.5.0
56
+ version: 0.7.0
65
57
  type: :runtime
66
58
  prerelease: false
67
59
  version_requirements: !ruby/object:Gem::Requirement
68
60
  requirements:
69
61
  - - ">="
70
62
  - !ruby/object:Gem::Version
71
- version: 0.2.6
63
+ version: 0.5.0
72
64
  - - "<"
73
65
  - !ruby/object:Gem::Version
74
- version: 0.5.0
66
+ version: 0.7.0
75
67
  - !ruby/object:Gem::Dependency
76
68
  name: method_source
77
69
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +73,7 @@ dependencies:
81
73
  version: 0.8.2
82
74
  - - "<"
83
75
  - !ruby/object:Gem::Version
84
- version: 0.10.0
76
+ version: 1.1.0
85
77
  type: :runtime
86
78
  prerelease: false
87
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +83,7 @@ dependencies:
91
83
  version: 0.8.2
92
84
  - - "<"
93
85
  - !ruby/object:Gem::Version
94
- version: 0.10.0
86
+ version: 1.1.0
95
87
  - !ruby/object:Gem::Dependency
96
88
  name: ruby-debug-ide
97
89
  requirement: !ruby/object:Gem::Requirement
@@ -118,54 +110,54 @@ dependencies:
118
110
  requirements:
119
111
  - - "~>"
120
112
  - !ruby/object:Gem::Version
121
- version: 0.2.2
113
+ version: 0.2.5.beta2
122
114
  type: :runtime
123
115
  prerelease: false
124
116
  version_requirements: !ruby/object:Gem::Requirement
125
117
  requirements:
126
118
  - - "~>"
127
119
  - !ruby/object:Gem::Version
128
- version: 0.2.2
120
+ version: 0.2.5.beta2
129
121
  - !ruby/object:Gem::Dependency
130
122
  name: grpc
131
123
  requirement: !ruby/object:Gem::Requirement
132
124
  requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- version: 1.10.0
136
125
  - - "~>"
137
126
  - !ruby/object:Gem::Version
138
127
  version: '1.10'
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 1.10.0
139
131
  type: :runtime
140
132
  prerelease: false
141
133
  version_requirements: !ruby/object:Gem::Requirement
142
134
  requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: 1.10.0
146
135
  - - "~>"
147
136
  - !ruby/object:Gem::Version
148
137
  version: '1.10'
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 1.10.0
149
141
  - !ruby/object:Gem::Dependency
150
142
  name: grpc-tools
151
143
  requirement: !ruby/object:Gem::Requirement
152
144
  requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: 1.10.0
156
145
  - - "~>"
157
146
  - !ruby/object:Gem::Version
158
147
  version: '1.10'
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 1.10.0
159
151
  type: :development
160
152
  prerelease: false
161
153
  version_requirements: !ruby/object:Gem::Requirement
162
154
  requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: 1.10.0
166
155
  - - "~>"
167
156
  - !ruby/object:Gem::Version
168
157
  version: '1.10'
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: 1.10.0
169
161
  description: Adds Ruby support into Gauge tests
170
162
  email:
171
163
  - gauge@thoughtworks.com
@@ -205,9 +197,9 @@ files:
205
197
  - lib/static_loader.rb
206
198
  - lib/table.rb
207
199
  - lib/util.rb
208
- homepage: http://www.getgauge.io
200
+ homepage: https://gauge.org
209
201
  licenses:
210
- - GPL-3.0
202
+ - Apache-2.0
211
203
  metadata: {}
212
204
  post_install_message:
213
205
  rdoc_options: []
@@ -217,14 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
209
  requirements:
218
210
  - - ">="
219
211
  - !ruby/object:Gem::Version
220
- version: '1.9'
212
+ version: '2.7'
221
213
  required_rubygems_version: !ruby/object:Gem::Requirement
222
214
  requirements:
223
215
  - - ">="
224
216
  - !ruby/object:Gem::Version
225
- version: '1.9'
217
+ version: '2.7'
226
218
  requirements: []
227
- rubygems_version: 3.0.3
219
+ rubygems_version: 3.1.6
228
220
  signing_key:
229
221
  specification_version: 4
230
222
  summary: Ruby support for Gauge