parka 0.1.1 → 0.1.2
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/lib/parka/specification.rb +1 -5
- data/lib/parka.rb +1 -1
- metadata +5 -51
data/lib/parka/specification.rb
CHANGED
|
@@ -11,7 +11,7 @@ class Parka::Specification < Gem::Specification
|
|
|
11
11
|
# set up some sensible defaults
|
|
12
12
|
spec.author ||= default_author
|
|
13
13
|
spec.email ||= default_email
|
|
14
|
-
spec.description ||=
|
|
14
|
+
spec.description ||= spec.summary
|
|
15
15
|
spec.rubyforge_project = "nowarning"
|
|
16
16
|
|
|
17
17
|
# default file list if none specified
|
|
@@ -33,10 +33,6 @@ private ######################################################################
|
|
|
33
33
|
%x{ git config user.email }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def self.default_description
|
|
37
|
-
RDiscount.new(File.read("README.md")).to_html
|
|
38
|
-
end
|
|
39
|
-
|
|
40
36
|
def self.default_files
|
|
41
37
|
%x{ git ls-files }.split("\n").select { |f| f.match(/^(bin|data|ext|lib|spec|test)/) }
|
|
42
38
|
end
|
data/lib/parka.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parka
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- |
|
|
@@ -106,55 +106,9 @@ dependencies:
|
|
|
106
106
|
version: "0"
|
|
107
107
|
type: :runtime
|
|
108
108
|
prerelease: false
|
|
109
|
-
name: rdiscount
|
|
110
|
-
version_requirements: *id006
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
|
113
|
-
none: false
|
|
114
|
-
requirements:
|
|
115
|
-
- - ">="
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
hash: 3
|
|
118
|
-
segments:
|
|
119
|
-
- 0
|
|
120
|
-
version: "0"
|
|
121
|
-
type: :runtime
|
|
122
|
-
prerelease: false
|
|
123
109
|
name: thor
|
|
124
|
-
version_requirements: *
|
|
125
|
-
description:
|
|
126
|
-
<p>= parka</p>
|
|
127
|
-
|
|
128
|
-
<p>== Installation</p>
|
|
129
|
-
|
|
130
|
-
<p> $ gem install parka</p>
|
|
131
|
-
|
|
132
|
-
<p>== Usage</p>
|
|
133
|
-
|
|
134
|
-
<p>Create a <code>projectname.gemspec</code> file in the root of your gem like this:</p>
|
|
135
|
-
|
|
136
|
-
<pre><code>require "rubygems"
|
|
137
|
-
require "parka/specification"
|
|
138
|
-
|
|
139
|
-
require "somegem"
|
|
140
|
-
|
|
141
|
-
Parka::Specification.new do |gem|
|
|
142
|
-
gem.name = "somegem"
|
|
143
|
-
gem.version = Somegem::VERSION
|
|
144
|
-
gem.summary = "A sample gem"
|
|
145
|
-
gem.homepage = "http://example.org"
|
|
146
|
-
end
|
|
147
|
-
</code></pre>
|
|
148
|
-
|
|
149
|
-
<p>== Building Gems</p>
|
|
150
|
-
|
|
151
|
-
<p>The gem can be built by using <code>gem build projectname.gemspec</code></p>
|
|
152
|
-
|
|
153
|
-
<p>== Using the parka command-line tool</p>
|
|
154
|
-
|
|
155
|
-
<pre><code>$ parka build
|
|
156
|
-
</code></pre>
|
|
157
|
-
|
|
110
|
+
version_requirements: *id006
|
|
111
|
+
description: Simple gem building using bundler
|
|
158
112
|
email: |
|
|
159
113
|
<ddollar@gmail.com>
|
|
160
114
|
|