bridgetown_theme_single_page_opt_in 0.1.1 → 0.1.2

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: 9710f9c05c6b80351bfde5f4ab3aa7b5724a6a47efd8f5e4cf695f23bc1943c4
4
- data.tar.gz: 4a2de024f3bca66a8dc9df61de62252be0517d2cbfd221cf40070e118096d6ee
3
+ metadata.gz: dcc539e791e184c5b3d52fca4a8eceb70e79228ee031e4db08aed5da3f9d0443
4
+ data.tar.gz: d6432d59f4203bde713afaad2fffe757d3a9a08b6da3c37d4dfa2d0206eb8896
5
5
  SHA512:
6
- metadata.gz: bdfb7cec85ec267bd11ac6c117ba6efb52fcb0e5ee3fec8b1ec9a31686665e010a5184047065b16ca226c19b975370e48f33e329af6ac1120abe11644b9c46ec
7
- data.tar.gz: cf41b7453d9cb13a2cad4cb8e04e474e9d42348804b3981ac492fcafe5a9ed9a2e62954e8408f9142840d1d51e51a61657bcd027ac9486287941dc97aa161207
6
+ metadata.gz: 579985aeeaa3c19d89db6f13a9fb478b9c349732a6675ceba68ebcb5c151c7c77cb33e682deafe2a4ef44013588d804f9bad0f7a9916f02ea6e4fbded39cb181
7
+ data.tar.gz: cb8564e03438cbe0c70927984f10b89a77922ec558a0308026796cef175a0d4fe5f33945df8e5c35a672b097f908bf109522ae3d7274cf5d44f2317dc702b57b
@@ -1,9 +1,12 @@
1
- gsub_file("config/initializers", "end", "init :bridgetown_theme_single_page_opt_in\nend")
1
+ add_gem("bridgetown_theme_single_page_opt_in")
2
2
 
3
- append_to_file "frontend/styles/index.css" do
3
+ gsub_file("config/initializers.rb", /^((?!#.)end)/, " init :bridgetown_theme_single_page_opt_in\nend")
4
+
5
+ prepend_to_file "frontend/styles/index.css" do
4
6
  "@import \"bridgetown_theme_single_page_opt_in/frontend/styles/index.css\";"
7
+ # "@import url("./lander.css");"
5
8
  end
6
9
 
7
- copy_file("spoi_data/data/1_top_banner.yml", "src/_data/1_top_banner.yml")
10
+ # copy_file("spoi_data/data/1_top_banner.yml", "src/_data/1_top_banner.yml")
8
11
 
9
12
  # Read the Automations documentation: https://www.bridgetownrb.com/docs/automations
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SinglePageOptInTheme
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -22,6 +22,6 @@ Bridgetown.initializer :bridgetown_theme_single_page_opt_in do |config|
22
22
  components: File.expand_path("../components", __dir__),
23
23
  layouts: File.expand_path("../layouts", __dir__),
24
24
  content: File.expand_path("../content", __dir__),
25
- spoi_data: File.expand_path("../data", __dir__)
25
+ data: File.expand_path("../data", __dir__)
26
26
  )
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown_theme_single_page_opt_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - graial