thorero 0.9.4.3 → 0.9.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +8 -11
  2. data/lib/extlib/tasks/release.rb +3 -3
  3. metadata +5 -5
data/Rakefile CHANGED
@@ -15,26 +15,23 @@ ROOT = Pathname(__FILE__).dirname.expand_path
15
15
  ##############################################################################
16
16
  RUBY_FORGE_PROJECT = "thorero"
17
17
  PROJECT_URL = "http://thorero.rubyforge.org"
18
- PROJECT_SUMMARY = "test releases task"
18
+ PROJECT_SUMMARY = "DataMapper and Merb support library."
19
19
  PROJECT_DESCRIPTION = PROJECT_SUMMARY
20
20
 
21
- AUTHOR = "Test test"
22
- EMAIL = "test test@gmail.com"
21
+ AUTHOR = "test"
22
+ EMAIL = "test@gmail.com"
23
23
 
24
- GEM_NAME = "thorero"
25
- GEM_VERSION = Extlib::VERSION
24
+ GEM_NAME = "thorero"
25
+ PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
26
+ GEM_VERSION = Extlib::VERSION + PKG_BUILD
26
27
 
27
- PKG_NAME = GEM_NAME
28
- PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
29
- PKG_VERSION = Extlib::VERSION + PKG_BUILD
30
-
31
- RELEASE_NAME = "REL #{PKG_VERSION}"
28
+ RELEASE_NAME = "REL #{GEM_VERSION}"
32
29
 
33
30
  require "lib/extlib/tasks/release"
34
31
 
35
32
  spec = Gem::Specification.new do |s|
36
33
  s.name = GEM_NAME
37
- s.version = PKG_VERSION
34
+ s.version = GEM_VERSION
38
35
  s.platform = Gem::Platform::RUBY
39
36
  s.author = AUTHOR
40
37
  s.email = EMAIL
@@ -1,9 +1,9 @@
1
1
  desc "Publish the release files to RubyForge."
2
2
  task :release => [ :package ] do
3
3
 
4
- packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
4
+ packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{GEM_NAME}-#{GEM_VERSION}.#{ext}" }
5
5
 
6
6
  sh %{rubyforge login}
7
- sh %{rubyforge add_release #{RUBY_FORGE_PROJECT} #{PKG_NAME} #{PKG_VERSION} #{packages.join(' ')}}
8
- sh %{rubyforge add_file #{RUBY_FORGE_PROJECT} #{PKG_NAME} #{PKG_VERSION} #{packages.join(' ')}}
7
+ sh %{rubyforge add_release #{RUBY_FORGE_PROJECT} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
8
+ sh %{rubyforge add_file #{RUBY_FORGE_PROJECT} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
9
9
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thorero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4.3
4
+ version: 0.9.4.4
5
5
  platform: ruby
6
6
  authors:
7
- - Test test
7
+ - test
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -22,8 +22,8 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.2.0
24
24
  version:
25
- description: test releases task
26
- email: test test@gmail.com
25
+ description: DataMapper and Merb support library.
26
+ email: test@gmail.com
27
27
  executables: []
28
28
 
29
29
  extensions: []
@@ -85,6 +85,6 @@ rubyforge_project:
85
85
  rubygems_version: 1.2.0
86
86
  signing_key:
87
87
  specification_version: 2
88
- summary: test releases task
88
+ summary: DataMapper and Merb support library.
89
89
  test_files: []
90
90