-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
Conflicts: lib/singleton-rails.rb singleton_rails.gemspec
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
# Declare your gem's dependencies in singleton_rails.gemspec. | ||
# Bundler will treat runtime dependencies like base dependencies, and | ||
# development dependencies will be added by default to the :development group. | ||
# For the actual gemspec see singleton_rails.gemspec | ||
gemspec | ||
|
||
# Declare any dependencies that are still in development here instead of in | ||
# your gemspec. These might include edge Rails or gems from your path or | ||
# Git. Remember to move these dependencies to your gemspec before releasing | ||
# your gem to rubygems.org. | ||
|
||
# To use debugger | ||
# gem 'debugger' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'active_record' rescue nil | ||
|
||
if defined? ActiveRecord | ||
require "active_record/singleton" | ||
require "rails_admin/config/actions/singleton_aware_delete" | ||
require "rails_admin/config/actions/singleton_aware_index" | ||
require "rails_admin/config/actions/singleton_aware_new" | ||
require 'active_record/singleton' | ||
require 'rails_admin/config/actions/singleton_aware_delete' | ||
require 'rails_admin/config/actions/singleton_aware_index' | ||
require 'rails_admin/config/actions/singleton_aware_new' | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
$:.push File.expand_path("../lib", __FILE__) | ||
$:.push File.expand_path('../lib', __FILE__) | ||
|
||
# Describe your gem and declare its dependencies: | ||
Gem::Specification.new do |s| | ||
s.name = "singleton-rails" | ||
s.version = "0.0.2.1" | ||
s.authors = ["Tim Kurvers", "Christoffer Winterkvist"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/hyperoslo/singleton-rails" | ||
s.summary = "Forever Alone Ruby Gem" | ||
s.description = "Adds singleton functionallity to ActiveRecord models" | ||
s.license = "MIT" | ||
s.name = 'singleton-rails' | ||
s.version = '0.0.2.1' | ||
s.authors = ['Tim Kurvers', 'Christoffer Winterkvist'] | ||
s.email = ['[email protected]'] | ||
s.homepage = 'https://github.com/hyperoslo/singleton-rails' | ||
s.summary = 'Adds singleton functionallity to ActiveRecord models' | ||
s.description = 'Adds singleton functionallity to ActiveRecord models' | ||
s.license = 'MIT' | ||
|
||
s.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "Rakefile"] | ||
s.test_files = Dir["test/**/*"] | ||
s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE', 'Rakefile'] | ||
|
||
s.add_dependency "rails", '>= 4.0.6', '< 5.0.0' | ||
|
||
s.add_development_dependency "sqlite3" | ||
s.add_dependency 'rails', '>= 4.0.6', '< 5.0.0' | ||
end |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.