wbzyl-sinatra-rdiscount 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ pkg/*
2
+ *.gem
data/LICENSE CHANGED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2008 Wlodek Bzyl
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.
data/Rakefile CHANGED
@@ -14,7 +14,8 @@ begin
14
14
  s.description = "An extension providing RDiscount templates for Sinatra applications."
15
15
  s.authors = ["Włodek Bzyl"]
16
16
 
17
- s.add_dependency 'erubis', '>=2.6.4'
17
+ s.add_dependency 'erubis', '>=2.6.4'
18
+ s.add_dependency 'rdiscount', '>=1.3.4'
18
19
  end
19
20
  rescue LoadError
20
21
  puts "Jeweler not available."
@@ -30,7 +31,7 @@ end
30
31
 
31
32
  desc 'Install the package as a gem.'
32
33
  task :install => [:clean, :build] do
33
- gem = Dir['pkg/*.gem'].first
34
+ gem = Dir['pkg/*.gem'].last
34
35
  sh "sudo gem install --no-rdoc --no-ri --local #{gem}"
35
36
  end
36
37
 
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
+ :patch: 2
2
3
  :major: 0
3
4
  :minor: 1
4
- :patch: 1
@@ -0,0 +1,63 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{sinatra-rdiscount}
5
+ s.version = "0.1.2"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["W\305\202odek Bzyl"]
9
+ s.date = %q{2009-05-19}
10
+ s.description = %q{An extension providing RDiscount templates for Sinatra applications.}
11
+ s.email = %q{matwb@univ.gda.pl}
12
+ s.extra_rdoc_files = [
13
+ "LICENSE",
14
+ "README.markdown"
15
+ ]
16
+ s.files = [
17
+ ".gitignore",
18
+ "LICENSE",
19
+ "README.markdown",
20
+ "Rakefile",
21
+ "VERSION.yml",
22
+ "examples/app.rb",
23
+ "examples/config.ru",
24
+ "examples/mapp.rb",
25
+ "examples/public/stylesheets/application.css",
26
+ "examples/views/hello.rdiscount",
27
+ "examples/views/hello2.rdiscount",
28
+ "examples/views/layout2.rdiscount",
29
+ "lib/sinatra/rdiscount.rb",
30
+ "sinatra-rdiscount.gemspec",
31
+ "test/sinatra_rdiscount_test.rb",
32
+ "test/test_helper.rb",
33
+ "test/views/hello.rdiscount",
34
+ "test/views/layout2.rdiscount"
35
+ ]
36
+ s.homepage = %q{http://github.com/wbzyl/sinatra-rdiscount}
37
+ s.rdoc_options = ["--charset=UTF-8"]
38
+ s.require_paths = ["lib"]
39
+ s.rubygems_version = %q{1.3.3}
40
+ s.summary = %q{An extension providing RDiscount templates for Sinatra applications.}
41
+ s.test_files = [
42
+ "test/test_helper.rb",
43
+ "test/sinatra_rdiscount_test.rb",
44
+ "examples/mapp.rb",
45
+ "examples/app.rb"
46
+ ]
47
+
48
+ if s.respond_to? :specification_version then
49
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
+ s.add_runtime_dependency(%q<erubis>, [">= 2.6.4"])
54
+ s.add_runtime_dependency(%q<rdiscount>, [">= 1.3.4"])
55
+ else
56
+ s.add_dependency(%q<erubis>, [">= 2.6.4"])
57
+ s.add_dependency(%q<rdiscount>, [">= 1.3.4"])
58
+ end
59
+ else
60
+ s.add_dependency(%q<erubis>, [">= 2.6.4"])
61
+ s.add_dependency(%q<rdiscount>, [">= 1.3.4"])
62
+ end
63
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbzyl-sinatra-rdiscount
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "W\xC5\x82odek Bzyl"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-11 00:00:00 -07:00
12
+ date: 2009-05-19 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 2.6.4
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rdiscount
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.4
34
+ version:
25
35
  description: An extension providing RDiscount templates for Sinatra applications.
26
36
  email: matwb@univ.gda.pl
27
37
  executables: []
@@ -32,6 +42,7 @@ extra_rdoc_files:
32
42
  - LICENSE
33
43
  - README.markdown
34
44
  files:
45
+ - .gitignore
35
46
  - LICENSE
36
47
  - README.markdown
37
48
  - Rakefile
@@ -44,6 +55,7 @@ files:
44
55
  - examples/views/hello2.rdiscount
45
56
  - examples/views/layout2.rdiscount
46
57
  - lib/sinatra/rdiscount.rb
58
+ - sinatra-rdiscount.gemspec
47
59
  - test/sinatra_rdiscount_test.rb
48
60
  - test/test_helper.rb
49
61
  - test/views/hello.rdiscount