adminlte-rails4 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66cd072fb55bb335a43f4e9b573b0c8709bf1d70
4
- data.tar.gz: ca9eda3795f29b9218d8acd1c5d884f2c7acfa29
3
+ metadata.gz: 6ce00ab064f9901d354e7cdcfd37c4fa8fb4eeb7
4
+ data.tar.gz: e5e117a5297843c5ba917dd5492b1109c5968477
5
5
  SHA512:
6
- metadata.gz: 88c628744c9277708d50525eeb53075e586932a158ac08f6a3088757ae095db5362ef85ae5e4c770509197f383a45268dccb9370262bde4d30a060347a92b9a2
7
- data.tar.gz: 9caddab99cea3efca728eadc1e33330bc43662e6b5e3637b6443a39f15378ec53906d3ffb6616cf48b24b91e77aa690b952e78f7f6afcc86c693d6c260a5813a
6
+ metadata.gz: 58d06e7b7d5f27c2c7f8b4ff744512d6d9997364a53e344dab7b37a21c4737050501760f356d4de953b969aa45486784ec99932257155a1c6dfb03f6fcb29c2c
7
+ data.tar.gz: 4d51cb56f2310ec7189b02103ab28495ad301d06b71c73c98cc371799bfa6ff7cd28ea633050d1db92507adec8e6c5501a5796267f8e03956d76a350ad810fbb
@@ -9,7 +9,7 @@ class SourceFile < Thor
9
9
  desc 'clean up assets folders', ' delete fonts, stylesheets, javascripts, images'
10
10
 
11
11
  def cleanup
12
- FileUtils.rm_rf %w(vendor/assets/fonts vendor/assets/images vendor/assets/stylesheets vendor/assets/javascripts)
12
+ FileUtils.rm_rf %w(app/assets/fonts app/assets/images app/assets/stylesheets app/assets/javascripts)
13
13
  end
14
14
 
15
15
  desc 'fetch source files', 'fetch source files from GitHub'
@@ -17,7 +17,7 @@ class SourceFile < Thor
17
17
  def fetch
18
18
  filtered_tags = fetch_tags
19
19
  tag = select('Which tag do you want to fetch?', filtered_tags)
20
- self.destination_root = 'vendor/assets'
20
+ self.destination_root = 'app/assets'
21
21
  remote = 'https://github.com/almasaeed2010/AdminLTE'
22
22
 
23
23
  # Fetch javascripts
@@ -37,7 +37,7 @@ class SourceFile < Thor
37
37
  desc 'convert css to use rails paths', 'make css use rails paths'
38
38
 
39
39
  def convert
40
- self.destination_root = 'vendor/assets'
40
+ self.destination_root = 'app/assets'
41
41
  inside destination_root do
42
42
  #gsub_file 'stylesheets/bootstrap.scss', %r/url\(([^\)]*)\)/, 'image-url(\1)'
43
43
  gsub_file 'stylesheets/bootstrap.scss', %r/url\('(\.\.\/fonts\/)([^\)]*)'\)/, 'url(font-path(\'\2\'))'
@@ -143,4 +143,4 @@ class SourceFile < Thor
143
143
  get "#{icheck_path}/flat/yellow@2x.png", 'stylesheets/iCheck/flat/yellow@2x.png'
144
144
 
145
145
  end
146
- end
146
+ end
@@ -1,5 +1,5 @@
1
1
  module AdminLTE
2
2
  module Rails
3
- VERSION = '1.3.2'
3
+ VERSION = '1.3.3'
4
4
  end
5
- end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adminlte-rails4
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nguyen Ba Dung