maestrano-connector-rails 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/app/jobs/maestrano/connector/rails/all_synchronizations_job.rb +1 -1
- data/maestrano-connector-rails.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d24530950c7f13a373897c353bcd570055d2d9b
|
4
|
+
data.tar.gz: bd8bb22caf4cfad9ff532d55f9fe1c12ff5793d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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.
|
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
|
+
# 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.
|
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"]
|