acceptance_test 1.8.2 → 1.8.3

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
- NDZlYzM2Yjg1MDI0Mzk5NGU3YTg0OTI0NThkZDgxZTc0OWNhZmY4OQ==
4
+ ZTA4NTkwZDMzZTcwMTIzZjFlMGU1YmYwNzE0YmIxY2Q2NGUxMmFlZg==
5
5
  data.tar.gz: !binary |-
6
- OTkzZDE2ZDI5NDdjMTVmZDEyMDhjZmU0MTA3NTRhNjU1NDRhZDU3MQ==
6
+ ZDVmZTlkNWQ2NjE3OWRkNWU5NTk4OTdhZWViYWJiYzM5OTkzZTZiZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjkzZDBiODZjYjc4ZTM1OGMxMTgzMDIwODJkN2FhMmM2ODQ0OTkzMzc3M2Ex
10
- MDVjZmYwYzVlODA4YjQ5NjY1ZDc4NzdmY2IxMGVmMTdkOWRlMWZlOTNiMjNj
11
- ZDgzZGQxODM2MWNhZmMxMmUzZDAyZmY5NTNkMTcxMmI0ZDIwYjU=
9
+ MmQwZWI5Njk4YzYzY2UyYzg4ZTEwZmVmOWU2ZjZlY2E5MTdhMDhhZjc5NTMy
10
+ MjFjOTA5MWE0NmE2ZDY1MWY5M2QyNjY0NDU4ZDI4MjAwYTI5YzU3OGU0ODY3
11
+ MDFhNzJkMGZhMzVjMmQ4OWIzMDY4YTYxYjI3MjA1MmVkZTQ3ZjQ=
12
12
  data.tar.gz: !binary |-
13
- YTEzYzZhZThlMmE0MTU2NGU3OWE1MzI3NzhjMzE3YTc5NTBiMDY3ZTM0Mjhj
14
- NjM1ZWE0MmZjYzA1YTEyNDBlMDk5ZTE1ZmU0M2M3ZTgyZWJlZTIzMjQyMWQx
15
- Y2ZkMzg1ZjJhYjE0MzkwNDQ3OWM1OTAxODQ4ZWFkMGQ1Y2YxNzQ=
13
+ YTE4NmU2NWEwNDdlNzFlMzQ0ZTEyNjIxNTBkY2VhOTJkZDE5YTgyZTVlM2Y3
14
+ Njc1MzM5M2E4MDE1NGJlMWIxMDYxYjE1YWU3MzhhNTZjNDk4N2RjZThhZGY4
15
+ Y2Q0OWUxZWY1MTkwY2Q5NGE3NTZjYTRhYWU0NGU5NzRhYjdkZjQ=
data/CHANGES CHANGED
@@ -216,3 +216,7 @@
216
216
  == Version 1.8.2
217
217
 
218
218
  * Fix issue with encoding
219
+
220
+ == Version 1.8.3
221
+
222
+ * Using Dsl builder
data/Gemfile CHANGED
@@ -22,6 +22,7 @@ group :acceptance_test do
22
22
  gem "cucumber", "~> 1.3.17"
23
23
  gem "rspec-example_steps", "~> 3.0.2"
24
24
  gem "turnip", "~> 1.2.4"
25
+ gem "meta_methods", "~> 1.2.0"
25
26
 
26
27
  # Note: You need to install qt:
27
28
  # Mac: brew install qt
@@ -45,6 +45,7 @@ GEM
45
45
  turnip_formatter (~> 0.3.2)
46
46
  i18n (0.6.11)
47
47
  json (1.8.1)
48
+ meta_methods (1.2.0)
48
49
  metaclass (0.0.4)
49
50
  mime-types (2.4.1)
50
51
  mini_portile (0.6.0)
@@ -117,6 +118,7 @@ DEPENDENCIES
117
118
  gemcutter
118
119
  gemspec_deps_gen
119
120
  gnawrnip
121
+ meta_methods (~> 1.2.0)
120
122
  mocha
121
123
  poltergeist (~> 1.5.1)
122
124
  rspec
@@ -1,5 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
+ require 'meta_methods/dsl_builder'
3
4
  require 'acceptance_test/page'
4
5
 
5
6
  class PageSet
@@ -19,7 +20,7 @@ class PageSet
19
20
  end
20
21
 
21
22
  def execute &code
22
- self.instance_eval &code
23
+ MetaMethods::DslBuilder.instance.evaluate_dsl(self, nil, code)
23
24
  end
24
25
 
25
26
  def self.step title
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.8.2"
2
+ VERSION = "1.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acceptance_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.2.2
127
+ rubygems_version: 2.4.2
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Simplifies congiguration and run of acceptance tests.