codelation_assets 0.3.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/lib/codelation_assets/version.rb +1 -1
- metadata +2 -3
- data/lib/tasks/compile.rake +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a1d079890929737b3a6ec0fb8b1f857e21e9d6
|
4
|
+
data.tar.gz: 900a2c74873dfcbd6105919a11370af37adbe920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c577e9e4ede904fecfee1004622153f3813f341482320b0ab809689affbb155f498091fee5f58122d98bda31b902b6dcd4733abf1c6c1f906721f3dca4664e3
|
7
|
+
data.tar.gz: 2eb0b031f14ac7357d061f7ff4788340338cb96f0307bba870952a1af8f2b6e54eac971e8de4045487291ea03d3212ddd6751aa000be542cc94057c100d67dbd
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codelation_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pattison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -157,7 +157,6 @@ files:
|
|
157
157
|
- app/assets/stylesheets/codelation/mixins/outer_container.scss
|
158
158
|
- lib/codelation_assets.rb
|
159
159
|
- lib/codelation_assets/version.rb
|
160
|
-
- lib/tasks/compile.rake
|
161
160
|
homepage: https://github.com/codelation/codelation_assets
|
162
161
|
licenses:
|
163
162
|
- MIT
|
data/lib/tasks/compile.rake
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
require "sprockets"
|
2
|
-
require "uglifier"
|
3
|
-
|
4
|
-
desc "Compile the codelation.js file and save to /bower"
|
5
|
-
task :compile do
|
6
|
-
destination = File.expand_path("../../../bower", __FILE__)
|
7
|
-
file = "codelation"
|
8
|
-
|
9
|
-
# Initialize the sprockets environment
|
10
|
-
assets = Sprockets::Environment.new(File.expand_path("../../../", __FILE__))
|
11
|
-
assets.append_path("app/assets/javascripts")
|
12
|
-
|
13
|
-
# Compile bower/codelation.js
|
14
|
-
compiled_js = assets.find_asset(file).to_s
|
15
|
-
File.write(File.join(destination, "#{file}.js"), compiled_js)
|
16
|
-
|
17
|
-
# Compile bower/codelation.min.js
|
18
|
-
minified_js = Uglifier.compile(compiled_js)
|
19
|
-
File.write(File.join(destination, "#{file}.min.js"), minified_js)
|
20
|
-
end
|