xebec 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.6.0
@@ -1,34 +0,0 @@
1
- namespace :gem do
2
- begin
3
- require 'jeweler'
4
- Jeweler::Tasks.new do |gemspec|
5
- gemspec.name = "xebec"
6
- gemspec.summary = "Navigation helpers"
7
- gemspec.description = "Helpers for generating navigation bars"
8
- gemspec.email = "james.a.rosen@gmail.com"
9
- gemspec.homepage = "http://github.com/jamesarosen/xebec"
10
- gemspec.authors = ["James A. Rosen"]
11
- gemspec.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Xebec Documentation", "--charset", "utf-8"]
12
- gemspec.platform = Gem::Platform::RUBY
13
- gemspec.add_development_dependency 'shoulda', '~> 2.10.3'
14
- gemspec.add_development_dependency 'mocha', '~> 0.9.8'
15
- gemspec.add_development_dependency 'redgreen', '~> 1.2.2'
16
- end
17
- rescue LoadError
18
- puts "Jeweler not available. Install it with [sudo] gem install jeweler -s http://gemscutter.org"
19
- end
20
-
21
- task :push => 'gem:build' do
22
- command = ('gem push')
23
- command << " -p $#{ENV['http_proxy']}" if ENV['http_proxy'] && !ENV['http_proxy'].empty?
24
- command << " #{latest_gem}"
25
- puts "Pushing gem..."
26
- IO.popen(command) { |io| io.each { |line| puts ' ' + line } }
27
- end
28
-
29
- def latest_gem
30
- result = File.expand_path(Dir.glob(File.join(File.dirname(__FILE__), '..', 'pkg', '*.gem')).sort.last)
31
- abort "No gems found in pkg/. Did you run gem:build?" if result.nil?
32
- result
33
- end
34
- end