codelation_assets 0.3.9 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f6a7da0294a96ab081cecb2d4729261e4427cda
4
- data.tar.gz: 1a31d329ad4afd38e0aa236ab3ddd90238b8425c
3
+ metadata.gz: 17a1d079890929737b3a6ec0fb8b1f857e21e9d6
4
+ data.tar.gz: 900a2c74873dfcbd6105919a11370af37adbe920
5
5
  SHA512:
6
- metadata.gz: 1289853289d9af5242c6b3487736e128422a51843d8cffce099bd99097a47ef011adb22d23fda5c7baf08dd78b18c18e70407261bf846654a3f87d00364563a1
7
- data.tar.gz: 991f302ea3477dbb9c1ab6a313cfadf645c0972931097d91a7af75888b927ebea212d96ed5c59ffda9fe1473560e349c4d6ce1e3ef862f7c303cf32115205c61
6
+ metadata.gz: 1c577e9e4ede904fecfee1004622153f3813f341482320b0ab809689affbb155f498091fee5f58122d98bda31b902b6dcd4733abf1c6c1f906721f3dca4664e3
7
+ data.tar.gz: 2eb0b031f14ac7357d061f7ff4788340338cb96f0307bba870952a1af8f2b6e54eac971e8de4045487291ea03d3212ddd6751aa000be542cc94057c100d67dbd
data/Rakefile CHANGED
@@ -6,5 +6,3 @@ end
6
6
 
7
7
  Bundler.require
8
8
  Dir[File.join(File.dirname(__FILE__), "lib/tasks/**/*.rake")].each {|f| load f }
9
-
10
- task default: "compile"
@@ -1,3 +1,3 @@
1
1
  module CodelationAssets
2
- VERSION = "0.3.9".freeze
2
+ VERSION = "0.4.0".freeze
3
3
  end
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.3.9
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-04-25 00:00:00.000000000 Z
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
@@ -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