Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upgrading project structure to work with bundler.

  • Loading branch information...
commit c4e5d4dce7e634f0d88f1d4e232a784132bc3529 1 parent 196b87f
@bokmann authored
View
2  .gitignore
@@ -19,3 +19,5 @@ rdoc
pkg
## PROJECT::SPECIFIC
+.bundle
+vendor
View
3  Gemfile
@@ -0,0 +1,3 @@
+source "https://rubygems.org"
+
+gemspec
View
69 Gemfile.lock
@@ -0,0 +1,69 @@
+PATH
+ remote: .
+ specs:
+ font-awesome-rails (0.3.2)
+ railties (~> 3.1)
+
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionpack (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.3)
+ activemodel (3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ builder (3.0.3)
+ erubis (2.7.0)
+ hike (1.2.1)
+ i18n (0.6.1)
+ journey (1.0.4)
+ json (1.7.5)
+ multi_json (1.3.6)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.2)
+ rack (>= 1.0)
+ railties (3.2.8)
+ actionpack (= 3.2.8)
+ activesupport (= 3.2.8)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ shoulda (3.1.1)
+ shoulda-context (~> 1.0)
+ shoulda-matchers (~> 1.2)
+ shoulda-context (1.0.0)
+ shoulda-matchers (1.3.0)
+ activesupport (>= 3.0.0)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ thor (0.16.0)
+ tilt (1.3.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ font-awesome-rails!
+ rake
+ shoulda (>= 2.11.3)
View
55 Rakefile
@@ -1,53 +1,2 @@
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "sentient_user"
- gem.summary = %Q{A trivial bit of common code}
- gem.description = %Q{lets the User model in most authentication frameworks know who is the current user"}
- gem.email = "dbock@codesherpas.com"
- gem.homepage = "http://github.com/bokmann/sentient_user"
- gem.authors = ["bokmann"]
- gem.add_development_dependency "shoulda", ">= 2.11.3"
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-end
-
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- end
-rescue LoadError
- task :rcov do
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
- end
-end
-
-task :test => :check_dependencies
-
-task :default => :test
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "sentient_user #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
View
1  VERSION
@@ -1 +0,0 @@
-0.3.2
View
3  lib/sentient_user/version.rb
@@ -0,0 +1,3 @@
+module SentientUser
+ VERSION = "0.3.2"
+end
View
120 sentient_user.gemspec
@@ -1,52 +1,78 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/sentient_user/version.rb', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.authors = ["bokmann"]
+ gem.email = ["dbock@codesherpas.com"]
+ gem.description = %q{lets the User model in most authentication frameworks know who is the current user}
+ gem.summary = %q{A trivial bit of common code}
+ gem.homepage = "http://github.com/bokmann/sentient_user"
+
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ gem.name = "font-awesome-rails"
+ gem.require_paths = ["lib"]
+ gem.version = SentientUser::VERSION
+
+ gem.add_dependency "railties", "~> 3.1"
+ gem.add_development_dependency "rake"
+ gem.add_development_dependency "shoulda", ">= 2.11.3"
+
+end
+
+
+
+
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
-
-Gem::Specification.new do |s|
- s.name = %q{sentient_user}
- s.version = "0.3.2"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["bokmann"]
- s.date = %q{2011-01-17}
- s.description = %q{lets the User model in most authentication frameworks know who is the current user"}
- s.email = %q{dbock@codesherpas.com}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- ".document",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "lib/sentient_user.rb",
- "sentient_user.gemspec",
- "test/helper.rb",
- "test/test_sentient_user.rb"
- ]
- s.homepage = %q{http://github.com/bokmann/sentient_user}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{A trivial bit of common code}
- s.test_files = [
- "test/helper.rb",
- "test/test_sentient_user.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<shoulda>, [">= 2.11.3"])
- else
- s.add_dependency(%q<shoulda>, [">= 2.11.3"])
- end
- else
- s.add_dependency(%q<shoulda>, [">= 2.11.3"])
- end
-end
+#
+# Gem::Specification.new do |s|
+# s.name = %q{sentient_user}
+# s.version = "0.3.2"
+#
+# s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+# s.authors = ["bokmann"]
+# s.date = %q{2011-01-17}
+# s.description = %q{lets the User model in most authentication frameworks know who is the current user"}
+# s.email = %q{dbock@codesherpas.com}
+# s.extra_rdoc_files = [
+# "LICENSE",
+# "README.rdoc"
+# ]
+# s.files = [
+# ".document",
+# "LICENSE",
+# "README.rdoc",
+# "Rakefile",
+# "VERSION",
+# "lib/sentient_user.rb",
+# "sentient_user.gemspec",
+# "test/helper.rb",
+# "test/test_sentient_user.rb"
+# ]
+# s.homepage = %q{http://github.com/bokmann/sentient_user}
+# s.require_paths = ["lib"]
+# s.rubygems_version = %q{1.3.7}
+# s.summary = %q{A trivial bit of common code}
+# s.test_files = [
+# "test/helper.rb",
+# "test/test_sentient_user.rb"
+# ]
+#
+# if s.respond_to? :specification_version then
+# current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+# s.specification_version = 3
+#
+# if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+# s.add_development_dependency(%q<shoulda>, [">= 2.11.3"])
+# else
+# s.add_dependency(%q<shoulda>, [">= 2.11.3"])
+# end
+# else
+# s.add_dependency(%q<shoulda>, [">= 2.11.3"])
+# end
+# end
Please sign in to comment.
Something went wrong with that request. Please try again.