effective_qb_sync 1.1.1 → 1.1.2
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: 955a0dfd053b2c5bdcaced150130a36edc5dc619
|
|
4
|
+
data.tar.gz: afe854879e35c66ec61e91ba3a366f2aef3adfd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3c4888a5226878fe7de7a6b52103319a27c3d5a6d93309463b6ed0ff99912506a3066d265667ea5bd44433b5d30530971af205fa3d4a677acfd080402039b4b
|
|
7
|
+
data.tar.gz: 4c87ea49e3a70b10661696ade8ca169969fa719b6614a891d3b9e0b34b4cb45e6c9841e27ecbc444fcea70f19cd700176c8ec909706d83682e64d7f0740d0608
|
|
@@ -254,7 +254,7 @@ module Effective
|
|
|
254
254
|
|
|
255
255
|
# determines if this username and password is valid
|
|
256
256
|
def authentication_valid?(username,password)
|
|
257
|
-
(
|
|
257
|
+
Array(EffectiveQbSync.quickbooks_username).include?(username) && Array(EffectiveQbSync.quickbooks_password).include?(password)
|
|
258
258
|
end
|
|
259
259
|
|
|
260
260
|
# returns how much more work is to be done. If there is no more work to be done, it will return 0, else,
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
Click Company -> Set up Users and Passwords -> Set Up Users...
|
|
12
12
|
- if EffectiveQbSync.quickbooks_username.present? && EffectiveQbSync.quickbooks_password.present?
|
|
13
13
|
%li
|
|
14
|
-
Add a Quickbooks user with username
|
|
15
|
-
%strong= EffectiveQbSync.quickbooks_username
|
|
16
|
-
and password
|
|
17
|
-
%strong= EffectiveQbSync.quickbooks_password
|
|
14
|
+
Add a Quickbooks user with username:
|
|
15
|
+
%strong= Array(EffectiveQbSync.quickbooks_username).join('</strong> or <strong>').html_safe
|
|
16
|
+
and password:
|
|
17
|
+
%strong= Array(EffectiveQbSync.quickbooks_password).join('</strong> or <strong>').html_safe
|
|
18
18
|
- else
|
|
19
19
|
%li
|
|
20
20
|
(developer) Add a quickbooks_username and quickbooks_password to the config/initializers/effective_qb_sync.rb file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_qb_sync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|