edge_rider 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Henning Koch
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -212,3 +212,5 @@ Credits
212
212
  -------
213
213
 
214
214
  Henning Koch from [makandra](http://makandra.com/)
215
+
216
+
data/Rakefile CHANGED
@@ -7,11 +7,16 @@ task :default => 'all:spec'
7
7
  namespace :travis_ci do
8
8
 
9
9
  desc 'Things to do before Travis CI begins'
10
- task :prepare do
10
+ task :prepare => :slimgems do
11
11
  Rake::Task['travis_ci:create_database'].invoke &&
12
12
  Rake::Task['travis_ci:create_database_yml'].invoke
13
13
  end
14
14
 
15
+ desc 'Install slimgems'
16
+ task :slimgems do
17
+ system('gem install slimgems')
18
+ end
19
+
15
20
  desc 'Creates a test database'
16
21
  task :create_database do
17
22
  system("mysql -e 'create database edge_rider_test;'")
@@ -9,9 +9,10 @@ Gem::Specification.new do |s|
9
9
  s.homepage = 'https://github.com/makandra/edge_rider'
10
10
  s.summary = 'Power tools for ActiveRecord relations (scopes)'
11
11
  s.description = s.summary
12
+ s.license = 'MIT'
12
13
 
13
- s.files = `git ls-files`.split("\n")
14
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ s.files = `git ls-files`.split("\n").reject { |path| File.lstat(path).symlink? }
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").reject { |path| File.lstat(path).symlink? }
15
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
17
  s.require_paths = ["lib"]
17
18
 
@@ -1,3 +1,3 @@
1
1
  module EdgeRider
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -6,6 +6,7 @@ gem 'rspec-rails', '~>1.3'
6
6
  gem 'mysql2', '~>0.2.0'
7
7
  gem 'ruby-debug', :platforms => :ruby_18
8
8
  gem 'test-unit', '~>1.2', :platforms => :ruby_19
9
+ gem 'hoe', '=2.8.0', :platforms => :ruby_19
9
10
  gem 'database_cleaner'
10
11
  gem 'andand'
11
12
  gem 'has_defaults'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edge_rider
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-02-14 00:00:00 +01:00
18
+ date: 2013-07-26 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -44,6 +44,7 @@ files:
44
44
  - .gitignore
45
45
  - .rvmrc
46
46
  - .travis.yml
47
+ - LICENSE
47
48
  - README.md
48
49
  - Rakefile
49
50
  - edge_rider.gemspec
@@ -60,7 +61,6 @@ files:
60
61
  - spec/rails-2.3/Gemfile
61
62
  - spec/rails-2.3/Rakefile
62
63
  - spec/rails-2.3/app_root/config/boot.rb
63
- - spec/rails-2.3/app_root/config/database.yml
64
64
  - spec/rails-2.3/app_root/config/environment.rb
65
65
  - spec/rails-2.3/app_root/config/environments/test.rb
66
66
  - spec/rails-2.3/app_root/config/initializers/fix_missing_source_file.rb
@@ -76,7 +76,6 @@ files:
76
76
  - spec/rails-3.0/app_root/.gitignore
77
77
  - spec/rails-3.0/app_root/config/application.rb
78
78
  - spec/rails-3.0/app_root/config/boot.rb
79
- - spec/rails-3.0/app_root/config/database.yml
80
79
  - spec/rails-3.0/app_root/config/environment.rb
81
80
  - spec/rails-3.0/app_root/config/environments/test.rb
82
81
  - spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb
@@ -96,7 +95,6 @@ files:
96
95
  - spec/rails-3.2/app_root/.gitignore
97
96
  - spec/rails-3.2/app_root/config/application.rb
98
97
  - spec/rails-3.2/app_root/config/boot.rb
99
- - spec/rails-3.2/app_root/config/database.yml
100
98
  - spec/rails-3.2/app_root/config/environment.rb
101
99
  - spec/rails-3.2/app_root/config/environments/test.rb
102
100
  - spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb
@@ -127,8 +125,8 @@ files:
127
125
  - spec/shared/spec/edge_rider/util_spec.rb
128
126
  has_rdoc: true
129
127
  homepage: https://github.com/makandra/edge_rider
130
- licenses: []
131
-
128
+ licenses:
129
+ - MIT
132
130
  post_install_message:
133
131
  rdoc_options: []
134
132
 
@@ -1,6 +0,0 @@
1
- test:
2
- adapter: mysql2
3
- host: localhost
4
- username: root
5
- password: junior
6
- database: edge_rider_test
@@ -1,6 +0,0 @@
1
- test:
2
- adapter: mysql2
3
- host: localhost
4
- username: root
5
- password: junior
6
- database: edge_rider_test
@@ -1,6 +0,0 @@
1
- test:
2
- adapter: mysql2
3
- host: localhost
4
- username: root
5
- password: junior
6
- database: edge_rider_test