mno-enterprise-api 2.0.5 → 2.0.6

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: 946bdc47f1f8bc49a5186e9b31e946ee43d6138d
4
- data.tar.gz: 3284bb90d1d1c4324dbcacd8dc06766eac18cb10
3
+ metadata.gz: b378d18639a151ba03cd41fc9e9c9c1916fbbe40
4
+ data.tar.gz: 1536d49ae94a3d1bf491882e66905339a864517b
5
5
  SHA512:
6
- metadata.gz: 19b2e1ecd70323064db222edb817653ae82cbd9fd7b0e1737d79ea109f0410431240ae4e1805f69464dcca8a9c5209ff56fb88d360cc36d8770bc8288ec89312
7
- data.tar.gz: 8846c11e6b1bf335bb454f0575952b64a27d914678ea191e943eca125805371fce6e53ecbda133f1930c926e61b2471134846a04614ca503086ef061da020168
6
+ metadata.gz: 1aa7d102920b4344ad0f72cb6927c7b5c43cce8b97db02ca3fbb595854f9674eb24adfa3e9bd7378bae68986ba072e893af53e01cdd5f949597479faf490fe5e
7
+ data.tar.gz: ec0f67437d05d6cfe780c8134b9caaebd25742dfa5cf41182cc9a26ecc68c6c5101f42392a124070e5d90577c7266eb5d65fd1edbface8bebd424bc472f650a9
@@ -1,4 +1,4 @@
1
- %div{ 'ng-init' => "user = { $pwdScore: {}, name: '#{resource.name}', surname: '#{resource.surname}' }" }
1
+ %div{ 'ng-init' => "user = { $pwdScore: {}, name: '#{resource.name}', surname: '#{resource.surname}', phone: '#{resource.phone}' }" }
2
2
 
3
3
  = form_for(resource, as: resource_name, :url => mno_enterprise.user_confirmation_finalize_path, :html => { 'name' => 'loginForm', :class => 'autofill-detect text-center' }) do |f|
4
4
 
@@ -18,8 +18,8 @@
18
18
  .col-sm-12
19
19
  .phone
20
20
  = f.select :phone_country_code, options_for_select(Country.all.map { |country,code| c = Country.new(code); ["#{c.alpha2} +#{c.country_code}", code]}, MnoEnterprise.app_country), {}, class: 'form-control unstyled'
21
- = f.text_field :phone, placeholder: "*Phone", required: true, 'ng-model' => 'user.phone_number', class: 'form-control'
22
-
21
+ = f.text_field :phone, placeholder: "*Phone", required: true, 'ng-model' => 'user.phone', class: 'form-control'
22
+
23
23
  %br
24
24
 
25
25
  - # Password: two validation styles offered
@@ -46,4 +46,4 @@
46
46
  %br/
47
47
  %div
48
48
  %button{ :class => "btn btn-warning btn-login", :type => "submit", 'ng-click' => 'hasClicked = true', 'ng-disabled' => 'loginForm.$invalid', 'ng-hide' => 'hasClicked' } Confirm my account
49
- %img.ng-hide{ 'ng-src' => asset_path('mno_enterprise/loader-32x32-bg-inverse.gif'), 'ng-show' => 'hasClicked' }
49
+ %img.ng-hide{ 'ng-src' => asset_path('mno_enterprise/loader-32x32-bg-inverse.gif'), 'ng-show' => 'hasClicked' }
@@ -2,6 +2,6 @@ json.credit_card do
2
2
  if credit_card
3
3
  json.extract! credit_card, :id, :title,:first_name,:last_name,:month,:year,:country,:billing_address,:billing_city,:billing_postcode, :billing_country
4
4
  json.number credit_card.masked_number
5
- json.verification_value 'CVV'
5
+ json.verification_value credit_card.id ? 'CVV' : nil
6
6
  end
7
- end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mno-enterprise-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-09 00:00:00.000000000 Z
12
+ date: 2016-09-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mno-enterprise-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 2.0.5
20
+ version: 2.0.6
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 2.0.5
27
+ version: 2.0.6
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: jbuilder
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
343
343
  version: '0'
344
344
  requirements: []
345
345
  rubyforge_project:
346
- rubygems_version: 2.5.1
346
+ rubygems_version: 2.4.8
347
347
  signing_key:
348
348
  specification_version: 4
349
349
  summary: Maestrano Enterprise - API