web-connect-rails 0.1.9 → 0.1.10
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bd5452e84139a078f753a3a5a826dd841f2de11
|
|
4
|
+
data.tar.gz: edceb20eec52e42e617c47ca9d8ecb381aacaeb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28c7a23a9af8dfed9aa777b3f875c823c6dc6981639b70166a1526b8ddae71fe9f3116d2e0f13b431850f87c40db6d12715325ce14f30b6333c4b253af8c62cb
|
|
7
|
+
data.tar.gz: 4ec6f0fbc494c255f10283d766b6d575e62b542459295d263e678d7e8c274f3ab6aa7fc97ecdede2fb4f0db2536e4d82ec02c3d27263540fc8ebddede1c5e14f
|
|
@@ -4,14 +4,6 @@ Netfira::WebConnect::Rails.configure do |config|
|
|
|
4
4
|
# prefix will be routed to WebConnect, e.g. /webconnect/8/info
|
|
5
5
|
config.uri_namespace = 'webconnect'
|
|
6
6
|
|
|
7
|
-
# By default, WebConnect will use the host application's database.
|
|
8
|
-
# Uncomment this section if you want to use a different database.
|
|
9
|
-
#
|
|
10
|
-
# config.db = {
|
|
11
|
-
# adapter: 'sqlite3',
|
|
12
|
-
# database: "#{Rails.root}/db/wc_#{Rails.env}.sqlite3"
|
|
13
|
-
# }
|
|
14
|
-
|
|
15
7
|
# Tables created by WebConnect will be prefixed with this string.
|
|
16
8
|
# You can remove this option if WebConnect isn't sharing the host
|
|
17
9
|
# application's database.
|
|
@@ -38,7 +30,7 @@ Netfira::WebConnect::Rails.configure do |config|
|
|
|
38
30
|
#
|
|
39
31
|
# Your handler may also return a string that clients should use as
|
|
40
32
|
# a password in subsequent requests.
|
|
41
|
-
# TODO: Real
|
|
33
|
+
# TODO: Real authentication
|
|
42
34
|
config.on_authenticate do |shop_name, password|
|
|
43
35
|
!shop_name.nil? && !password.nil?
|
|
44
36
|
end
|
|
@@ -48,6 +40,6 @@ Netfira::WebConnect::Rails.configure do |config|
|
|
|
48
40
|
# and set a session lifetime. Assign `true` if you won't want your
|
|
49
41
|
# sessions to expire.
|
|
50
42
|
#
|
|
51
|
-
|
|
43
|
+
config.session_lifetime = 90.days
|
|
52
44
|
|
|
53
45
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web-connect-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Neil E. Pearson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.1.
|
|
33
|
+
version: 0.1.10
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.1.
|
|
40
|
+
version: 0.1.10
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: sqlite3
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|