invitation 0.4 → 0.4.1

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: 023e95a8f171a5147aca0e49f2176f6be31295e2
4
- data.tar.gz: be5c790aac760b06b7842ce406b3179a1905fb6a
3
+ metadata.gz: 94e95485452bd9f1629f246807eaa7c986fc09b3
4
+ data.tar.gz: 73b385826f49cea7388edc00d21f895d426e82f8
5
5
  SHA512:
6
- metadata.gz: 628a17cc7eb5c1dafcba5bd5bc603e953da193d8d40fccb1ea3fad51db02ffdffe810cfe892c4f7684fc1a19f4b846e6cc59b53beeefcfaebfbe1a632e9087f2
7
- data.tar.gz: 5d9908ec3acd1b6fdbc9d351539d8ed683a541d5d7cabc9ef76400258c363b7e2f0bd38940798082b17e568f474c581989b0534afa8d8184aba37c69afc2b54e
6
+ metadata.gz: 0d8fbc893b975faa719a60b77ce52c3419ddd7436855fa775ef88f6292a2c298dbc31ea8109d0e2038fc9d7541543f035fa49fd51def5851880b21e24b62af58
7
+ data.tar.gz: b346b58a716f2405f858ca8df0a21562af6222a913532a83c852385a0061c45b16be1e86440bd4a36c35afa02b0e0ac770a74595d81b01463cfa9a4dd4558c66
@@ -26,29 +26,10 @@ module Invitation
26
26
  end
27
27
  end
28
28
 
29
- # def verify_invitable
30
- # return unless options[:invitable]
31
- # options[:invitable].each do |invitable|
32
- # unless File.exists?(invitable_file_path invitable)
33
- # puts "Exiting: the model class you specified to make invitable, #{invitable}, is not found."
34
- # exit 1
35
- # end
36
- # end
37
- # end
38
-
39
29
  def inject_into_user_model
40
30
  inject_into_class model_path, model_class_name, " include Invitation::User\n\n"
41
31
  end
42
32
 
43
- # def inject_into_invitables
44
- # return unless options[:invitable]
45
- # options[:invitable].each do |invitable|
46
- # path = invitable_file_path(invitable)
47
- # class_name = invitable.classify
48
- # inject_into_class path, class_name, " include Invitation::Invitable\n\n"
49
- # end
50
- # end
51
-
52
33
  def copy_migration_files
53
34
  copy_migration 'create_invites.rb'
54
35
  end
@@ -2,6 +2,6 @@ Invitation.configure do |config|
2
2
  # config.user_model = ::User
3
3
  # config.user_registration_url = ->(params) { Rails.application.routes.url_helpers.sign_up_url(params) }
4
4
  # config.mailer_sender = 'reply@example.com'
5
- # config.url_after_invite = '/'
6
5
  # config.routes = true
6
+ # config.case_sensitive_email = true
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module Invitation
2
- VERSION = '0.4'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invitation
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Tomich