acceptance_test 1.9.3 → 1.9.4

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDY5ZWI3YmNhNzc5MGZmOTEyODE4NzdiMTcwYTFjMjQ4ZjEwMzRmMQ==
4
+ Y2Y2NDhmZTJjNDhmOGJjNGU0MmJlMzBhYTVhYjdiZDViMWJjZDU1Zg==
5
5
  data.tar.gz: !binary |-
6
- NzkxZDg4OWE2YmZiZDVjNmE5MmJmYzM4MTE4ZDQxOWQyMDcwNGZhOQ==
6
+ MTU3ZTVhZTVjMGJlODllZDlhZmY5NTU3NDU5YmYyMjYyOGFjYjU4YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTM5MzI0ZDFkNGFkOGIxNWIwZDY4NGU4OGQ1MWQ2ZWZjYWRjNDIwMzZhZDM2
10
- ZDgwMjYyMWM2N2E1YzdlNDM1MjA3ZGYwNWQwNjkzYmYwOWM3YjAwNmRiYmE1
11
- NTM5MWM4ZWRlNDZkN2RmNzFhNjJhNDYxZWMxYzkyM2Y1NjE1ZmY=
9
+ ZDQ1NDAzYTc3ZmEyYTY0YTZkNzU1ZWViMDdhZDhkOTE0N2E4ZjMyZjdjOWM2
10
+ Y2NhNDNiODdlYzNmNjhiNmRmNDM4NzNlNWI0ZGU0NWE5M2ZhY2YwNzQ3MjYz
11
+ YmZlMjg5NWM2NzhmYWJhYWY0MTM1NzM3OTA4Y2Y5ODZhMzU2ZGM=
12
12
  data.tar.gz: !binary |-
13
- NGYwYWYxMjZlYjk2ZWZjZGE4ZjhhNzVmNzE3NWE0NjRlNWFjMzRjZDMyYTFl
14
- NDYxYTU5YTM2NWFhZDMxZGU3NTg4ZjY2Nzg2OWM5OGQxZGQ3NTdmZmRhMzIw
15
- YTQwNTBjYjMxMmYxZDdmNGIwODk2MDFiMjA2MWI1NzNhNjVlYmE=
13
+ MTRhMjJhYmJjM2Q4NWM0ZmRhMjE5NTgzYTRiZjdjN2UwNmRiY2I4YjQwOTVj
14
+ ZWI3ZjVlZDAxOWQ4YzM3MDI4MDA1NzkzZGMyMjE5MmMxYjkxNDE3OTMwMzBl
15
+ OGY4MjU5ODhmZGZlZjcxOGI5MWQyNDM3MTJjNzgyYzUwYzQzZGY=
data/CHANGES CHANGED
@@ -248,3 +248,7 @@
248
248
  == Version 1.9.3
249
249
 
250
250
  * Adding smart completion feature
251
+
252
+ == Version 1.9.4
253
+
254
+ * Bug fix
@@ -9,8 +9,9 @@ class PageSet
9
9
  attr_accessor :context
10
10
  attr_reader :pages
11
11
 
12
- def initialize context
12
+ def initialize context, smart_completion=true
13
13
  @context = context
14
+ @smart_completion = smart_completion
14
15
  @pages = []
15
16
  end
16
17
 
@@ -26,6 +27,8 @@ class PageSet
26
27
  pages.each do |page|
27
28
  delegate_to_page page
28
29
  end
30
+
31
+ enable_smart_completion if @smart_completion
29
32
  end
30
33
 
31
34
  def delegate_to_page page
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.9.3"
2
+ VERSION = "1.9.4"
3
3
  end
@@ -9,14 +9,12 @@ class WikipediaPages < PageSet
9
9
 
10
10
  attr_reader :context
11
11
 
12
- def initialize session, smart_completion=true
13
- super session
12
+ def initialize session
13
+ super session, true
14
14
 
15
15
  @main_page = MainPage.new self
16
16
 
17
17
  delegate_to_pages :main_page
18
-
19
- enable_smart_completion if smart_completion
20
18
  end
21
19
 
22
20
  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.9.3
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets