omniauth-myob 0.0.1 → 0.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1f26f20879e76c28966b04d37682fbe8a5a67f09
4
+ data.tar.gz: a31b8ed6be6a8dc245692f7c777c32521792665e
5
+ SHA512:
6
+ metadata.gz: f65710e440dc0cf752ed97f6249ab7a10ce0039738d950953de12f00ab5abeb59c88d789d5f538d490cc8f7953b88729e027679721a9ad17fd47ca2653644355
7
+ data.tar.gz: 55c20c3a4a2f68615f8434e97b8ed8a54c64c98c7c1ff9d7f5fba3ae8aef81ef8c98e82b2f4a5a70b3d77e2a885bd532e3839f554894662f24cc0db89917ea47
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- Register on Intuit's [developer site](http://developer.myob.com/) and create an application.
23
+ Register on MYOB's [developer site](http://developer.myob.com/) and create an application.
24
24
 
25
25
  For a Rack application:
26
26
 
@@ -45,4 +45,4 @@ For a Rails application:
45
45
 
46
46
  ## Todo
47
47
 
48
- * Testing
48
+ * Testing
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Myob
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -12,6 +12,10 @@ module OmniAuth
12
12
  :token_url => '/oauth2/v1/authorize',
13
13
  }
14
14
 
15
+ option :authorize_params, {
16
+ 'scope' => 'CompanyFile'
17
+ }
18
+
15
19
  uid { raw_info[0]['Id'] }
16
20
 
17
21
  info do
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-myob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Lumley
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-18 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: omniauth-oauth2
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.3'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.3'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: MYOB authentication strategy for OmniAuth
@@ -66,7 +59,7 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .gitignore
62
+ - ".gitignore"
70
63
  - Gemfile
71
64
  - LICENSE.txt
72
65
  - README.md
@@ -78,32 +71,25 @@ files:
78
71
  homepage: https://github.com/davidlumley/omniauth-myob
79
72
  licenses:
80
73
  - MIT
74
+ metadata: {}
81
75
  post_install_message:
82
76
  rdoc_options: []
83
77
  require_paths:
84
78
  - lib
85
79
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
80
  requirements:
88
- - - ! '>='
81
+ - - ">="
89
82
  - !ruby/object:Gem::Version
90
83
  version: '0'
91
- segments:
92
- - 0
93
- hash: -1278807071502576347
94
84
  required_rubygems_version: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - ">="
98
87
  - !ruby/object:Gem::Version
99
88
  version: '0'
100
- segments:
101
- - 0
102
- hash: -1278807071502576347
103
89
  requirements: []
104
90
  rubyforge_project:
105
- rubygems_version: 1.8.23
91
+ rubygems_version: 2.2.2
106
92
  signing_key:
107
- specification_version: 3
93
+ specification_version: 4
108
94
  summary: MYOB authentication strategy for OmniAuth
109
95
  test_files: []