Corrected with rubocop cop 'Style/TrailingWhitespace'.
This commit is contained in:
parent
44adaf000e
commit
4ca036ecc9
5 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
Rails.application.config.middleware.use OmniAuth::Builder do
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||||
|
|
||||||
# twitter database connect
|
# twitter database connect
|
||||||
provider :twitter_database, 'not_change_will_be_set_by_databse', 'not_change_will_be_set_by_databse',
|
provider :twitter_database, 'not_change_will_be_set_by_databse', 'not_change_will_be_set_by_databse',
|
||||||
client_options: { authorize_path: '/oauth/authorize', site: 'https://api.twitter.com' }
|
client_options: { authorize_path: '/oauth/authorize', site: 'https://api.twitter.com' }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
class CreateChannel < ActiveRecord::Migration
|
class CreateChannel < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
|
|
||||||
create_table :channels do |t|
|
create_table :channels do |t|
|
||||||
t.references :group, null: true
|
t.references :group, null: true
|
||||||
t.column :adapter, :string, limit: 100, null: false
|
t.column :adapter, :string, limit: 100, null: false
|
||||||
|
|
|
@ -8,14 +8,14 @@ class UpdateTicketNumber < ActiveRecord::Migration
|
||||||
number, the SystemID and the counter are used with SystemID.Counter format (e.g. 1010138, 1010139).
|
number, the SystemID and the counter are used with SystemID.Counter format (e.g. 1010138, 1010139).
|
||||||
With "Date" the ticket numbers will be generated by the current date, the SystemID and the counter.
|
With "Date" the ticket numbers will be generated by the current date, the SystemID and the counter.
|
||||||
The format looks like Year.Month.Day.SystemID.counter (e.g. 201206231010138, 201206231010139).
|
The format looks like Year.Month.Day.SystemID.counter (e.g. 201206231010138, 201206231010139).
|
||||||
With param "Checksum => true" the counter will be appended as checksum to the string. The format
|
With param "Checksum => true" the counter will be appended as checksum to the string. The format
|
||||||
looks like SystemID.Counter.CheckSum (e. g. 10101384, 10101392) or Year.Month.Day.SystemID.Counter.CheckSum (e.g. 2012070110101520, 2012070110101535).',
|
looks like SystemID.Counter.CheckSum (e. g. 10101384, 10101392) or Year.Month.Day.SystemID.Counter.CheckSum (e.g. 2012070110101520, 2012070110101535).',
|
||||||
options: {
|
options: {
|
||||||
form: [
|
form: [
|
||||||
{
|
{
|
||||||
display: '',
|
display: '',
|
||||||
null: true,
|
null: true,
|
||||||
name: 'ticket_number',
|
name: 'ticket_number',
|
||||||
tag: 'select',
|
tag: 'select',
|
||||||
options: {
|
options: {
|
||||||
'Ticket::Number::Increment' => 'Increment (SystemID.Counter)',
|
'Ticket::Number::Increment' => 'Increment (SystemID.Counter)',
|
||||||
|
|
|
@ -768,7 +768,7 @@ Setting.create_if_not_exists(
|
||||||
number, the SystemID and the counter are used with SystemID.Counter format (e.g. 1010138, 1010139).
|
number, the SystemID and the counter are used with SystemID.Counter format (e.g. 1010138, 1010139).
|
||||||
With "Date" the ticket numbers will be generated by the current date, the SystemID and the counter.
|
With "Date" the ticket numbers will be generated by the current date, the SystemID and the counter.
|
||||||
The format looks like Year.Month.Day.SystemID.counter (e.g. 201206231010138, 201206231010139).
|
The format looks like Year.Month.Day.SystemID.counter (e.g. 201206231010138, 201206231010139).
|
||||||
With param "Checksum => true" the counter will be appended as checksum to the string. The format
|
With param "Checksum => true" the counter will be appended as checksum to the string. The format
|
||||||
looks like SystemID.Counter.CheckSum (e. g. 10101384, 10101392) or Year.Month.Day.SystemID.Counter.CheckSum (e.g. 2012070110101520, 2012070110101535).',
|
looks like SystemID.Counter.CheckSum (e. g. 10101384, 10101392) or Year.Month.Day.SystemID.Counter.CheckSum (e.g. 2012070110101520, 2012070110101535).',
|
||||||
options: {
|
options: {
|
||||||
form: [
|
form: [
|
||||||
|
|
|
@ -76,7 +76,7 @@ module Auth::Ldap
|
||||||
else
|
else
|
||||||
user.update_attributes( user_attributes )
|
user.update_attributes( user_attributes )
|
||||||
puts "NOTICE: user updated '#{user.login}'"
|
puts "NOTICE: user updated '#{user.login}'"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# return if it was not possible to create user
|
# return if it was not possible to create user
|
||||||
|
|
Loading…
Reference in a new issue