designmodo-startup_framework-rails 1.1.3.4 → 1.1.3.5
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/lib/designmodo/startup_framework/rails/version.rb +1 -1
- data/lib/generators/startup_framework/install/install_generator.rb +14 -8
- data/lib/generators/startup_framework/install/templates/startup_framework.js +12 -9
- data/lib/generators/startup_framework/install/templates/startup_framework.less +9 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b95d5d1a708c97f8a7e33038414a6f62065e576a
|
4
|
+
data.tar.gz: ab81aaa4980ca22c71c2c99841bddc3847213830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24a65b3ea633bdcf0f77811e2a665347ab900bccb49b3d15cfd6564df8d845f50e3ec5f5fada931b7c4a74d0e85442df88e41c8908399837c869f795548ce053
|
7
|
+
data.tar.gz: 193d15927b42b289d45a1c38b807adaeb11dddd5922672ec039a94151a087882b5655e53fc6b24091465a4b7b242f5968f1c3cae33bf26aff28f2a5779f1d0d6
|
@@ -11,9 +11,13 @@ module StartupFramework
|
|
11
11
|
|
12
12
|
|
13
13
|
def copy_assets
|
14
|
-
gem_assets_dir = File.expand_path("../../../../../
|
14
|
+
gem_assets_dir = File.expand_path("../../../../../", __FILE__)
|
15
15
|
pro_dir = startup_dir
|
16
16
|
|
17
|
+
|
18
|
+
FileUtils.mkdir_p File.join(gem_assets_dir,"vendor","assets","frameworks","startup-framework")
|
19
|
+
gem_assets_dir = File.join(gem_assets_dir,"vendor","assets","frameworks","startup-framework")
|
20
|
+
|
17
21
|
common_files = "common-files"
|
18
22
|
ui_kit = "ui-kit"
|
19
23
|
|
@@ -24,12 +28,8 @@ module StartupFramework
|
|
24
28
|
raise "Invalid Startup Framework directory"
|
25
29
|
end
|
26
30
|
|
27
|
-
|
28
|
-
directory File.join(pro_dir, common_files
|
29
|
-
directory File.join(pro_dir, common_files,"img"), File.join(gem_assets_dir, "images")
|
30
|
-
directory File.join(pro_dir, common_files,"icons"), File.join(gem_assets_dir, "images")
|
31
|
-
directory File.join(pro_dir, common_files,"css"), File.join(gem_assets_dir, "stylesheets")
|
32
|
-
directory File.join(pro_dir, common_files,"fonts"), File.join(gem_assets_dir, "fonts")
|
31
|
+
#Copy the common-files folder to the gems asset dir
|
32
|
+
directory File.join(pro_dir, common_files), File.join(gem_assets_dir, common_files)
|
33
33
|
|
34
34
|
#Copy the ui-kit folder to the gems asset dir
|
35
35
|
directory File.join(pro_dir, ui_kit), File.join(gem_assets_dir, ui_kit)
|
@@ -42,7 +42,13 @@ module StartupFramework
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def patch_assets
|
45
|
-
gem_assets_dir = File.expand_path("../../../../../
|
45
|
+
gem_assets_dir = File.expand_path("../../../../../vendor/assets/frameworks/startup-framework", __FILE__)
|
46
|
+
|
47
|
+
|
48
|
+
gsub_file File.join(gem_assets_dir, "common-files/less", "icon-font.less"), /\@\{startup\-fontPath\}/, '/assets/startup-framework/common-files/fonts/'
|
49
|
+
gsub_file File.join(gem_assets_dir, "common-files/less", "helper.less"), /url\("\.\.\/fonts\//, '/assets/startup-framework/common-files/fonts/'
|
50
|
+
|
51
|
+
|
46
52
|
end
|
47
53
|
|
48
54
|
end
|
@@ -1,9 +1,12 @@
|
|
1
|
-
//= require jquery
|
2
|
-
//= require bootstrap
|
3
|
-
//= require
|
4
|
-
//= require
|
5
|
-
//= require
|
6
|
-
//= require jquery.
|
7
|
-
//= require
|
8
|
-
//= require
|
9
|
-
//= require
|
1
|
+
//= require jquery
|
2
|
+
//= require twitter/bootstrap
|
3
|
+
//= require bootstrap
|
4
|
+
//= require startup-framework/common-files/js/modernizr.custom
|
5
|
+
//= require startup-framework/common-files/js/page-transitions
|
6
|
+
//= require startup-framework/common-files/js/jquery.scrollTo-1.4.3.1-min
|
7
|
+
//= require startup-framework/common-files/js/jquery.parallax.min
|
8
|
+
//= require startup-framework/common-files/js/easing.min
|
9
|
+
//= require startup-framework/common-files/js/startup-kit
|
10
|
+
//= require startup-framework/common-files/js/jquery.svg.js
|
11
|
+
//= require startup-framework/common-files/js/jquery.svganim
|
12
|
+
//= require startup-framework/common-files/js/jquery.backgroundvideo.min
|
@@ -1,6 +1,9 @@
|
|
1
|
-
@
|
2
|
-
@import '
|
3
|
-
@import '
|
4
|
-
|
5
|
-
@import '
|
6
|
-
@import '
|
1
|
+
@startup-basePath: "/assets/startup-framework/";
|
2
|
+
@import 'variables.less';
|
3
|
+
@import 'mixins.less';
|
4
|
+
|
5
|
+
@import '/startup-framework/common-files/less/mixins.less';
|
6
|
+
@import '/startup-framework/common-files/less/common.less';
|
7
|
+
@import '/startup-framework/common-files/less/navbar.less';
|
8
|
+
@import '/startup-framework/common-files/less/helper.less';
|
9
|
+
@import '/startup-framework/common-files/less/icon-font.less';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: designmodo-startup_framework-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.3.
|
4
|
+
version: 1.1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vertmac
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails-bootstrap
|