active_sanity 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,9 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["VersaPay", "Philippe Creux"]
10
10
  s.email = ["philippe.creux@versapay.com"]
11
11
  s.homepage = ""
12
- s.summary = %q{Active Record databases Sanity Check }
13
- s.description = %q{Performs a sanity check on your database through active record validations.}
12
+ s.summary = %q{Checks Sanity of Active Record records}
13
+ s.description = %q{Performs a Sanity Check of your database by logging all invalid Active Records}
14
+ s.homepage = "https://github.com/versapay/active_sanity"
14
15
 
15
16
  s.add_dependency "rails", ">=3.0.0"
16
17
 
@@ -18,8 +19,6 @@ Gem::Specification.new do |s|
18
19
  s.add_development_dependency "cucumber"
19
20
  s.add_development_dependency "sqlite3"
20
21
 
21
- s.rubyforge_project = "active_sanity"
22
-
23
22
  s.files = `git ls-files`.split("\n")
24
23
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
25
24
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -20,7 +20,7 @@ Feature: Check sanity
20
20
  Scenario: Check sanity on database with invalid records
21
21
  Given the database contains a few valid records
22
22
  And the first user's username is empty and the first post category_id is nil
23
- When I run "rake db:check_sanity --trace"
23
+ When I run "rake db:check_sanity"
24
24
  Then I should see the following invalid records:
25
25
  | User | 1 | {:username=>["can't be blank", "is too short (minimum is 3 characters)"]} |
26
26
  | Post | 1 | {:category=>["can't be blank"]} |
@@ -1,3 +1,3 @@
1
1
  module ActiveSanity
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 2
10
- version: 0.0.2
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - VersaPay
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-03-29 00:00:00 -07:00
19
+ date: 2011-03-30 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: "0"
78
78
  type: :development
79
79
  version_requirements: *id004
80
- description: Performs a sanity check on your database through active record validations.
80
+ description: Performs a Sanity Check of your database by logging all invalid Active Records
81
81
  email:
82
82
  - philippe.creux@versapay.com
83
83
  executables: []
@@ -106,7 +106,7 @@ files:
106
106
  - lib/generators/active_sanity/templates/create_invalid_records.rb
107
107
  - test/rails_template.rb
108
108
  has_rdoc: true
109
- homepage: ""
109
+ homepage: https://github.com/versapay/active_sanity
110
110
  licenses: []
111
111
 
112
112
  post_install_message:
@@ -134,11 +134,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: "0"
135
135
  requirements: []
136
136
 
137
- rubyforge_project: active_sanity
137
+ rubyforge_project:
138
138
  rubygems_version: 1.3.7
139
139
  signing_key:
140
140
  specification_version: 3
141
- summary: Active Record databases Sanity Check
141
+ summary: Checks Sanity of Active Record records
142
142
  test_files:
143
143
  - features/check_sanity.feature
144
144
  - features/check_sanity_with_db_storage.feature