maestrano-connector-rails 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03e849cc496ff0216e246b33f8904d7aa450722a
4
- data.tar.gz: b65cf788895f75129890171bfd985ccf9a191e88
3
+ metadata.gz: 252ed0e53f7dcb7b820c329f3cfac7f1a6523633
4
+ data.tar.gz: e3fc619f7c65568d1b4db83e918ffd17b1b26556
5
5
  SHA512:
6
- metadata.gz: 9d05c0c74087c05ea52489d8718b24a4494cbfc14ef6aa2bfde1282c9169e7a4686ab9dcfa5de986033e58f92067fd31ae9e0a9085afea8189a9f0caf8942348
7
- data.tar.gz: 151e670d0d035f8e75e47a1cc74a29e28a9b220e6d70b5cc776a186867f6a02ee27757be514a0039330c4ea6002d28c87e710e7adde50885bdc5420f82da4dd0
6
+ metadata.gz: 0ebed3f59cbe4a425b82c2a532244b4f2e7fd3b3feba3b46135b6fc39e40fce131a7ac0837132dbae7abec21c9446e47ce1c0878bbe9cf625e9bd3f3c946f213
7
+ data.tar.gz: ad5443f7a03bd2c41e12945ed65d7655dffba7e4f6b2602b864cf49c24f0045d73a4f7cc46b157b76a6c79d63a11b12d80d2bda6a75e11560b0c46b5769116fe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -1,19 +1,10 @@
1
1
  class AddEncryptionOnOauthKeys < ActiveRecord::Migration
2
2
  def change
3
- tokens = Maestrano::Connector::Rails::Organization.all.map{|o|
4
- {id: o.id, oauth_token: o.oauth_token, refresh_token: o.refresh_token}
5
- }
6
-
7
3
  rename_column :organizations, :oauth_token, :encrypted_oauth_token
8
4
  add_column :organizations, :encrypted_oauth_token_iv, :string
9
5
  add_column :organizations, :encrypted_oauth_token_salt, :string
10
6
  rename_column :organizations, :refresh_token, :encrypted_refresh_token
11
7
  add_column :organizations, :encrypted_refresh_token_iv, :string
12
8
  add_column :organizations, :encrypted_refresh_token_salt, :string
13
-
14
- tokens.each do |token|
15
- o = Maestrano::Connector::Rails::Organization.find(token[:id])
16
- o.update(oauth_token: token[:oauth_token], refresh_token: token[:refresh_token])
17
- end
18
9
  end
19
10
  end
@@ -66,7 +66,7 @@
66
66
  .col-md-6
67
67
  %small#historical-data-display-unchecked{style: "display: #{@organization.historical_data ? 'none' : 'block'}"} Only data created after #{(@organization.date_filtering_limit && @organization.date_filtering_limit.utc || Time.now.utc).to_formatted_s(:long_ordinal)} will be synchronized
68
68
  %small#historical-data-display-checked{style: "display: #{!@organization.historical_data ? 'none' : 'block'}"}
69
- Synchronizing your historical data will share all data in ApplicationName. This action is not reversible. Want to know more? Check
69
+ Synchronizing your historical data will share all data, including the one created prior to #{Time.now.utc} in ApplicationName. This action is <strong>not reversible</strong>. Want to know more? Check
70
70
  = link_to 'here', 'https://maestrano.atlassian.net/wiki/display/UKB/How+Connec%21+manages+Historical+Data+Sharing'
71
71
  .spacer1
72
72
  .row
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: maestrano-connector-rails 1.1.1 ruby lib
5
+ # stub: maestrano-connector-rails 1.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "maestrano-connector-rails"
9
- s.version = "1.1.1"
9
+ s.version = "1.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Pierre Berard"]
14
- s.date = "2016-06-17"
14
+ s.date = "2016-06-22"
15
15
  s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
16
16
  s.email = "pierre.berard@maestrano.com"
17
17
  s.executables = ["rails"]
@@ -1,5 +1,2 @@
1
1
  connec_api_id: ''
2
- connec_api_key: ''
3
-
4
- encryption_key1: ''
5
- encryption_key2: ''
2
+ connec_api_key: ''
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano-connector-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Berard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maestrano-rails