picky-client 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/picky-client/tasks/javascripts.rb +2 -1
- metadata +2 -2
@@ -14,7 +14,8 @@ module Picky
|
|
14
14
|
#
|
15
15
|
class Javascripts
|
16
16
|
|
17
|
-
define_method :initialize do |
|
17
|
+
define_method :initialize do |*args|
|
18
|
+
target = args.shift || 'javascripts'
|
18
19
|
desc "Copy the latest client javascripts to '#{target}' (Give target dir to Picky::Tasks::Javascripts.new to change)."
|
19
20
|
task :javascripts do
|
20
21
|
target_dir = ::File.expand_path target, Dir.pwd
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: picky-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 3.0
|
5
|
+
version: 3.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Florian Hanke
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-26 00:00:00 +10:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|