designmodo-flatuipro-rails 1.1.3.1 → 1.1.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05e38c8c4ffc458017058c8d9972909523a75261
|
4
|
+
data.tar.gz: c5f74fdbf14c000ad8e7c1dbadfe52ae9b8ffc18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f29939fa37495d9a7ad6ac6dce8fead752fad548b83a2ad11c43426ffdc2000be409fcf200aee18f31f6ed87148dc960a1fa4f30852c89eadd80854a973bec
|
7
|
+
data.tar.gz: fd81be39a3a77e85d9f37cb564f70316a284ecf6879bf116a867023539af3e6407a818df4aaa9eb58eb0e8fe11aa1f5985646da8a511bfc9f6de2aeab10a23b3
|
data/README.md
CHANGED
@@ -46,6 +46,11 @@ If you haven't bought it already, please use my Designmodo Affiliate Link (image
|
|
46
46
|
Thanks [@jehughes](https://github.com/jehughes) for the blog post that inspired me to stop being lazy and write the demo page generator =)
|
47
47
|
|
48
48
|
## Changes
|
49
|
+
#### 1.1.4.0
|
50
|
+
* Support Flat UI Pro 1.1.4
|
51
|
+
* Detect nested Flat-UI-Pro-1.1.4 directory (in Flat UI Pro 1.2.1 download)
|
52
|
+
* Bootstrap 2 only (upcoming 'flatuipro-1.2' branch for Bootstrap 3 version)
|
53
|
+
|
49
54
|
#### 1.1.3.1
|
50
55
|
* Move directory from vendor -> app because of rails 4 (https://github.com/rails/rails/pull/7968)
|
51
56
|
* Ensure all assets are precompiled correctly if so desired
|
@@ -15,6 +15,10 @@ module Flatuipro
|
|
15
15
|
unless File.exist?(File.join(pro_dir, "index.html"))
|
16
16
|
pro_dir = File.join(pro_dir, "HTML/UI")
|
17
17
|
end
|
18
|
+
if File.directory?(File.join(pro_dir, "Flat-UI-Pro-1.1.4"))
|
19
|
+
pro_dir = File.join(pro_dir, "Flat-UI-Pro-1.1.4")
|
20
|
+
end
|
21
|
+
debugger
|
18
22
|
unless File.directory?(pro_dir) && File.exist?(File.join(pro_dir, "index.html"))
|
19
23
|
raise "Invalid Flat UI Pro directory"
|
20
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: designmodo-flatuipro-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Chou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter-bootstrap-rails
|
@@ -62,7 +62,6 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- lib/designmodo/flatuipro/rails/version.rb
|
64
64
|
- lib/designmodo/flatuipro/rails.rb
|
65
|
-
- lib/generators/flatuipro/app_install/app_install_generator.rb
|
66
65
|
- lib/generators/flatuipro/demo/demo_generator.rb
|
67
66
|
- lib/generators/flatuipro/install/install_generator.rb
|
68
67
|
- lib/generators/flatuipro/install/templates/application.css
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require 'rails/generators'
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
module Flatuipro
|
5
|
-
module Generators
|
6
|
-
class AppInstallGenerator < Rails::Generators::Base
|
7
|
-
desc "Install to rails app 'vendor' directory"
|
8
|
-
source_root File.expand_path("../../../../../vendor/assets", __FILE__)
|
9
|
-
|
10
|
-
# Detect if Flat UI Pro assets copied over to gem
|
11
|
-
def check_flatuipro_install
|
12
|
-
unless File.exist?(File.expand_path("../../../../../vendor/assets", __FILE__))
|
13
|
-
raise "Please run install generator first"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def copy_to_vendor
|
18
|
-
directory "fonts", "vendor/assets/fonts"
|
19
|
-
directory "images", "vendor/assets/images"
|
20
|
-
directory "javascripts", "vendor/assets/javascripts"
|
21
|
-
if File.exist?("less")
|
22
|
-
directory "less", "vendor/assets/less"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|