milkode 1.8.3 → 1.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.rdoc +13 -0
- data/lib/milkode/cli.rb +14 -0
- data/lib/milkode/version.rb +1 -1
- data/milkode.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 787f43e019da02fd56f06a8ee79aa42321aae4ff
|
4
|
+
data.tar.gz: 6e880268a11e41e4fff138705b8e8194b41221d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3b6303bfa2ad4d11ca1bb14d736f2cba88ff0cd99dc5470b0a472dd0a4166b9f71d332b04dae41c9b4e065771390d60f9a20efd0bf9284fe7e982046d121ee
|
7
|
+
data.tar.gz: 31a40dfef8ce92f6c3d6c9aaeb30bb6ab749015101abb1b141d4561d92509d49a583de87f29eba798191bd9b0bab74bf8f1d3eb583ef755b32351b373e148973
|
data/HISTORY.rdoc
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
=== 1.8.4 2014/10/13
|
2
|
+
|
3
|
+
* milk
|
4
|
+
* Add 'milk rm' command
|
5
|
+
* 'milk remove' is obsolate
|
6
|
+
* Fix a failure when 'gem install milkode' at a empty environment
|
7
|
+
|
8
|
+
=== 1.8.3 2014/10/12
|
9
|
+
|
10
|
+
* milk
|
11
|
+
* Fix the invalid byte sequence bug on Linux
|
12
|
+
* #69 grenfiletest.rb:12:in `match': invalid byte sequence in UTF-8 (ArgumentError)
|
13
|
+
|
1
14
|
=== 1.8.1 2014/09/27
|
2
15
|
|
3
16
|
* milk web
|
data/lib/milkode/cli.rb
CHANGED
@@ -66,6 +66,20 @@ EOF
|
|
66
66
|
option :force, :type => :boolean, :aliases => '-f', :desc => 'Force remove.'
|
67
67
|
option :verbose, :type => :boolean, :aliases => '-v', :desc => 'Be verbose.'
|
68
68
|
def remove(*args)
|
69
|
+
$stdout.puts "[warning] 'milk remove' is obsolate. Please use 'milk rm'."
|
70
|
+
|
71
|
+
if args.empty? && !options[:all]
|
72
|
+
CLI.task_help(shell, "remove")
|
73
|
+
else
|
74
|
+
cdstk.remove(args, options)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
desc "rm keyword_or_path1 [keyword_or_path2 ...]", "Remove package"
|
79
|
+
option :all, :type => :boolean, :aliases => '-a', :desc => 'Remove all.'
|
80
|
+
option :force, :type => :boolean, :aliases => '-f', :desc => 'Force remove.'
|
81
|
+
option :verbose, :type => :boolean, :aliases => '-v', :desc => 'Be verbose.'
|
82
|
+
def rm(*args)
|
69
83
|
if args.empty? && !options[:all]
|
70
84
|
CLI.task_help(shell, "remove")
|
71
85
|
else
|
data/lib/milkode/version.rb
CHANGED
data/milkode.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency 'sinatra' , '>= 1.2.6'
|
31
31
|
spec.add_dependency 'launchy' , '>= 0.3.7'
|
32
32
|
spec.add_dependency 'coderay' , '>= 1.0.5'
|
33
|
-
spec.add_dependency 'thin' , '>= 1.2.10', '<
|
33
|
+
spec.add_dependency 'thin' , '>= 1.2.10', '< 1.9.9'
|
34
34
|
spec.add_dependency 'archive-zip' , '>= 0.4.0'
|
35
35
|
spec.add_dependency 'haml' , '>= 3.1.2'
|
36
36
|
spec.add_dependency 'sass' , '>= 3.1.3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milkode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ongaeshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
version: 1.2.10
|
180
180
|
- - "<"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
182
|
+
version: 1.9.9
|
183
183
|
type: :runtime
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ dependencies:
|
|
189
189
|
version: 1.2.10
|
190
190
|
- - "<"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version:
|
192
|
+
version: 1.9.9
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: archive-zip
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|