lalala 4.1.0.dev.397 → 4.1.0.dev.398
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/generators/lalala/assets/assets_generator.rb +0 -47
- data/lib/generators/lalala/install/templates/locales/en.yml +0 -3
- data/lib/lalala/version.rb +1 -1
- metadata +2 -13
- data/lib/generators/lalala/assets/templates/.bowerrc +0 -4
- data/lib/generators/lalala/assets/templates/.jshintrc +0 -6
- data/lib/generators/lalala/assets/templates/_keyframes.css.scss +0 -15
- data/lib/generators/lalala/assets/templates/_mixins.css.scss +0 -28
- data/lib/generators/lalala/assets/templates/_variables.css.scss +0 -8
- data/lib/generators/lalala/assets/templates/application.css.scss +0 -8
- data/lib/generators/lalala/assets/templates/application.js +0 -17
- data/lib/generators/lalala/assets/templates/bower.json.erb +0 -12
- data/lib/generators/lalala/assets/templates/hello-world.module.js +0 -7
- data/lib/generators/lalala/assets/templates/initializer.module.js +0 -3
- data/lib/generators/lalala/assets/templates/modernizr.js +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dff226c25d94cd97872ebc335ffa8e55082ec341
|
|
4
|
+
data.tar.gz: bebf4ff0a7d619b26db65511007b28293e68af7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f42b59bad406ae7a9a999333ae2b29e06cc71f1d18cfafe7b0def769c57bef60bfcada4d671b3977e7419b173849df98c9b3787e4954e4bd434b9aa6bb5e55e6
|
|
7
|
+
data.tar.gz: 33e83ef6a317d14121d0197346b1fc42ddc7674bf835daa4087e796e1c4c614bf592b4ba7aaab6fa58557f92d3f9b2420bbac62edca4dd513b98a669b154e838
|
|
@@ -14,56 +14,9 @@ module Lalala
|
|
|
14
14
|
template 'active_admin.css.scss', 'app/assets/stylesheets/active_admin.css.scss'
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def setup_bower
|
|
18
|
-
copy_file ".bowerrc", ".bowerrc"
|
|
19
|
-
template "bower.json.erb", "app/assets/bower.json"
|
|
20
|
-
|
|
21
|
-
gsub_file "config/application.rb", / config.assets.version = '1.0'/, <<-HEREDOC
|
|
22
|
-
config.assets.version = '1.0'
|
|
23
|
-
|
|
24
|
-
config.assets.paths << Rails.root.join('vendor', 'assets', 'components')
|
|
25
|
-
|
|
26
|
-
config.assets.initialize_on_precompile = false
|
|
27
|
-
HEREDOC
|
|
28
|
-
|
|
29
|
-
append_file(".gitignore", <<-HEREDOC
|
|
30
|
-
/public/uploads
|
|
31
|
-
.DS_Store
|
|
32
|
-
HEREDOC
|
|
33
|
-
)
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def setup_javascripts
|
|
37
|
-
copy_file ".jshintrc", ".jshintrc"
|
|
38
|
-
remove_file "app/assets/javascripts/application.js"
|
|
39
|
-
copy_file "application.js", "app/assets/javascripts/application.js"
|
|
40
|
-
copy_file "modernizr.js", "app/assets/javascripts/modernizr.js"
|
|
41
|
-
empty_directory "app/assets/javascripts/modules"
|
|
42
|
-
copy_file "initializer.module.js", "app/assets/javascripts/modules/initializer.module.js"
|
|
43
|
-
copy_file "hello-world.module.js", "app/assets/javascripts/modules/hello-world.module.js"
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
def setup_stylesheets
|
|
47
|
-
remove_file "app/assets/stylesheets/application.css"
|
|
48
|
-
copy_file "application.css.scss", "app/assets/stylesheets/application.css.scss"
|
|
49
|
-
empty_directory "app/assets/stylesheets/base"
|
|
50
|
-
empty_directory "app/assets/stylesheets/modules"
|
|
51
|
-
|
|
52
|
-
copy_file "_variables.css.scss", "app/assets/stylesheets/base/_variables.css.scss"
|
|
53
|
-
copy_file "_mixins.css.scss", "app/assets/stylesheets/base/_mixins.css.scss"
|
|
54
|
-
copy_file "_keyframes.css.scss", "app/assets/stylesheets/base/_keyframes.css.scss"
|
|
55
|
-
create_file "app/assets/stylesheets/base/_fonts.css.scss"
|
|
56
|
-
create_file "app/assets/stylesheets/base/_base.css.scss"
|
|
57
|
-
end
|
|
58
|
-
|
|
59
17
|
def add_humans_txt
|
|
60
18
|
copy_file "humans.txt", "public/humans.txt"
|
|
61
19
|
end
|
|
62
|
-
|
|
63
|
-
def run_bower
|
|
64
|
-
run('bower install')
|
|
65
|
-
end
|
|
66
|
-
|
|
67
20
|
end
|
|
68
21
|
end
|
|
69
22
|
end
|
data/lib/lalala/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lalala
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.0.dev.
|
|
4
|
+
version: 4.1.0.dev.398
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Menke
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2015-
|
|
16
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: activeadmin
|
|
@@ -1394,20 +1394,9 @@ files:
|
|
|
1394
1394
|
- lib/formtastic/inputs/multiple_files_input.rb
|
|
1395
1395
|
- lib/formtastic/inputs/single_file_input.rb
|
|
1396
1396
|
- lib/generators/lalala/assets/assets_generator.rb
|
|
1397
|
-
- lib/generators/lalala/assets/templates/.bowerrc
|
|
1398
|
-
- lib/generators/lalala/assets/templates/.jshintrc
|
|
1399
|
-
- lib/generators/lalala/assets/templates/_keyframes.css.scss
|
|
1400
|
-
- lib/generators/lalala/assets/templates/_mixins.css.scss
|
|
1401
|
-
- lib/generators/lalala/assets/templates/_variables.css.scss
|
|
1402
1397
|
- lib/generators/lalala/assets/templates/active_admin.css.scss
|
|
1403
1398
|
- lib/generators/lalala/assets/templates/active_admin.js
|
|
1404
|
-
- lib/generators/lalala/assets/templates/application.css.scss
|
|
1405
|
-
- lib/generators/lalala/assets/templates/application.js
|
|
1406
|
-
- lib/generators/lalala/assets/templates/bower.json.erb
|
|
1407
|
-
- lib/generators/lalala/assets/templates/hello-world.module.js
|
|
1408
1399
|
- lib/generators/lalala/assets/templates/humans.txt
|
|
1409
|
-
- lib/generators/lalala/assets/templates/initializer.module.js
|
|
1410
|
-
- lib/generators/lalala/assets/templates/modernizr.js
|
|
1411
1400
|
- lib/generators/lalala/install/install_generator.rb
|
|
1412
1401
|
- lib/generators/lalala/install/templates/active_admin.rb.erb
|
|
1413
1402
|
- lib/generators/lalala/install/templates/admin_pages.rb
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Gray shorthand
|
|
3
|
-
//
|
|
4
|
-
// @param value (0..255)
|
|
5
|
-
// @param transparency (0..1)
|
|
6
|
-
//
|
|
7
|
-
// example:
|
|
8
|
-
// body { color: gray(50); } => rgba(50,50,50, 1)
|
|
9
|
-
// body { background-color: gray(150, 0.5); } => rgba(150,150,150, 0.5)
|
|
10
|
-
//
|
|
11
|
-
@function gray($value, $transparency: 1) {
|
|
12
|
-
@return rgba($value, $value, $value, $transparency);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//
|
|
17
|
-
// Spiderman is a mixin to position absolute an element in another
|
|
18
|
-
// element top to bottom, left to right
|
|
19
|
-
//
|
|
20
|
-
// @param $offset Offset from the edge
|
|
21
|
-
//
|
|
22
|
-
@mixin spiderman($offset: 0) {
|
|
23
|
-
bottom: $offset;
|
|
24
|
-
left: $offset;
|
|
25
|
-
position: absolute;
|
|
26
|
-
right: $offset;
|
|
27
|
-
top: $offset;
|
|
28
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// the compiled file.
|
|
9
|
-
//
|
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
|
12
|
-
//
|
|
13
|
-
//= require jquery/dist/jquery
|
|
14
|
-
//
|
|
15
|
-
//= require_tree ./modules
|
|
16
|
-
|
|
17
|
-
require('modules/initializer');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%= Rails.application.class.name.split("::").first.underscore %>",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"main": "javascripts/application.js",
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"jquery": "~1",
|
|
8
|
-
"modernizr": "~2.7.1",
|
|
9
|
-
"respond": "~1.4.2",
|
|
10
|
-
"normalize-scss": "~2.1.3"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// the compiled file.
|
|
9
|
-
//
|
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
|
12
|
-
//
|
|
13
|
-
//= require modernizr/modernizr
|
|
14
|
-
//= require respond/src/respond
|