Initial commit
parents
Showing
CHANGELOG.md
0 → 100644
Gemfile
0 → 100644
source 'http://rubygems.org' | |||
gemspec | |||
ar_version = ENV['ACTIVE_RECORD_VERSION'] | |||
ar_version = case ar_version | |||
when 'master' then {github: 'rails'} | |||
when String then "~> #{ar_version}" | |||
end | |||
mo_version = ENV['MONGOID_VERSION'] | |||
mo_version = case mo_version | |||
when 'master' then {github: 'mongoid'} | |||
when String then "~> #{mo_version}" | |||
end | |||
gem 'activerecord', ar_version if ar_version | |||
gem 'mongoid', mo_version if mo_version |
MIT-LICENSE
0 → 100644
README.md
0 → 100644
Rakefile
0 → 100644
UPGRADING
0 → 100644
by_star.gemspec
0 → 100644
# -*- encoding: utf-8 -*- | |||
require File.expand_path("../lib/by_star/version", __FILE__) | |||
Gem::Specification.new do |s| | |||
s.name = "by_star" | |||
s.version = ByStar::VERSION | |||
s.authors = ["Ryan Bigg", "Johnny Shields"] | |||
s.email = ["radarlistener@gmail.com"] | |||
s.homepage = "http://github.com/radar/by_star" | |||
s.summary = "ActiveRecord and Mongoid extension for easier date scopes and time ranges" | |||
s.description = "ActiveRecord and Mongoid extension for easier date scopes and time ranges" | |||
s.required_ruby_version = '>= 2.0.0' | |||
s.post_install_message = File.read('UPGRADING') if File.exists?('UPGRADING') | |||
s.add_dependency "activesupport", ">= 3.2.0" | |||
s.add_development_dependency "chronic" | |||
s.add_development_dependency "bundler" | |||
s.add_development_dependency "sqlite3" | |||
s.add_development_dependency "activerecord" | |||
s.add_development_dependency "mongoid" | |||
s.add_development_dependency "pg" | |||
s.add_development_dependency "mysql2" | |||
s.add_development_dependency "rspec-rails", "~> 3.1" | |||
s.add_development_dependency "timecop", "~> 0.3" | |||
s.add_development_dependency "pry" | |||
s.files = `git ls-files`.split($/) | |||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } | |||
s.test_files = s.files.grep(%r{^(test|spec|features)/}) | |||
s.require_paths = ['lib'] | |||
end |
cleaner.rb
0 → 100644
lib/by_star.rb
0 → 100644
lib/by_star/base.rb
0 → 100644
lib/by_star/between.rb
0 → 100644
lib/by_star/directional.rb
0 → 100644
lib/by_star/kernel/date.rb
0 → 100644
lib/by_star/kernel/in_time_zone.rb
0 → 100644
lib/by_star/kernel/time.rb
0 → 100644
lib/by_star/normalization.rb
0 → 100644
lib/by_star/orm/active_record/by_star.rb
0 → 100644
lib/by_star/orm/mongoid/by_star.rb
0 → 100644
lib/by_star/orm/mongoid/reorder.rb
0 → 100644
lib/by_star/version.rb
0 → 100644
spec/database.yml
0 → 100644
spec/fixtures/active_record/models.rb
0 → 100644
spec/fixtures/active_record/schema.rb
0 → 100644
spec/fixtures/mongoid/models.rb
0 → 100644
spec/fixtures/shared/seeds.rb
0 → 100644
spec/gemfiles/Gemfile.rails
0 → 100644
spec/gemfiles/Gemfile.rails32
0 → 100644
spec/gemfiles/Gemfile.rails40
0 → 100644
spec/gemfiles/Gemfile.rails41
0 → 100644
spec/gemfiles/Gemfile.rails42
0 → 100644
spec/gemfiles/Gemfile.rails50
0 → 100644
spec/gemfiles/Gemfile.rails51
0 → 100644
spec/gemfiles/Gemfile.rails52
0 → 100644
spec/gemfiles/Gemfile.rails60
0 → 100644
spec/gemfiles/Gemfile.rails61
0 → 100644
spec/integration/mongoid/mongoid_spec.rb
0 → 100644
spec/integration/shared/at_time.rb
0 → 100644
spec/integration/shared/between_dates.rb
0 → 100644
spec/integration/shared/between_times.rb
0 → 100644
spec/integration/shared/by_calendar_month.rb
0 → 100644
spec/integration/shared/by_cweek.rb
0 → 100644
spec/integration/shared/by_day.rb
0 → 100644
spec/integration/shared/by_direction.rb
0 → 100644
spec/integration/shared/by_fortnight.rb
0 → 100644
spec/integration/shared/by_month.rb
0 → 100644
spec/integration/shared/by_quarter.rb
0 → 100644
spec/integration/shared/by_week.rb
0 → 100644
spec/integration/shared/by_weekend.rb
0 → 100644
spec/integration/shared/by_year.rb
0 → 100644
spec/integration/shared/offset_parameter.rb
0 → 100644
spec/integration/shared/order_parameter.rb
0 → 100644
spec/integration/shared/relative.rb
0 → 100644
spec/spec_helper.rb
0 → 100644
spec/unit/kernel_date_spec.rb
0 → 100644
spec/unit/kernel_time_spec.rb
0 → 100644
spec/unit/normalization_spec.rb
0 → 100644
tmp/.gitignore
0 → 100644
Please
register
or
sign in
to comment