raygun 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.0.26 [2013-02-24]
4
+
5
+ * Validate presense of name on User
6
+ * Drop rspec and capybara version constraints from the Gemfile
7
+
3
8
  ## 0.0.25 [2013-02-20]
4
9
 
5
10
  * Generated controller specs now pass without intervention.
@@ -27,8 +27,8 @@ group :assets do
27
27
  end
28
28
 
29
29
  group :test, :development do
30
- gem 'rspec-rails', '~> 2.12.0'
31
- gem 'capybara', '~> 2.0'
30
+ gem 'rspec-rails'
31
+ gem 'capybara'
32
32
  gem 'capybara-email'
33
33
  gem 'factory_girl_rails'
34
34
  gem 'jasminerice'
@@ -5,6 +5,7 @@ class User < ActiveRecord::Base
5
5
  authenticates_with_sorcery!
6
6
 
7
7
  validates :name,
8
+ presence: true,
8
9
  length: { maximum: 30 }
9
10
 
10
11
  validates :email,
@@ -7,7 +7,7 @@ describe User do
7
7
 
8
8
  describe "name" do
9
9
  it "is required" do
10
- expect(subject).to_not accept_values(:email, nil, '')
10
+ expect(subject).to_not accept_values(:name, nil, '')
11
11
  end
12
12
 
13
13
  it "should be less than 30 characters" do
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: raygun
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.25
5
+ version: 0.0.26
6
6
  platform: ruby
7
7
  authors:
8
8
  - Christian Nelson
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-02-20 00:00:00.000000000 Z
14
+ date: 2013-02-25 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: Carbon Five Rails application generator
17
17
  email: