wso2_toolbox 0.2.2 → 0.2.3

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: a800c959c69840a0edb7033fe8df4a0510436dcd
4
- data.tar.gz: 3a7f023af2056ab76a1bbc6f0e73eb93c761949e
3
+ metadata.gz: d0df74c3b934dca8ce0a6115f19953de2be5ba2c
4
+ data.tar.gz: e7ef632221da9343dedcbf8883e8d69afcc0205d
5
5
  SHA512:
6
- metadata.gz: e4496e4eb8b6da0b2760d15a6a9b70e280dbbad021637a12bfe26a5f89967cbf6f51fd0030f0e4bc08fb703c34d745aa83fa6d7f3d593678318d4c83c2f594ff
7
- data.tar.gz: bb74cfba317bbb8502f9e63b8216248a62dcb811e86c32d19a426a9b631efca4648bf76a97ecce30bc536f26658fdd918536b25c58278efbeb2d2e583397fcca
6
+ metadata.gz: b30d842325c67739c594a13dfa2c8dee5af29716c84bf72374b6360658271cc0974b77dca4b6b51b1c2cb2b72515601f42ebcaf16e4daacf57b5632a4788dd87
7
+ data.tar.gz: 78720b4a1c8c2a5d07a1bf02e21d3d15f9f6f522f0a3d51618dca01f1dafe3a35c12e5563deecfef516eed29a390d2cffdfe7203e78357eb1a667d8b045f6ea8
data/.env.development CHANGED
@@ -1,4 +1,4 @@
1
1
  # Generate token credentials
2
2
  TOKEN_USERNAME='svc-cedrobco_h'
3
3
  TOKEN_PASSWORD='Toor@2017'
4
- TOKEN_URL='http://172.16.13.67:8010/authentication/login'
4
+ TOKEN_URL='http://172.16.13.67:8010/auth/users/login'
data/.env.pipelines CHANGED
@@ -1,2 +1,2 @@
1
1
  # generate token URL
2
- TOKEN_URL='http://172.16.13.67:8010/authentication/login'
2
+ TOKEN_URL='http://172.16.13.67:8010/auth/users/login'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wso2_toolbox (0.2.2)
4
+ wso2_toolbox (0.2.3)
5
5
  actionpack (>= 5.0)
6
6
  activesupport (>= 5.0)
7
7
  request_store (~> 1.3.2)
@@ -105,7 +105,7 @@ GEM
105
105
  thread_safe (~> 0.1)
106
106
  unf (0.1.4)
107
107
  unf_ext
108
- unf_ext (0.0.7.4)
108
+ unf_ext (0.0.7.5)
109
109
  vcr (4.0.0)
110
110
  webmock (3.2.1)
111
111
  addressable (>= 2.3.6)
@@ -5,6 +5,7 @@ pipelines:
5
5
  - step:
6
6
  script:
7
7
  - git archive --remote=git@bitbucket.org:guideinvestimentos/rails_defaults.git HEAD .rubocop.yml | tar -x
8
+ - gem install bundler
8
9
  - bundle install
9
10
  - mv .env.pipelines .env
10
11
  - gem install rubocop
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'rest-client'
4
+ require 'active_support/core_ext/hash'
4
5
 
5
6
  module Wso2Toolbox
6
7
  module TokenManager
@@ -18,7 +19,7 @@ module Wso2Toolbox
18
19
 
19
20
  def build_params
20
21
  {
21
- username: config.token_username,
22
+ user_name: config.token_username,
22
23
  password: config.token_password
23
24
  }
24
25
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wso2Toolbox
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wso2_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abner Carleto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack