maestrano-connector-rails 0.2.5 → 0.2.7

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: 9d3047d294b997ceac24b7cfff460c9483e09b91
4
- data.tar.gz: 314c34f8692fbc6f1cabd32d61f45b05391e77e9
3
+ metadata.gz: 6d24530950c7f13a373897c353bcd570055d2d9b
4
+ data.tar.gz: bd8bb22caf4cfad9ff532d55f9fe1c12ff5793d7
5
5
  SHA512:
6
- metadata.gz: bf044115267564146f57414d8f770f336c23ac116637a2bd2f6f0ce22a8a8723b7e704ec81692c4e29cc35bb83f5502e3125e7810f41841b4b9ce57f4ab69721
7
- data.tar.gz: f2d3c89e67f199a75fbd333701b22efbe742dd0b6dfe79dc3cee0e486f9090a56be69078a57ff06b5f7b4a2c8c92427d52f1759730434a7f4c0ce02c5a256c63
6
+ metadata.gz: 96062c5050e24a10bffe029edd0d4b117757cb8b58c68546afa3656953a12eb0d55612e2167c20baa8b3c7d048b73ae318c9cd99f5a0cd21736ebbcb1451234d
7
+ data.tar.gz: 9e0208de34705d723715e503951c5dc23fff59c941ba416ed05aeb9ba5efe60641dd32f6c159f51b0d230b06f0734077fb08af29547447a3a67541745e09bbce
data/README.md CHANGED
@@ -132,7 +132,7 @@ Maestrano::Connector::Rails::AllSynchronizationsJob
132
132
 
133
133
  The synchronization of a specific organization can be performed by executing
134
134
  ```ruby
135
- Maestrano::Connector::Rails::SynchronizationJob.perform_later(o, {})
135
+ Maestrano::Connector::Rails::SynchronizationJob.perform_later(organization, {})
136
136
  ```
137
137
 
138
138
  ## Pages controllers and views
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.7
@@ -3,7 +3,7 @@ module Maestrano::Connector::Rails
3
3
  queue_as :default
4
4
 
5
5
  # Trigger synchronization of all active organizations
6
- def perform
6
+ def perform(name=nil, count=nil)
7
7
  Maestrano::Connector::Rails::Organization.where("oauth_provider IS NOT NULL AND oauth_token IS NOT NULL").each do |o|
8
8
  next unless [true, 1].include?(o.sync_enabled)
9
9
  Maestrano::Connector::Rails::SynchronizationJob.perform_later(o, {})
@@ -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 0.2.5 ruby lib
5
+ # stub: maestrano-connector-rails 0.2.7 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "maestrano-connector-rails"
9
- s.version = "0.2.5"
9
+ s.version = "0.2.7"
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"]
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: 0.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Berard