designmodo-flatuipro-rails 1.2.2.0.branch → 1.2.4.0.branch
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 +4 -4
- data/README.md +12 -4
- data/lib/designmodo/flatuipro/rails/version.rb +1 -1
- data/lib/generators/flatuipro/install/install_generator.rb +3 -3
- data/lib/generators/flatuipro/install/templates/application.js +1 -12
- data/lib/generators/flatuipro/install/templates/flatuipro.js +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8b4d51176bd849867eac495feb10f1352a8a3f4
|
4
|
+
data.tar.gz: 8cf18d0349a5de8bae523794e945f2025013ce31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b45fa317914503fc69992c211c33f34b0b23f34e297c6a2986d3470a19e252f950e573e21814f936ae7d089a4d301389157318dc647f5f8452c82756c0b09c
|
7
|
+
data.tar.gz: 99774b0d8a141bcb1b22d5f3ddcf06f0afe886a97403356a608dd8a3f26eb14c6b6902283e19c46da57ab1f9ace4a18e9de614ba19a0ec1d7a3ffa5737b0afb7
|
data/README.md
CHANGED
@@ -7,11 +7,11 @@ You **must** purchase and download a licensed copy to use this gem (none of the
|
|
7
7
|
The version major and minors should match the Flat UI Pro version. Anything after these are gem versions.
|
8
8
|
|
9
9
|
## Installation
|
10
|
-
First install and configure dependencies: [
|
10
|
+
First install and configure dependencies: [less-rails-bootstrap](https://github.com/metaskills/less-rails-bootstrap) and [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) .
|
11
11
|
|
12
12
|
Add this line to your application's Gemfile:
|
13
13
|
|
14
|
-
gem 'designmodo-flatuipro-rails', '~> 1.2.
|
14
|
+
gem 'designmodo-flatuipro-rails', '~> 1.2.4.0.branch'
|
15
15
|
|
16
16
|
And then execute:
|
17
17
|
|
@@ -19,7 +19,7 @@ And then execute:
|
|
19
19
|
|
20
20
|
Or install it yourself as:
|
21
21
|
|
22
|
-
$ gem install designmodo-flatuipro-rails
|
22
|
+
$ gem install designmodo-flatuipro-rails -v 1.2.4.0.branch
|
23
23
|
|
24
24
|
### Install Generator
|
25
25
|
One **must** run this after install *and* after update of designmodo-flatuipro-rails gem:
|
@@ -44,9 +44,17 @@ If you haven't bought it already, please use my Designmodo Affiliate Link (image
|
|
44
44
|
Thanks [@jehughes](https://github.com/jehughes) for the blog post that inspired me to stop being lazy and write the demo page generator =)
|
45
45
|
|
46
46
|
## Changes
|
47
|
+
#### 1.2.4.0.branch
|
48
|
+
* Detect Flat-UI-Pro-1.2.4 directory
|
49
|
+
* Change bootstrap 3 rails gem dependency from bootstrap-on-rails -> less-rails-bootstrap
|
50
|
+
* Flat UI Pro 1.2.4 changes
|
51
|
+
* switch.less patch fix because of newline change (\n to \r\n)
|
52
|
+
* bootstrap-typeahead.js -> typeahead.js
|
53
|
+
|
47
54
|
#### 1.2.2.0.branch
|
48
55
|
* Detect Flat-UI-Pro-1.2.2 directory
|
49
56
|
* Everything else seems to still work =)
|
57
|
+
|
50
58
|
#### 1.2.1.0.branch
|
51
59
|
* Git branch (flatuipro-1.2) and gem release for people who want to use Bootstrap 3
|
52
60
|
* Rails bootstrap gem changed: _twitter-bootstrap-rails_ -> _bootstrap-on-rails_
|
@@ -57,4 +65,4 @@ Thanks [@jehughes](https://github.com/jehughes) for the blog post that inspired
|
|
57
65
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
58
66
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
59
67
|
4. Push to the branch (`git push origin my-new-feature`)
|
60
|
-
5. Create new Pull Request
|
68
|
+
5. Create new Pull Request
|
@@ -15,8 +15,8 @@ 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.2.
|
19
|
-
pro_dir = File.join(pro_dir, "Flat-UI-Pro-1.2.
|
18
|
+
if File.directory?(File.join(pro_dir, "Flat-UI-Pro-1.2.4"))
|
19
|
+
pro_dir = File.join(pro_dir, "Flat-UI-Pro-1.2.4")
|
20
20
|
end
|
21
21
|
unless File.directory?(pro_dir) && File.exist?(File.join(pro_dir, "index.html"))
|
22
22
|
raise "Invalid Flat UI Pro directory"
|
@@ -90,7 +90,7 @@ module Flatuipro
|
|
90
90
|
# Create LESS variable and interpolate into .mask(~"")
|
91
91
|
switch_file = File.join(gem_assets_dir, "less/modules", "switch.less")
|
92
92
|
mask_image_url = "@mask-image-url: image-url('switch/mask.png');\n"
|
93
|
-
insert_into_file switch_file, mask_image_url, :before => ".has-switch {
|
93
|
+
insert_into_file switch_file, mask_image_url, :before => ".has-switch {"
|
94
94
|
gsub_file switch_file, /url\('\.\.\/images\/.+?\)/, "@{mask-image-url}"
|
95
95
|
|
96
96
|
# icon-font.less
|
@@ -20,16 +20,5 @@
|
|
20
20
|
//= require jquery_ujs
|
21
21
|
//= require flatuipro
|
22
22
|
//= require turbolinks
|
23
|
-
//= require bootstrap
|
24
|
-
//= require bootstrap/alert
|
25
|
-
//= require bootstrap/button
|
26
|
-
//= require bootstrap/carousel
|
27
|
-
//= require bootstrap/collapse
|
28
|
-
//= require bootstrap/dropdown
|
29
|
-
//= require bootstrap/modal
|
30
|
-
//= require bootstrap/tooltip
|
31
|
-
//= require bootstrap/popover
|
32
|
-
//= require bootstrap/scrollspy
|
33
|
-
//= require bootstrap/tab
|
34
|
-
//= require bootstrap/transition
|
23
|
+
//= require twitter/bootstrap
|
35
24
|
//= require_tree .
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: designmodo-flatuipro-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4.0.branch
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Chou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: less-rails-bootstrap
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - '>='
|