workarea-product_grid_content 1.3.0 → 1.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
  SHA256:
3
- metadata.gz: 36c0cf45e263a79e958e7b124c4ddab00674d6d290de192f040a813122c4dc21
4
- data.tar.gz: d5d953862a2a8499e4e5b9279cf84d3cb910360024a1870a3dacb3b6a5355007
3
+ metadata.gz: f89c0baecd532e8f02a842f2ee18fff8dc2984ed7f66811920caa41ee4872093
4
+ data.tar.gz: 9fc1c750429071f4a797ac56c4fe7baa7a43f174b726d94096ea1f51418d6b14
5
5
  SHA512:
6
- metadata.gz: e977ad075735a1d9c89137d4987b8ed98890e17bd8bf79fee7ca08ebc2c85870df1d9ffeb3f61e012d4892b536f09a3873cdb9fced546c0a80a9e8e83e21a4c8
7
- data.tar.gz: c86a1dbac4eae00c8771e328bd30cd532fa43e2a570fe7efe8ed0fa69b27e9b5e26fab875a320a653d43ef640fb6546bd94cac69cfcd2c3dab55c1734665b359
6
+ metadata.gz: e224b0f618d90b3bddaa59e730690e92b6f5cda577274c74dda4c15b54db3e2af8636b87f68eabefec80d07742ed716462d9f14363937cb442124e78859dd405
7
+ data.tar.gz: 3b271bcd3fd1382f85d9e27382014f70675d04a14e330deba9fd2bdb028afee2fb7e0b8e0fb4532f653b136e34c138b7f391411e72ea43b597d8d1d6131f3629
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ test/dummy/log/*.log
18
18
  test/dummy/db/*.sqlite3
19
19
  test/dummy/db/*.sqlite3-journal
20
20
  node_modules/
21
+ .rubocop-http*
@@ -1,3 +1,15 @@
1
+ Workarea Product Grid Content 1.3.1 (2020-02-13)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Fix leaky test
5
+
6
+ `switch_to_frame` doesn't take a block, and the caller is responsible
7
+ for switching back to the previous frame. Fix test to correctly use
8
+ `within_frame`.
9
+ Eric Pigeon
10
+
11
+
12
+
1
13
  Workarea Product Grid Content 1.3.0 (2019-06-25)
2
14
  --------------------------------------------------------------------------------
3
15
 
data/Gemfile CHANGED
@@ -2,4 +2,4 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'workarea', git: 'https://github.com/workarea-commerce/workarea.git'
5
+ gem 'workarea', git: 'https://github.com/workarea-commerce/workarea.git', branch: 'v3.5-stable'
data/Rakefile CHANGED
@@ -37,12 +37,12 @@ task :release do
37
37
  Rake::Task["workarea:changelog"].execute
38
38
  system "git add CHANGELOG.md"
39
39
  system 'git commit -m "Update CHANGELOG"'
40
- system "git push origin HEAD"
41
40
 
42
41
  system "git tag -a v#{Workarea::ProductGridContent::VERSION} -m 'Tagging #{Workarea::ProductGridContent::VERSION}'"
43
- system "git push --tags"
42
+ system "git push origin HEAD --follow-tags"
44
43
 
45
44
  system "gem build workarea-product_grid_content.gemspec"
45
+ system "gem push workarea-product_grid_content-#{Workarea::ProductGridContent::VERSION}.gem"
46
46
  system "gem push workarea-product_grid_content-#{Workarea::ProductGridContent::VERSION}.gem --host #{host}"
47
47
  system "rm workarea-product_grid_content-#{Workarea::ProductGridContent::VERSION}.gem"
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module ProductGridContent
3
- VERSION = "1.3.0".freeze
3
+ VERSION = "1.3.1".freeze
4
4
  end
5
5
  end
@@ -35,10 +35,10 @@ module Workarea
35
35
  assert(page.has_selector?('.content-block'))
36
36
 
37
37
  preview_frame = page.find('.content-block__iframe')
38
- switch_to_frame(preview_frame) do |frame|
39
- assert(frame.has_selector?('.grid'))
40
- assert(frame.has_selector?('.grid__cell'), count: Workarea.config.grid_cell_content_preview_cells)
41
- assert(frame.has_selector?('.product-grid-cell-content-block'))
38
+ within_frame(preview_frame) do
39
+ assert(page.has_selector?('.grid'))
40
+ assert(page.has_selector?('.grid__cell'), count: Workarea.config.grid_cell_content_preview_cells)
41
+ assert(page.has_selector?('.product-grid-cell-content-block'))
42
42
  end
43
43
  end
44
44
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-product_grid_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Beresford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-06 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea