app_drone 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ class Drone
67
67
  (@params ||= []) << Param.new(name, type, options.first)
68
68
  end
69
69
  def params
70
- @params
70
+ (@params || [])
71
71
  end
72
72
 
73
73
  def desc(d='')
@@ -96,6 +96,10 @@ class Drone
96
96
  self.to_s.split('::').last.underscore.to_sym
97
97
  end
98
98
 
99
+ def human_name
100
+ self.to_sym.to_s.humanize.titleize
101
+ end
102
+
99
103
  end
100
104
 
101
105
  end
@@ -67,7 +67,7 @@ class Drone
67
67
  (@params ||= []) << Param.new(name, type, options.first)
68
68
  end
69
69
  def params
70
- @params
70
+ (@params || [])
71
71
  end
72
72
 
73
73
  def desc(d='')
@@ -96,6 +96,10 @@ class Drone
96
96
  self.to_s.split('::').last.underscore.to_sym
97
97
  end
98
98
 
99
+ def human_name
100
+ self.to_sym.to_s.humanize.titleize
101
+ end
102
+
99
103
  end
100
104
 
101
105
  end
@@ -1,3 +1,3 @@
1
1
  module AppDrone
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_drone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &17329160 !ruby/object:Gem::Requirement
16
+ requirement: &13655740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *17329160
24
+ version_requirements: *13655740
25
25
  description: Give your Rails apps a kickstart
26
26
  email:
27
27
  - whoisdanieldavey@gmail.com