bones 3.1.3 → 3.2.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.
- data/History.txt +5 -0
- data/lib/bones.rb +1 -1
- data/lib/bones/plugins/yard.rb +4 -2
- metadata +4 -4
data/History.txt
CHANGED
data/lib/bones.rb
CHANGED
|
@@ -12,7 +12,7 @@ module Bones
|
|
|
12
12
|
extend LittlePlugger
|
|
13
13
|
|
|
14
14
|
# :stopdoc:
|
|
15
|
-
VERSION = '3.
|
|
15
|
+
VERSION = '3.2.0'
|
|
16
16
|
PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
17
17
|
LIBPATH = File.expand_path(File.join(PATH, 'lib'))
|
|
18
18
|
HOME = File.expand_path(ENV['HOME'] || ENV['USERPROFILE'])
|
data/lib/bones/plugins/yard.rb
CHANGED
|
@@ -4,6 +4,10 @@ module Bones::Plugins::Yard
|
|
|
4
4
|
extend self
|
|
5
5
|
|
|
6
6
|
def initialize_yard
|
|
7
|
+
::Bones.config {
|
|
8
|
+
yard(:desc => 'Configuration settings for yard') {}
|
|
9
|
+
}
|
|
10
|
+
|
|
7
11
|
require 'yard'
|
|
8
12
|
require 'yard/rake/yardoc_task'
|
|
9
13
|
have?(:yard) { true }
|
|
@@ -12,9 +16,7 @@ module Bones::Plugins::Yard
|
|
|
12
16
|
Module.class_eval 'remove_method :namespace'
|
|
13
17
|
|
|
14
18
|
::Bones.config {
|
|
15
|
-
desc 'Configuration settings for yard'
|
|
16
19
|
yard {
|
|
17
|
-
|
|
18
20
|
opts [], :desc => 'Array of yard options to use when generating documentation.'
|
|
19
21
|
|
|
20
22
|
include %w(^lib/ ^bin/ ^ext/ \.txt$ \.rdoc$), :desc => <<-__
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bones
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Pease
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-12-
|
|
12
|
+
date: 2009-12-07 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -70,7 +70,7 @@ dependencies:
|
|
|
70
70
|
requirements:
|
|
71
71
|
- - ">="
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: 1.2.
|
|
73
|
+
version: 1.2.2
|
|
74
74
|
version:
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: bones
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
requirements:
|
|
81
81
|
- - ">="
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: 3.
|
|
83
|
+
version: 3.2.0
|
|
84
84
|
version:
|
|
85
85
|
description: |-
|
|
86
86
|
Mr Bones is a handy tool that creates new Ruby projects from a code
|