designmodo-startup_framework-rails 1.1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 86591a3f760168366ae5898c0cdecbc9edc79698
4
+ data.tar.gz: 2f9937697159d5aa3f320cbe3e7c1976fed5f603
5
+ SHA512:
6
+ metadata.gz: bdab15081e1afa33429b67f89d50164dc40b8dabf5f4e4cbc4ffdbf2fc4d3a6ac4f858476733b9217fdf120e5636458eb2fc3cc12ebce5b533e622b916625c3b
7
+ data.tar.gz: 48bdc6d41779294e5d9cbe723358963405ceafd2c44d6b1df8ee68d324e9d4dd2cc4826b3bd79d514d7e7d5f2a35bf44196568750e7fdae5cf7f4add71210b6d
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013, Vertmac
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+ 2. Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+
2
+
3
+ This gem integrates Designmodo's Startup Framework into the Rails 3 and 4 Asset Pipeline.
4
+
5
+ You **must** purchase and download a licensed copy to use this gem (none of the assets are packaged per Flat UI Pro license). You may do so by clicking the above image (full disclosure: affiliate link).
6
+
7
+ The version major and minors should match the Startup Framework version. Anything after these are gem versions.
8
+
9
+ ## Installation
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) If you need Flat UI Pro components, please install [designmodo-flatuipro-rails].
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ gem 'designmodo-startup_framework-rails', '~> 1.1.3'
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+
21
+ ### Install Generator
22
+ One **must** run this after install *and* after update of designmodo-startup_framework-rails gem:
23
+
24
+ $ rails generate startup_framework:install <Startup Framework Directory>
25
+
26
+ ### Include in your less file
27
+ If you want to integrate the framework page:
28
+
29
+ @include 'startup_framework.less'
30
+
31
+
32
+
33
+ ## Usage
34
+ After running the install generator, all assets should be setup.
35
+
36
+ ## Thanks
37
+ If you haven't bought it already, please buy from designmodo.
38
+
39
+
40
+ ## Contributing
41
+
42
+ 1. Fork it
43
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
44
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
45
+ 4. Push to the branch (`git push origin my-new-feature`)
46
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,17 @@
1
+ require "designmodo/startup_framework/rails/version"
2
+
3
+ module Designmodo
4
+ module StartupFramework
5
+ module Rails
6
+ class Engine < ::Rails::Engine
7
+ initializer 'designmodo-startup_framework-rails.setup',
8
+ :after => 'less-rails.after.load_config_initializers',
9
+ :group => :all do |app|
10
+ if defined?(Less)
11
+ app.config.less.paths << File.join(config.root, 'app', 'less')
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,7 @@
1
+ module Designmodo
2
+ module StartupFramework
3
+ module Rails
4
+ VERSION = "1.1.3.1"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,50 @@
1
+ require 'rails/generators'
2
+ require 'pathname'
3
+
4
+ module StartupFramework
5
+ module Generators
6
+ class InstallGenerator < Rails::Generators::Base
7
+ desc "Copies licensed Startup Framework files to designmodo-startup_framework-rails gem."
8
+ argument :startup_dir, :type => :string, :banner => "<Licensed Startup Framework directory>"
9
+ source_root File.expand_path("../templates", __FILE__)
10
+
11
+ @common_files = 'common-files'
12
+ @ui_kit = 'ui-kit'
13
+
14
+ def copy_assets
15
+ gem_assets_dir = File.expand_path("../../../../../app/assets", __FILE__)
16
+ pro_dir = startup_dir
17
+
18
+
19
+
20
+ if File.directory?(File.join(pro_dir, "Developer"))
21
+ pro_dir = File.join(pro_dir, "Developer")
22
+ end
23
+ unless File.directory?(pro_dir) && File.directory?(File.join(pro_dir, @ui_kit))
24
+ raise "Invalid Startup Framework directory"
25
+ end
26
+
27
+ directory File.join(pro_dir, @common_files,"less"), File.join(gem_assets_dir, "less")
28
+ directory File.join(pro_dir, @common_files,"js"), File.join(gem_assets_dir, "javascripts")
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")
33
+
34
+ #Copy the ui-kit folder to the gems asset dir
35
+ directory File.join(pro_dir, @ui_kit), File.join(gem_assets_dir, @ui_kit)
36
+
37
+ end
38
+
39
+ def add_assets
40
+ copy_file "startup_framework.js", "app/assets/javascripts/startup_framework.js"
41
+ copy_file "startup_framework.less", "app/assets/stylesheets/startup_framework.less"
42
+ end
43
+
44
+ def patch_assets
45
+ gem_assets_dir = File.expand_path("../../../../../app/assets", __FILE__)
46
+ end
47
+
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,9 @@
1
+ //= require jquery-rails
2
+ //= require bootstrap.min
3
+ //= require modernizr.custom
4
+ //= require page-transitions
5
+ //= require jquery.scrollTo-1.4.3.1-min
6
+ //= require jquery.parallax.min
7
+ //= require easing.min
8
+ //= require jquery.svg
9
+ //= require jquery.backgroundvideo.min
@@ -0,0 +1,6 @@
1
+ @import '@mixins.less';
2
+ @import '@common.less';
3
+ @import '@navbar.less';
4
+ @import '@helper.less';
5
+ @import '@icon-font.less';
6
+ @import '@gallery.less';
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: designmodo-startup_framework-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.3.1
5
+ platform: ruby
6
+ authors:
7
+ - Vertmac
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-05-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: less-rails-bootstrap
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.2.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.2.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: jquery-ui-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 4.0.3
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 4.0.3
55
+ description: designmodo-startup_framework-rails integrates Flat UI Pro for Rails 3
56
+ and 4 Asset Pipelines
57
+ email:
58
+ - info@vertmac.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - LICENSE.txt
64
+ - README.md
65
+ - Rakefile
66
+ - lib/designmodo/startup_framework/rails.rb
67
+ - lib/designmodo/startup_framework/rails/version.rb
68
+ - lib/generators/startup_framework/install/install_generator.rb
69
+ - lib/generators/startup_framework/install/templates/startup_framework.js
70
+ - lib/generators/startup_framework/install/templates/startup_framework.less
71
+ homepage: https://github.com/reflection/designmodo-startup_framework-rails
72
+ licenses:
73
+ - Simplified BSD
74
+ metadata: {}
75
+ post_install_message: |-
76
+ **********************************************
77
+
78
+ One *must* run `rails generate startup_framework:install <Startup Framework Directory>`
79
+ when gem updated
80
+
81
+ **********************************************
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.2.2
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Startup Framework for Rails 3 and 4 Asset Pipelines
101
+ test_files: []