Skip to content

Commit 3ee8648

Browse files
author
Priit Haamer
committed
use bundler for gem management.
1 parent 0696eb1 commit 3ee8648

File tree

7 files changed

+36
-64
lines changed

7 files changed

+36
-64
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pkg/*
2+
*.gem
3+
.bundle

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source "http://rubygems.org"
2+
3+
# Specify your gem's dependencies in ipizza-rails.gemspec
4+
gemspec

Rakefile

+2-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,2 @@
1-
require 'rubygems'
2-
require 'rake'
3-
4-
require 'rspec'
5-
require 'rspec/core/rake_task'
6-
7-
RSpec::Core::RakeTask.new(:spec)
8-
9-
begin
10-
require 'jeweler'
11-
Jeweler::Tasks.new do |gemspec|
12-
gemspec.name = 'ipizza-rails'
13-
14-
gemspec.summary = 'Adds ipizza support to Rails 3 applications'
15-
gemspec.description = <<-DESC
16-
Helpers to use ipizza inside Rails 3 applications
17-
DESC
18-
19-
gemspec.email = '[email protected]'
20-
gemspec.homepage = 'https://github.com/priithaamer/ipizza-rails'
21-
gemspec.authors = ['Priit Haamer']
22-
end
23-
rescue LoadError
24-
puts 'Jeweler not available. Install it with: gem install jeweler'
25-
end
26-
27-
task :default => :spec
1+
require 'bundler'
2+
Bundler::GemHelper.install_tasks

ipizza-rails.gemspec

+18-36
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,23 @@
1-
# Generated by jeweler
2-
# DO NOT EDIT THIS FILE DIRECTLY
3-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
41
# -*- encoding: utf-8 -*-
2+
$:.push File.expand_path('../lib', __FILE__)
3+
require 'ipizza-rails/version'
54

65
Gem::Specification.new do |s|
7-
s.name = %q{ipizza-rails}
8-
s.version = "0.1.0"
6+
s.name = 'ipizza-rails'
7+
s.version = Ipizza::Rails::VERSION
8+
s.platform = Gem::Platform::RUBY
9+
s.authors = ['Priit Haamer']
10+
s.email = ['[email protected]']
11+
s.homepage = "http://rubygems.org/gems/ipizza-rails"
12+
s.summary = %q{Adds iPizza support to Rails 3 applications}
13+
s.description = %q{Helpers to use iPizza inside Rails 3 applications}
914

10-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11-
s.authors = ["Priit Haamer"]
12-
s.date = %q{2010-10-23}
13-
s.description = %q{ Helpers to use ipizza inside Rails 3 applications
14-
}
15-
s.email = %q{[email protected]}
16-
s.extra_rdoc_files = [
17-
"README.markdown"
18-
]
19-
s.files = [
20-
"VERSION"
21-
]
22-
s.homepage = %q{https://github.com/priithaamer/ipizza-rails}
23-
s.rdoc_options = ["--charset=UTF-8"]
24-
s.require_paths = ["lib"]
25-
s.rubygems_version = %q{1.3.7}
26-
s.summary = %q{Adds ipizza support to Rails 3 applications}
27-
s.test_files = [
28-
"spec/spec_helper.rb"
29-
]
30-
31-
if s.respond_to? :specification_version then
32-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
33-
s.specification_version = 3
34-
35-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
36-
else
37-
end
38-
else
39-
end
15+
s.files = `git ls-files`.split("\n")
16+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18+
s.require_paths = ['lib']
19+
20+
s.add_dependency(%q<ipizza>, ['= 0.4.4'])
21+
22+
s.add_development_dependency('rspec', ['= 2.5.0'])
4023
end
41-

lib/ipizza-rails.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module Ipizza
2+
module Rails
3+
end
4+
end

lib/ipizza-rails/version.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Ipizza
2+
module Rails
3+
VERSION = '0.1.0'
4+
end
5+
end

lib/ipizza/ipizza.rb

-1
This file was deleted.

0 commit comments

Comments
 (0)