theme-check 0.7.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbaabfa5164c15e0044073e62b846a2ec063f624ed7b4ffcef258391d5174988
|
4
|
+
data.tar.gz: d6391abfd933a518ccc4cd0fa6a359022bd12cbf26f7966cca4db46f4c7c3906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 220efb59f50619efdf330ce4b97757cf072752ee543238cd0caa1da0e873da513ad62edc54cf711a7cfaa2b200c32f545740a4034661800ff07932b66cb74f1a
|
7
|
+
data.tar.gz: a2860be5d8fb053123055b77cb5040bdf68fbf6ec851446b10aa6161d45ddec2b8ff6e101771f74b29758f5924f15682303e120d7b457e721e492c53922abb06
|
data/CHANGELOG.md
CHANGED
@@ -24,7 +24,7 @@ module ThemeCheck
|
|
24
24
|
'shopify_asset_url',
|
25
25
|
]
|
26
26
|
|
27
|
-
RESOURCE_TAG =
|
27
|
+
RESOURCE_TAG = %r{<(?<tag_name>img|script|link|source)#{HTML_ATTRIBUTES}/?>}oim
|
28
28
|
RESOURCE_URL = /\s(?:src|href)=(?<resource_url>#{QUOTED_LIQUID_ATTRIBUTE})/oim
|
29
29
|
ASSET_URL_FILTER = /[\|\s]*(#{ASSET_URL_FILTERS.join('|')})/omi
|
30
30
|
PROTOCOL = %r{(https?:)?//}
|
data/lib/theme_check/packager.rb
CHANGED
@@ -24,7 +24,7 @@ module ThemeCheck
|
|
24
24
|
puts "Grabbing sha256 checksum from Rubygems.org"
|
25
25
|
require 'digest/sha2'
|
26
26
|
require 'open-uri'
|
27
|
-
gem_checksum = open("https://rubygems.org/downloads/theme-check-#{ThemeCheck::VERSION}.gem") do |io|
|
27
|
+
gem_checksum = URI.open("https://rubygems.org/downloads/theme-check-#{ThemeCheck::VERSION}.gem") do |io|
|
28
28
|
Digest::SHA256.new.hexdigest(io.read)
|
29
29
|
end
|
30
30
|
|
data/lib/theme_check/version.rb
CHANGED
@@ -13,7 +13,7 @@ class ThemeCheck < Formula
|
|
13
13
|
class RubyGemsDownloadStrategy < AbstractDownloadStrategy
|
14
14
|
include RubyBin
|
15
15
|
|
16
|
-
def fetch
|
16
|
+
def fetch(_timeout: nil, **_options)
|
17
17
|
ohai("Fetching theme-check from gem source")
|
18
18
|
cache.cd do
|
19
19
|
ENV['GEM_SPEC_CACHE'] = "#{cache}/gem_spec_cache"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-André Cournoyer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|