jbarnette-backpack-journal 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/backpack-journal.gemspec +2 -1
- data/lib/backpack-journal/version.rb +1 -1
- data/lib/hoe.rb +25 -109
- metadata +3 -3
data/CHANGELOG
CHANGED
data/backpack-journal.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{backpack-journal}
|
3
|
-
s.version = "1.0.
|
3
|
+
s.version = "1.0.2"
|
4
4
|
|
5
5
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
6
6
|
|
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.description = %q{Make journal and status entries in 37signals' Backpack.}
|
12
12
|
s.email = ["jbarnette@rubyforge.org"]
|
13
13
|
s.executables = ["backpack-journal"]
|
14
|
+
s.extra_rdoc_files = ["README.rdoc"]
|
14
15
|
s.files = ["CHANGELOG", "MANIFEST", "README.rdoc", "Rakefile", "backpack-journal.gemspec", "bin/backpack-journal", "lib/backpack-journal/version.rb", "lib/hoe.rb", "test/test_backpack-journal.rb"]
|
15
16
|
s.has_rdoc = true
|
16
17
|
s.homepage = %q{http://github.com/jbarnette/backpack-journal}
|
data/lib/hoe.rb
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
+
# Copyright (c) Ryan Davis, Zen Spider Software
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
# a copy of this software and associated documentation files (the
|
7
|
+
# "Software"), to deal in the Software without restriction, including
|
8
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
# the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be
|
14
|
+
# included in all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
20
|
+
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
21
|
+
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
22
|
+
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
3
24
|
require 'rubygems'
|
4
25
|
require 'rake'
|
5
26
|
require 'rake/gempackagetask'
|
@@ -9,112 +30,7 @@ require 'rbconfig'
|
|
9
30
|
require 'rubyforge'
|
10
31
|
require 'yaml'
|
11
32
|
|
12
|
-
|
13
|
-
# hoe - a tool to help rake
|
14
|
-
#
|
15
|
-
# Hoe is a simple rake/rubygems helper for project Rakefiles. It
|
16
|
-
# generates all the usual tasks for projects including rdoc generation,
|
17
|
-
# testing, packaging, and deployment.
|
18
|
-
#
|
19
|
-
# == Using Hoe
|
20
|
-
#
|
21
|
-
# === Basics
|
22
|
-
#
|
23
|
-
# Use this as a minimal starting point:
|
24
|
-
#
|
25
|
-
# require 'hoe'
|
26
|
-
#
|
27
|
-
# Hoe.new("project_name", '1.0.0') do |p|
|
28
|
-
# p.rubyforge_name = "rf_project"
|
29
|
-
# # add other details here
|
30
|
-
# end
|
31
|
-
#
|
32
|
-
# # add other tasks here
|
33
|
-
#
|
34
|
-
# === Tasks Provided:
|
35
|
-
#
|
36
|
-
# announce:: Create news email file and post to rubyforge.
|
37
|
-
# audit:: Run ZenTest against the package.
|
38
|
-
# check_manifest:: Verify the manifest.
|
39
|
-
# clean:: Clean up all the extras.
|
40
|
-
# config_hoe:: Create a fresh ~/.hoerc file.
|
41
|
-
# debug_gem:: Show information about the gem.
|
42
|
-
# default:: Run the default tasks.
|
43
|
-
# docs:: Build the docs HTML Files
|
44
|
-
# email:: Generate email announcement file.
|
45
|
-
# gem:: Build the gem file hoe-1.5.0.gem
|
46
|
-
# generate_key:: Generate a key for signing your gems.
|
47
|
-
# install_gem:: Install the package as a gem.
|
48
|
-
# multi:: Run the test suite using multiruby.
|
49
|
-
# package:: Build all the packages
|
50
|
-
# post_blog:: Post announcement to blog.
|
51
|
-
# post_news:: Post announcement to rubyforge.
|
52
|
-
# publish_docs:: Publish RDoc to RubyForge.
|
53
|
-
# release:: Package and upload the release to rubyforge.
|
54
|
-
# ridocs:: Generate ri locally for testing.
|
55
|
-
# test:: Run the test suite.
|
56
|
-
# test_deps:: Show which test files fail when run alone.
|
57
|
-
#
|
58
|
-
# === Extra Configuration Options:
|
59
|
-
#
|
60
|
-
# Run +config_hoe+ to generate a new ~/.hoerc file. The file is a
|
61
|
-
# YAML formatted config file with the following settings:
|
62
|
-
#
|
63
|
-
# exclude:: A regular expression of files to exclude from
|
64
|
-
# +check_manifest+.
|
65
|
-
# publish_on_announce:: Run +publish_docs+ when you run +release+.
|
66
|
-
# signing_key_file:: Signs your gems with this private key.
|
67
|
-
# signing_cert_file:: Signs your gem with this certificate.
|
68
|
-
# blogs:: An array of hashes of blog settings.
|
69
|
-
#
|
70
|
-
# Run +config_hoe+ and see ~/.hoerc for examples.
|
71
|
-
#
|
72
|
-
# === Signing Gems:
|
73
|
-
#
|
74
|
-
# Run the 'generate_key' task. This will:
|
75
|
-
#
|
76
|
-
# 1. Configure your ~/.hoerc.
|
77
|
-
# 2. Generate a signing key and certificate.
|
78
|
-
# 3. Install the private key and public certificate files into ~/.gem.
|
79
|
-
# 4. Upload the certificate to RubyForge.
|
80
|
-
#
|
81
|
-
# Hoe will now generate signed gems when the package task is run. If you have
|
82
|
-
# multiple machines you build gems on, be sure to install your key and
|
83
|
-
# certificate on each machine.
|
84
|
-
#
|
85
|
-
# Keep your private key secret! Keep your private key safe!
|
86
|
-
#
|
87
|
-
# To make sure your gems are signed run:
|
88
|
-
#
|
89
|
-
# rake package; tar tf pkg/yourproject-1.2.3.gem
|
90
|
-
#
|
91
|
-
# If your gem is signed you will see:
|
92
|
-
#
|
93
|
-
# data.tar.gz
|
94
|
-
# data.tar.gz.sig
|
95
|
-
# metadata.gz
|
96
|
-
# metadata.gz.sig
|
97
|
-
#
|
98
|
-
# === Platform awareness
|
99
|
-
#
|
100
|
-
# Hoe allows bundling of pre-compiled extensions in the +package+ task.
|
101
|
-
#
|
102
|
-
# To create a package for your current platform:
|
103
|
-
#
|
104
|
-
# rake package INLINE=1
|
105
|
-
#
|
106
|
-
# This will force Hoe analize your +Inline+ already compiled
|
107
|
-
# extensions and include them in your gem.
|
108
|
-
#
|
109
|
-
# If somehow you need to force a specific platform:
|
110
|
-
#
|
111
|
-
# rake package INLINE=1 FORCE_PLATFORM=mswin32
|
112
|
-
#
|
113
|
-
# This will set the +Gem::Specification+ platform to the one indicated in
|
114
|
-
# +FORCE_PLATFORM+ (instead of default Gem::Platform::CURRENT)
|
115
|
-
#
|
116
|
-
|
117
|
-
class Hoe
|
33
|
+
class Hoe #:nodoc:
|
118
34
|
VERSION = '1.5.3'
|
119
35
|
|
120
36
|
ruby_prefix = Config::CONFIG['prefix']
|
@@ -312,7 +228,7 @@ class Hoe
|
|
312
228
|
self.multiruby_skip = []
|
313
229
|
self.need_tar = true
|
314
230
|
self.need_zip = false
|
315
|
-
self.rdoc_pattern = /^(lib|bin|ext)|txt$/
|
231
|
+
self.rdoc_pattern = /^(lib|bin|ext)|(rdoc|txt)$/
|
316
232
|
self.remote_rdoc_dir = name
|
317
233
|
self.rsync_args = '-av --delete'
|
318
234
|
self.rubyforge_name = name.downcase
|
@@ -451,7 +367,7 @@ class Hoe
|
|
451
367
|
s.require_paths = dirs unless dirs.empty?
|
452
368
|
|
453
369
|
s.rdoc_options = ['--main', 'README.rdoc']
|
454
|
-
s.extra_rdoc_files = s.files.grep(/txt$/)
|
370
|
+
s.extra_rdoc_files = s.files.grep(/(txt|rdoc)$/)
|
455
371
|
s.has_rdoc = true
|
456
372
|
|
457
373
|
s.post_install_message = post_install_message
|
@@ -570,7 +486,7 @@ class Hoe
|
|
570
486
|
rd.options << '-d' if RUBY_PLATFORM !~ /win32/ and `which dot` =~ /\/dot/ and not ENV['NODOT']
|
571
487
|
rd.rdoc_dir = 'doc'
|
572
488
|
files = spec.files.grep(rdoc_pattern)
|
573
|
-
files -= ['MANIFEST']
|
489
|
+
files -= ['MANIFEST', 'lib/hoe.rb']
|
574
490
|
rd.rdoc_files.push(*files)
|
575
491
|
|
576
492
|
title = "#{name}-#{version} Documentation"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jbarnette-backpack-journal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Barnette
|
@@ -28,8 +28,8 @@ executables:
|
|
28
28
|
- backpack-journal
|
29
29
|
extensions: []
|
30
30
|
|
31
|
-
extra_rdoc_files:
|
32
|
-
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README.rdoc
|
33
33
|
files:
|
34
34
|
- CHANGELOG
|
35
35
|
- MANIFEST
|