milia 1.1.1 → 1.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01d5ec28d364287e5523aa540cc862856a393bc9
4
- data.tar.gz: 076c4aa7c92ebce3d96bcee694eaae717d2c643c
3
+ metadata.gz: 79734aeaf103cdc61a4ebce073a840cac3e359ab
4
+ data.tar.gz: d521ade804dda61d0743cfd7f9427bdace6c226f
5
5
  SHA512:
6
- metadata.gz: d6342ef6369d9d7fa0d1a678fed1b3b204e6ceac4945649f14ffaea9dc28208e9615f9cebb9b3119b488c3108416ccf7fef785071d08ae7f218a7757a7da933b
7
- data.tar.gz: da893d949eaf5cb57d38fc31332ad4bcf9e6a44a6713256572f01ddfcb346c8d327506abd58e0161d64b5994f78bb29b21fa647839b0487e6df961a9cec4a28b
6
+ metadata.gz: 1fe1f3293e03e3af8f1689f51bc860a2d0a8592e51735c762db25b1b3a8e4ee547dc16bd26ec0bbbbbc4749c608fc62c651e513ac2c4b3adf3b8d7f4fe572030
7
+ data.tar.gz: 806f8f3bf695d6f2cd9ecde69af8f5e4099d6791b09432a96001344a9ccb672e879748ed2f8a04939ba7b6e7fa2e93626c77db182dc51c7cfa2d682d9e893b07
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # milia
2
2
 
3
- Milia is a multi-tenanting gem for hosted Rails 4.1.x applications which use
3
+ Milia is a multi-tenanting gem for hosted Rails 4.2.x applications which use
4
4
  the devise gem for user authentication and registrations. Milia comes with
5
5
  tailoring for common use cases needing multi-tenanting with user authentication.
6
6
 
@@ -37,13 +37,16 @@ by invitation. New tenants are not created for every new user.
37
37
 
38
38
  ## Version
39
39
 
40
- milia v1.1.1 is the release version for Rails 4.1.x and is now available for usage.
41
- I will soon start working on the Rails 4.2 release ... on the newdev branch.
40
+ milia v1.2.0 is the release version for Rails 4.2.x and is now available for usage.
41
+
42
+
43
+ ## v1.2.0 - What's changed?
44
+ * Rails 4.2.x adapted
45
+ * fixes Issue #42: Redirect loop (sign up & activate with email1; trying to sign up again with email1 fails but immediately signing in with email1 caused a redirect loop).
42
46
 
43
47
  ## v1.1.x - What's changed?
44
48
  * Rails 4.1.x adapted
45
49
  * Devise 3.4.x adapted
46
- * fixes Issue #42: Redirect loop (sign up & activate with email1; trying to sign up again with email1 fails but immediately signing in with email1 caused a redirect loop).
47
50
 
48
51
  ## v1.0.x - What's changed?
49
52
 
@@ -1,3 +1,3 @@
1
1
  module Milia
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'rails', '~> 4.1'
21
+ spec.add_dependency 'rails', '~> 4.2'
22
22
  spec.add_dependency 'devise', '~> 3.4'
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.7"
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
  ruby "2.1.3" # heroku likes this at the head, as line 2
3
3
 
4
4
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
- gem 'rails', '4.1.6'
5
+ gem 'rails', '~> 4.2'
6
6
 
7
7
  # Use sqlite3 as the database for Active Record
8
8
  gem 'sqlite3'
@@ -1,6 +1,6 @@
1
1
  GIT
2
2
  remote: git://github.com/rails/activerecord-session_store.git
3
- revision: e879bf087eb684452aaddb734efa20b95588b141
3
+ revision: a30ec3117d189bfe67261e3c80364627107d76ea
4
4
  specs:
5
5
  activerecord-session_store (0.1.0)
6
6
  actionpack (>= 4.0.0, < 5)
@@ -10,41 +10,50 @@ GIT
10
10
  PATH
11
11
  remote: ../../milia
12
12
  specs:
13
- milia (1.1.0)
14
- devise (~> 3.4.0)
15
- rails (~> 4.1.6)
13
+ milia (1.2.0)
14
+ devise (~> 3.4)
15
+ rails (~> 4.2)
16
16
 
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
20
  SystemTimer (1.2.3)
21
- actionmailer (4.1.6)
22
- actionpack (= 4.1.6)
23
- actionview (= 4.1.6)
21
+ actionmailer (4.2.0)
22
+ actionpack (= 4.2.0)
23
+ actionview (= 4.2.0)
24
+ activejob (= 4.2.0)
24
25
  mail (~> 2.5, >= 2.5.4)
25
- actionpack (4.1.6)
26
- actionview (= 4.1.6)
27
- activesupport (= 4.1.6)
28
- rack (~> 1.5.2)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ actionpack (4.2.0)
28
+ actionview (= 4.2.0)
29
+ activesupport (= 4.2.0)
30
+ rack (~> 1.6.0)
29
31
  rack-test (~> 0.6.2)
