arethusa-cli 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc7f357cb5235ac1a8e16c9533872fd408c5243b
4
- data.tar.gz: 827eaef778acb46bd25f15d3ec2b7392ac369878
3
+ metadata.gz: b5c2ac3469acd770f86bb5129dc61fb5aa88f5e9
4
+ data.tar.gz: a9436334a79adc249731d5a827c696db057e61dc
5
5
  SHA512:
6
- metadata.gz: 85dec8a9065456cf09035825f0cf00e74aff9305faac11312e3687fff7d55cf40c337c9d71db5a4338d354404e5ea5d7864db917c0035858ac779640638eb3ba
7
- data.tar.gz: de021d29e50517fe27e6741b4989f2c0a982276d4cc059eadad841fd585a4e71d156bd411b274dca40ffb26b0c0ca86ad4cbd6dbfd4f4ae1ceaa69a00a5f2d43
6
+ metadata.gz: 90e7a1fe4479bfcfe24f45a317901943e072c934d9550d2479e43bf49536d720cf4a6eaa5a3b76d5fbfabe8663bea0f0b7f9e3dbdc82dbc0f955f8e8a085d383
7
+ data.tar.gz: 39fa70bfcf8b020fc89fc0589972eac5127fa37a639e75a5cdb7978dac6a3a6ca3e8edda366190bcde9ec869a55702fe4e46b079bcffaa94c706bf3d7dd3aaa8
@@ -24,8 +24,7 @@ class Arethusa::CLI
24
24
  create_files
25
25
 
26
26
  try('insert module into arethusa', :add_module)
27
- try('add minification routine', :add_minification)
28
- try('add minification task', :add_minification_task)
27
+ try('add to Gruntfile', :add_to_gruntfile)
29
28
  try('add module to index.html', :add_to_index)
30
29
 
31
30
  commit_changes if options[:commit]
@@ -113,15 +112,9 @@ class Arethusa::CLI
113
112
  js_dir('arethusa.js')
114
113
  end
115
114
 
116
- def add_minification
117
- insert_into_file(gruntfile, after: /pluginFiles\(.*?core.*?\).*?\n/, force: false) do
118
- %[ #{name(true)}: { files: pluginFiles('#{namespaced_name}') },\n]
119
- end
120
- end
121
-
122
- def add_minification_task
123
- insert_into_file(gruntfile, after: /registerTask\('minify.*?\n/, force: false) do
124
- %{ 'uglify:#{name(true)}',\n}
115
+ def add_to_gruntfile
116
+ insert_into_file(gruntfile, after: /var arethusaModules.*?\n/, force: false) do
117
+ %[ "#{namespaced_name}",\n]
125
118
  end
126
119
  end
127
120
 
@@ -1,5 +1,5 @@
1
1
  module Arethusa
2
2
  class CLI
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arethusa-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LFDM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler