maestrano-connector-rails 1.3.0 → 1.3.1

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: 01e80e8ec8f1cf42c1b4dc6e1c55939d010bc8e3
4
- data.tar.gz: ad2dc078eb9f605c2bd0a236690801577f38a43b
3
+ metadata.gz: 6f89f758823b4cd6fa2ad8124eb8764c217c459c
4
+ data.tar.gz: 6302aa155673536e7d4db81abef9e74972c02f0e
5
5
  SHA512:
6
- metadata.gz: ef502e52b0d613ba02a37ec02db1c248142553c18178008a4cab46e472c86213eff01ba772db527b360b8f190a943df1e69b549a857a7480996db02b68bb7413
7
- data.tar.gz: cc32cc071376de85c8e5269c1cbdd4dff33ca20049fedf8711bbd09c56f69b3f21a05d090206bb614a65b6e8a78fd067d6382ec46046a71e34e6727036cd20d9
6
+ metadata.gz: 19f2d1ae020d5f16c44224c3a8ee26d5e8ac41fc69fb55f7fe6a88dcb6c52254e912c0a2ddf69caee54667aeffdcb055dee6d53883685c5c2ab1d41855878b9b
7
+ data.tar.gz: a0d412871c75c0c71ff661c20f13023b8b26b7c1a5683ee84c6643eed720ddff0e13829224c549f0c5c52fb5390718a7af3e0489dfe94a4f3249be31c0272116
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2016-07-26 04:25:37 +0100 using RuboCop version 0.41.1.
3
+ # on 2016-07-26 05:22:22 +0100 using RuboCop version 0.42.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -119,6 +119,14 @@ Style/EmptyLinesAroundModuleBody:
119
119
  Style/FrozenStringLiteralComment:
120
120
  Enabled: false
121
121
 
122
+ # Offense count: 1
123
+ # Cop supports --auto-correct.
124
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
125
+ # SupportedStyles: predicate, comparison
126
+ Style/NumericPredicate:
127
+ Exclude:
128
+ - 'app/models/maestrano/connector/rails/organization.rb'
129
+
122
130
  # Offense count: 3
123
131
  # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
124
132
  # NamePrefix: is_, has_, have_
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -49,7 +49,7 @@ module Maestrano::Connector::Rails
49
49
  end
50
50
 
51
51
  def member?(user)
52
- user_organization_rels.where(user_id: user.id).count.positive?
52
+ user_organization_rels.where(user_id: user.id).count > 0
53
53
  end
54
54
 
55
55
  def remove_member(user)
@@ -2,11 +2,11 @@
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.3.0 ruby lib
5
+ # stub: maestrano-connector-rails 1.3.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "maestrano-connector-rails"
9
- s.version = "1.3.0"
9
+ s.version = "1.3.1"
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"]
data/release_notes.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 1.3.0
2
+ * Methods `create_external_entity` and `update_external_entity` should now returns the created/updated entity
3
+ * Home page should now include a link populated from `external.rb` to create an account
4
+
5
+ ### Features
6
+ * Add support for references to Connec! sub entities' ids
7
+ * Add support for support for sub_entities having the same name
8
+ * Re-introduct `can_update_connec?` method
9
+ * Add method for a `create an account` link
10
+
11
+ ### Fixes
12
+ * Fix error format on the synchronizations endpoint
13
+
1
14
  ## 1.2.3
2
15
 
3
16
  ### Fixes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano-connector-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Berard