30
- actionview (4.1.6)
31
- activesupport (= 4.1.6)
32
+ rails-dom-testing (~> 1.0, >= 1.0.5)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
34
+ actionview (4.2.0)
35
+ activesupport (= 4.2.0)
32
36
  builder (~> 3.1)
33
37
  erubis (~> 2.7.0)
34
- activemodel (4.1.6)
35
- activesupport (= 4.1.6)
38
+ rails-dom-testing (~> 1.0, >= 1.0.5)
39
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
40
+ activejob (4.2.0)
41
+ activesupport (= 4.2.0)
42
+ globalid (>= 0.3.0)
43
+ activemodel (4.2.0)
44
+ activesupport (= 4.2.0)
36
45
  builder (~> 3.1)
37
- activerecord (4.1.6)
38
- activemodel (= 4.1.6)
39
- activesupport (= 4.1.6)
40
- arel (~> 5.0.0)
41
- activesupport (4.1.6)
42
- i18n (~> 0.6, >= 0.6.9)
46
+ activerecord (4.2.0)
47
+ activemodel (= 4.2.0)
48
+ activesupport (= 4.2.0)
49
+ arel (~> 6.0)
50
+ activesupport (4.2.0)
51
+ i18n (~> 0.7)
43
52
  json (~> 1.7, >= 1.7.7)
44
53
  minitest (~> 5.1)
45
- thread_safe (~> 0.1)
54
+ thread_safe (~> 0.3, >= 0.3.4)
46
55
  tzinfo (~> 1.1)
47
- arel (5.0.1.20140414130214)
56
+ arel (6.0.0)
48
57
  bcrypt (3.1.9)
49
58
  builder (3.2.2)
50
59
  coffee-rails (4.1.0)
@@ -54,7 +63,7 @@ GEM
54
63
  coffee-script-source
55
64
  execjs
56
65
  coffee-script-source (1.8.0)
57
- devise (3.4.0)
66
+ devise (3.4.1)
58
67
  bcrypt (~> 3.0)
59
68
  orm_adapter (~> 0.1)
60
69
  railties (>= 3.2.6, < 5)
@@ -63,12 +72,15 @@ GEM
63
72
  warden (~> 1.2.3)
64
73
  erubis (2.7.0)
65
74
  execjs (2.2.2)
75
+ globalid (0.3.0)
76
+ activesupport (>= 4.1.0)
66
77
  haml (4.1.0.beta.1)
67
78
  tilt
68
- haml-rails (0.5.3)
79
+ haml-rails (0.7.0)
69
80
  actionpack (>= 4.0.1)
70
81
  activesupport (>= 4.0.1)
71
82
  haml (>= 3.1, < 5.0)
83
+ html2haml (>= 1.0.1)
72
84
  railties (>= 4.0.1)
73
85
  hike (1.2.3)
74
86
  hpricot (0.8.6)
@@ -77,62 +89,78 @@ GEM
77
89
  haml (>= 4.0.0.rc.1)
78
90
  hpricot (~> 0.8.6)
79
91
  ruby_parser (~> 3.1.1)
80
- i18n (0.6.11)
81
- jbuilder (2.2.3)
92
+ i18n (0.7.0)
93
+ jbuilder (2.2.6)
82
94
  activesupport (>= 3.0.0, < 5)
83
95
  multi_json (~> 1.2)
84
- jquery-rails (3.1.2)
85
- railties (>= 3.0, < 5.0)
96
+ jquery-rails (4.0.3)
97
+ rails-dom-testing (~> 1.0)
98
+ railties (>= 4.2.0)
86
99
  thor (>= 0.14, < 2.0)
87
- json (1.8.1)
100
+ json (1.8.2)
88
101
  libv8 (3.16.14.7)
89
- mail (2.6.1)
102
+ loofah (2.0.1)
103
+ nokogiri (>= 1.5.9)
104
+ mail (2.6.3)
90
105
  mime-types (>= 1.16, < 3)
91
106
  mime-types (2.4.3)
92
- minitest (5.4.2)
107
+ mini_portile (0.6.2)
108
+ minitest (5.5.1)
93
109
  multi_json (1.10.1)
110
+ nokogiri (1.6.5)
111
+ mini_portile (~> 0.6.0)
94
112
  orm_adapter (0.5.0)
95
- puma (2.9.1)
113
+ puma (2.10.2)
96
114
  rack (>= 1.1, < 2.0)
97
- rack (1.5.2)
98
- rack-test (0.6.2)
115
+ rack (1.6.0)
116
+ rack-test (0.6.3)
99
117
  rack (>= 1.0)
100
- rack-timeout (0.1.0)
101
- rails (4.1.6)
102
- actionmailer (= 4.1.6)
103
- actionpack (= 4.1.6)
104
- actionview (= 4.1.6)
105
- activemodel (= 4.1.6)
106
- activerecord (= 4.1.6)
107
- activesupport (= 4.1.6)
118
+ rack-timeout (0.1.1)
119
+ rails (4.2.0)
120
+ actionmailer (= 4.2.0)
121
+ actionpack (= 4.2.0)
122
+ actionview (= 4.2.0)
123
+ activejob (= 4.2.0)
124
+ activemodel (= 4.2.0)
125
+ activerecord (= 4.2.0)
126
+ activesupport (= 4.2.0)
108
127
  bundler (>= 1.3.0, < 2.0)
