beta_invite 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cbbd6e8201b97124364c75da584ae86e53ae17d
|
4
|
+
data.tar.gz: 39d22b03419a455938fd7d90c0a8ba6b7c1d9070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6278215e4a20fb331619c0db2fd7965176711062bcc6adcfb958a009e615b394af4d93953945be37a2b78ffb55afadeff2cbb507b39513ada3ca972ae54d8ffe
|
7
|
+
data.tar.gz: eef72e83afb9b97f1e4de7b26f97d2c38b0dcc04368450e423cea1ed345b616bfd620216ae324eff8d631f719b0a45fe5a30b78f8090f5e40e97f826770ab813
|
data/README.md
CHANGED
@@ -38,6 +38,7 @@ mount BetaInvite::Engine, at: '/'
|
|
38
38
|
|
39
39
|
####Views
|
40
40
|
|
41
|
+
___for version >= 0.1.1___
|
41
42
|
|
42
43
|
You can generate the views that the gem has into your rails app by this below command
|
43
44
|
|
@@ -45,8 +46,6 @@ You can generate the views that the gem has into your rails app by this below co
|
|
45
46
|
rails generate beta_invite:views
|
46
47
|
```
|
47
48
|
|
48
|
-
___ for version >= 0.1.1 ___
|
49
|
-
|
50
49
|
You may wanna upgrade your gem at this point in time
|
51
50
|
|
52
51
|
```ruby
|
@@ -57,6 +56,8 @@ Obviously, you can mount it to any route.
|
|
57
56
|
|
58
57
|
__You may wanna restart your server__
|
59
58
|
|
59
|
+
###[Changelogs](https://github.com/ktkaushik/beta_invite/wiki/Changelog)
|
60
|
+
|
60
61
|
##Contributing
|
61
62
|
```
|
62
63
|
1. Fork it
|
@@ -66,4 +67,4 @@ __You may wanna restart your server__
|
|
66
67
|
5. Create new Pull Request
|
67
68
|
```
|
68
69
|
|
69
|
-
Thank you !
|
70
|
+
Thank you !
|
@@ -1,5 +1,8 @@
|
|
1
1
|
module BetaInvite
|
2
2
|
class BetaInvite < ActiveRecord::Base
|
3
3
|
attr_accessible :email, :token
|
4
|
+
|
5
|
+
# validating email with presence, uniqueness and format
|
6
|
+
validates :email, presence: true, uniqueness: true, format: { with: /\A[^@]+@([^@\.]+\.)+[^@\.]+\z/ }
|
4
7
|
end
|
5
|
-
end
|
8
|
+
end
|
data/lib/beta_invite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beta_invite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaushik Thirthappa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|