bootstrap-email 1.0.0.alpha1.1 → 1.0.0.alpha1.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: e24aee0c8377f6497e1e0598262cc39e65eb07cc6aa520c5b644d5e5507d712e
4
- data.tar.gz: 4bc3678c69852ae32fa1533bd8fef2eb5f4ad9fab2f7ecac5a171db2a1a6c0c9
3
+ metadata.gz: dff167ba86e6d966e96d13e01988af9c06a734b2f7bef9fd9c67dac20ba97d72
4
+ data.tar.gz: 3a9c52a5b39f2c6a18c0b4e646eedf24c3051eef56a168d3c8fb18ece7daa92a
5
5
  SHA512:
6
- metadata.gz: 75bb3a64345077bd4e4621106efa1a89b7df1237b4f492d77db28fc88a2b17eb24b1b2a1ba3e6bdf52fface8c4fef64e0f3580fa141b915365ca1e0182ce7cfb
7
- data.tar.gz: a030f98e7ae7c5f26bdc2fa2f31dce874ab94859a3e5ea0d61eaf1703694a8a3be3caa14559d8b0fda9f42afa03fff2bdff0a1409f650c6b85014406e89bbc41
6
+ metadata.gz: 8ce16ed9d76b94341b7ee39ac4633133d4dc70fa9d2a4952cdef848c61601006bee71452aff8fa9959e303c7970d3e96072459e1d7708bd6d259be2eb36aa6fa
7
+ data.tar.gz: 03b4b339a9c43b802b93e8d71dd8c5465ba0e085fc9a28063e09c75ed127adefa02b8f6f1e56b06b455c776cea23f74566e09706fac5333ba440defb5067cc94
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha1.1
1
+ 1.0.0.alpha1.2
@@ -76,12 +76,13 @@ if input
76
76
 
77
77
  puts "Compiling file #{path}"
78
78
  compiled = BootstrapEmail::Compiler.new(path, type: :file, options: {config_path: options[:config]}).perform_full_compile
79
- FileUtils.mkdir_p("#{Dir.pwd}/#{options[:destination]}")
80
- File.write(File.expand_path("#{options[:destination]}/#{path.split('/').last}", Dir.pwd), compiled)
79
+ destination = options[:destination].chomp('/*')
80
+ FileUtils.mkdir_p("#{Dir.pwd}/#{destination}")
81
+ File.write(File.expand_path("#{destination}/#{path.split('/').last}", Dir.pwd), compiled)
81
82
  end
82
83
  when :file
83
84
  path = File.expand_path(input, Dir.pwd)
84
- puts BootstrapEmail::Compiler.new(File.join(Dir.pwd, path), type: :file, options: {config_path: options[:config]}).perform_full_compile
85
+ puts BootstrapEmail::Compiler.new(path, type: :file, options: {config_path: options[:config]}).perform_full_compile
85
86
  when :string
86
87
  puts BootstrapEmail::Compiler.new(input, options: {config_path: options[:config]}).perform_full_compile
87
88
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha1.1
4
+ version: 1.0.0.alpha1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Yamartino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri