-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
57 lines (46 loc) · 1.47 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- ruby -*-
require "rubygems"
require "hoe"
require './lib/nested_ostruct/version.rb'
Hoe.plugin :gemspec
Hoe.plugin :minitest
Hoe.plugin :yard
Hoe.plugin :bundler
Hoe.plugin :git
Hoe.plugin :ignore
Hoe.spec "nested_ostruct" do
developer("So Awesome Man", "callme@1800AWESO.ME")
license "MIT" # this matches the license in the README file
self.email = 'callme@1800AWESO.ME'
self.name = 'nested_ostruct'
self.version = NestedOstruct::VERSION
self.summary = 'Convert nested OpenStruct to Hash'
self.description = self.summary
self.urls = ['https://github.com/awesome/nested_ostruct']
self.testlib = :minitest
self.readme_file = 'README.md'
self.history_file = 'History.txt'
# third-party
self.yard_title = self.name
self.yard_markup = 'markdown'
self.extra_dev_deps += [
["hoe-yard", "~> 0.1"],
["hoe-ignore", "~> 1.0"],
["hoe-bundler", "~> 1.2"],
["hoe-gemspec", "~> 1.0"],
["hoe-git", "~> 1.6"],
["minitest", "~> 5.9"],
["yard", "~> 0.8"],
["redcarpet", "~> 3.3"] # yard/markdown
]
self.clean_globs += [
'.yardoc',
'vendor',
'Gemfile.lock',
'.bundle',
]
self.spec_extras = {
:required_ruby_version => '>= 1.9.2'
}
end
# vim: syntax=ruby