groupify 0.5.1 → 0.6.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,22 @@
1
- require 'rubygems'
2
1
  require 'bundler/setup'
3
2
 
4
- Bundler.require(:default, :test, :development)
3
+ require 'simplecov'
4
+ require 'coveralls'
5
5
 
6
- #require 'pry'
6
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
7
+ SimpleCov::Formatter::HTMLFormatter,
8
+ Coveralls::SimpleCov::Formatter
9
+ ]
10
+ SimpleCov.start
11
+
12
+ require 'active_support'
13
+ require 'active_support/deprecation'
14
+ require 'active_support/dependencies/autoload'
15
+
16
+ Bundler.require(:default, :development)
7
17
 
8
18
  JRUBY = defined?(JRUBY_VERSION)
19
+ DEBUG = ENV['DEBUG']
9
20
 
10
21
  RSpec.configure do |config|
11
22
  config.order = "random"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dwbutler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-28 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -72,16 +72,16 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '3'
83
83
  - !ruby/object:Gem::Dependency
84
- name: mongoid-rspec
84
+ name: database_cleaner
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: database_cleaner
98
+ name: appraisal
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -115,14 +115,18 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
+ - ".coveralls.yml"
118
119
  - ".gitignore"
120
+ - ".rspec"
119
121
  - ".travis.yml"
122
+ - Appraisals
120
123
  - Gemfile
121
124
  - LICENSE
122
125
  - README.md
123
126
  - Rakefile
124
- - gemfiles/activesupport3.gemfile
125
- - gemfiles/activesupport4.gemfile
127
+ - gemfiles/rails_3.2.gemfile
128
+ - gemfiles/rails_4.0.gemfile
129
+ - gemfiles/rails_4.1.gemfile
126
130
  - groupify.gemspec
127
131
  - lib/groupify.rb
128
132
  - lib/groupify/adapter/active_record.rb
@@ -130,7 +134,6 @@ files:
130
134
  - lib/groupify/railtie.rb
131
135
  - lib/groupify/version.rb
132
136
  - spec/groupify/active_record_spec.rb
133
- - spec/groupify/mongoid.yml
134
137
  - spec/groupify/mongoid_spec.rb
135
138
  - spec/spec_helper.rb
136
139
  homepage: https://github.com/dwbutler/groupify
@@ -148,17 +151,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
151
  version: '0'
149
152
  required_rubygems_version: !ruby/object:Gem::Requirement
150
153
  requirements:
151
- - - ">="
154
+ - - ">"
152
155
  - !ruby/object:Gem::Version
153
- version: '0'
156
+ version: 1.3.1
154
157
  requirements: []
155
158
  rubyforge_project:
156
- rubygems_version: 2.2.0.rc.1
159
+ rubygems_version: 2.2.2
157
160
  signing_key:
158
161
  specification_version: 4
159
162
  summary: Group functionality for Rails
160
163
  test_files:
161
164
  - spec/groupify/active_record_spec.rb
162
- - spec/groupify/mongoid.yml
163
165
  - spec/groupify/mongoid_spec.rb
164
166
  - spec/spec_helper.rb
@@ -1,18 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activerecord', "~> 3.2"
4
- gem "mongoid", ">= 3.0", "< 4"
5
- gem 'mongoid-rspec', '>= 1.5.1'
6
-
7
- gem 'database_cleaner'
8
- gem "rspec"
9
- gem "rake"
10
-
11
- platform :ruby do
12
- gem 'sqlite3'
13
- end
14
-
15
- platform :jruby do
16
- gem "jdbc-sqlite3"
17
- gem "activerecord-jdbcsqlite3-adapter"
18
- end
@@ -1,24 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activerecord', "~> 4"
4
-
5
- # TODO: Enable once Mongoid 4 is released
6
- #gem "mongoid", ">= 4.0"
7
-
8
- #gem "mongoid", :github => "mongoid/mongoid"
9
- gem "mongoid", "4.0.0.beta1"
10
- gem 'mongoid-rspec'
11
-
12
- gem 'database_cleaner'
13
- gem "rspec"
14
- gem "rake"
15
-
16
- platform :ruby do
17
- gem 'sqlite3'
18
- end
19
-
20
- platform :jruby do
21
- gem "jdbc-sqlite3"
22
- # See https://github.com/jruby/activerecord-jdbc-adapter/issues/253
23
- gem "activerecord-jdbcsqlite3-adapter", :github => 'jruby/activerecord-jdbc-adapter', :branch => 'v1.3.0.beta2'
24
- end
@@ -1,13 +0,0 @@
1
- development:
2
- sessions:
3
- default:
4
- database: groupify_development
5
- hosts:
6
- - localhost:27017
7
-
8
- test:
9
- sessions:
10
- default:
11
- database: groupify_test
12
- hosts:
13
- - localhost:27017