109
- railties (= 4.1.6)
110
- sprockets-rails (~> 2.0)
128
+ railties (= 4.2.0)
129
+ sprockets-rails
130
+ rails-deprecated_sanitizer (1.0.3)
131
+ activesupport (>= 4.2.0.alpha)
132
+ rails-dom-testing (1.0.5)
133
+ activesupport (>= 4.2.0.beta, < 5.0)
134
+ nokogiri (~> 1.6.0)
135
+ rails-deprecated_sanitizer (>= 1.0.1)
136
+ rails-html-sanitizer (1.0.1)
137
+ loofah (~> 2.0)
111
138
  rails_12factor (0.0.3)
112
139
  rails_serve_static_assets
113
140
  rails_stdout_logging
114
- rails_serve_static_assets (0.0.2)
141
+ rails_serve_static_assets (0.0.3)
115
142
  rails_stdout_logging (0.0.3)
116
- railties (4.1.6)
117
- actionpack (= 4.1.6)
118
- activesupport (= 4.1.6)
143
+ railties (4.2.0)
144
+ actionpack (= 4.2.0)
145
+ activesupport (= 4.2.0)
119
146
  rake (>= 0.8.7)
120
147
  thor (>= 0.18.1, < 2.0)
121
- rake (10.3.2)
122
- rdoc (4.1.2)
148
+ rake (10.4.2)
149
+ rdoc (4.2.0)
123
150
  json (~> 1.4)
124
151
  recaptcha (0.3.6)
125
152
  ref (1.0.5)
126
- responders (1.1.1)
127
- railties (>= 3.2, < 4.2)
153
+ responders (2.0.2)
154
+ railties (>= 4.2.0.alpha, < 5)
128
155
  ruby_parser (3.1.3)
129
156
  sexp_processor (~> 4.1)
130
- sass (3.2.19)
131
- sass-rails (4.0.3)
157
+ sass (3.4.9)
158
+ sass-rails (5.0.1)
132
159
  railties (>= 4.0.0, < 5.0)
133
- sass (~> 3.2.0)
134
- sprockets (~> 2.8, <= 2.11.0)
135
- sprockets-rails (~> 2.0)
160
+ sass (~> 3.1)
161
+ sprockets (>= 2.8, < 4.0)
162
+ sprockets-rails (>= 2.0, < 4.0)
163
+ tilt (~> 1.1)
136
164
  sdoc (0.4.1)
137
165
  json (~> 1.7, >= 1.7.7)
138
166
  rdoc (~> 4.0)
@@ -143,16 +171,16 @@ GEM
143
171
  shoulda-context (1.2.1)
144
172
  shoulda-matchers (2.7.0)
145
173
  activesupport (>= 3.0.0)
146
- sprockets (2.11.0)
174
+ sprockets (2.12.3)
147
175
  hike (~> 1.2)
148
176
  multi_json (~> 1.0)
149
177
  rack (~> 1.0)
150
178
  tilt (~> 1.1, != 1.3.0)
151
- sprockets-rails (2.2.0)
179
+ sprockets-rails (2.2.2)
152
180
  actionpack (>= 3.0)
153
181
  activesupport (>= 3.0)
154
182
  sprockets (>= 2.8, < 4.0)
155
- sqlite3 (1.3.9)
183
+ sqlite3 (1.3.10)
156
184
  therubyracer (0.12.1)
157
185
  libv8 (~> 3.16.14.0)
158
186
  ref
@@ -161,7 +189,7 @@ GEM
161
189
  tilt (1.4.1)
162
190
  tzinfo (1.2.2)
163
191
  thread_safe (~> 0.1)
164
- uglifier (2.5.3)
192
+ uglifier (2.7.0)
165
193
  execjs (>= 0.3.0)
166
194
  json (>= 1.8.0)
167
195
  warden (1.2.3)
@@ -182,7 +210,7 @@ DEPENDENCIES
182
210
  milia!
183
211
  puma
184
212
  rack-timeout
185
- rails (= 4.1.6)
213
+ rails (~> 4.2)
186
214
  rails_12factor
187
215
  recaptcha
188
216
  sass-rails
@@ -25,7 +25,7 @@ class UserTest < ActiveSupport::TestCase
25
25
  should_not allow_value("wild blue").for(:email)
26
26
 
27
27
  should have_db_column(:tenant_id)
28
- should have_db_column(:skip_confirm_change_password).with_options(default: false)
28
+ should have_db_column(:skip_confirm_change_password).with_options(default: 'f')
29
29
 
30
30
  should have_db_index(:email)
31
31
  should have_db_index(:confirmation_token)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daudi amani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-03 00:00:00.000000000 Z
11
+ date: 2015-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: devise
29
29
  requirement: !ruby/object:Gem::Requirement