jekyll-js-converter 1.1.0 → 1.1.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: 46e4f09c7076cad7fb5dfc7c811e826cce1ad8358db66f3bb3e99a85577ca4ab
4
- data.tar.gz: cc313145326fd00006785f91df5f3fd7277c5f97b5fba35e2fe8e66edc50ce97
3
+ metadata.gz: 3266db8f045c5dfc168d25c41ae37cf094c3d6dbe8ffaa4b2ddf90547f486919
4
+ data.tar.gz: 7630aac486970cfea70a9b3f3b721973113ada5c4a2c8ad5c6e3e6c38c050977
5
5
  SHA512:
6
- metadata.gz: f3c7dfac1fd68634f4e0a6ade3a6429127e9e183a752e2f06a0cec311c989fecb82d14c6d4c0a3df5840131000e4ca68b51f672d2acbe5f082e66cc51aeb66ef
7
- data.tar.gz: fe2e8bd2d8a2b7cbccfbd7d2f03d3ed38951268fafc5131d18a4688f284cdce9e87e030920660fb23ff2722788e888443a0f0aca42eb4e39ec21dccaee26f20a
6
+ metadata.gz: b23f80a19d6ab045ca681cd9ac9037dcab4fae1df175fc2f53e02a24c7be3e0d32a5e770d42cd0955c02f667d7d9254c13ff971a19f970e07471c2f245bf89cf
7
+ data.tar.gz: 1f7897defebc0406b5af04d17c63dd02a2e9535e5195575c9897862bc69004ccc20c908e72b7e4c5fb78418d28fc5ccadce686ecba6150d64afb02a9d6cf87f8
@@ -70,18 +70,16 @@ module Jekyll
70
70
 
71
71
  def convert(content)
72
72
  if generate_source_map?
73
- config = Jekyll::Utils.symbolize_hash_keys(
74
- Jekyll::Utils.deep_merge_hashes(
75
- { :uglifier => {
76
- :source_map => {
77
- :map_url => @source_map_page.name,
78
- :sources_content => true,
79
- :filename => @page.name
80
- }
73
+ config = Jekyll::Utils.deep_merge_hashes(
74
+ { :uglifier => {
75
+ :source_map => {
76
+ :map_url => @source_map_page.name,
77
+ :sources_content => true,
78
+ :filename => @page.name
81
79
  }
82
- },
83
- javascript_config
84
- )
80
+ }
81
+ },
82
+ javascript_config
85
83
  )
86
84
 
87
85
  uglified, source_map = Uglifier.new(config[:uglifier]).compile_with_map(insert_imports(content))
@@ -91,11 +89,9 @@ module Jekyll
91
89
 
92
90
  uglified
93
91
  else
94
- config = Jekyll::Utils.symbolize_hash_keys(
95
- Jekyll::Utils.deep_merge_hashes(
96
- { :uglifier => {} },
97
- javascript_config
98
- )
92
+ config = Jekyll::Utils.deep_merge_hashes(
93
+ { :uglifier => {} },
94
+ javascript_config
99
95
  )
100
96
 
101
97
  Uglifier.new(config[:uglifier]).compile(insert_imports(content))
@@ -1,3 +1,3 @@
1
1
  module JekyllJsConverter
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-js-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Susco