openstax_accounts 6.1.1 → 6.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: b8aea8932a6f95fd050c5fa9ba4a4245a7cd9454
4
- data.tar.gz: b41cf657f3a33a7f3ab3008c808ea4c76dbdf2c5
3
+ metadata.gz: 183cf8ada84e8307df5ad1c3ce1b9d56ee5f1c99
4
+ data.tar.gz: fe9371eb18e8e916b4f658e08a3158e857e4e5ae
5
5
  SHA512:
6
- metadata.gz: 80853de5d3b210737af584f8358d17ce9a5a5b451e46a4a3bfff5626e0bf9f06c9fb3bf79ec9354d0cd2fef43a14def7452bea97ffdfc078c9b36e811cd4949b
7
- data.tar.gz: 8f245c5227fa90bb4f3f0e444bf486bc08996a6ad7d09992c7df4c9ab544c89027a104a6cf8d5ed021f9bec6c4ef2ed8356d5d31f73b6230b71447c4c46ba209
6
+ metadata.gz: b71df0091df4ce4842258f237aaa64bd07a7e8d1ec53feff389f9da9d485b13a0b78600acb4fa9ab94c45e72868b7c8b6da9e4e1e319db99a2bcd3577b717160
7
+ data.tar.gz: 9a43407fe00ef1ca0d506965a1a1e327201a193e63247246a422a3d65a4d048c8b525af566c8a056c4b992cb595c32f1e037450664e648d9a5b73aafd6f30ec2
@@ -5,13 +5,7 @@ module Openstax
5
5
  source_root File.expand_path('../templates', __FILE__)
6
6
 
7
7
  def generate_schedule
8
- if File.exists?(File.expand_path('config/schedule.rb'))
9
- File.open(File.expand_path('../templates/schedule.rb', __FILE__)) do |file|
10
- append_file 'config/schedule.rb', file.read
11
- end
12
- else
13
- copy_file 'schedule.rb', 'config/schedule.rb'
14
- end
8
+ template 'schedule.rb.erb', 'config/schedule.rb'
15
9
  end
16
10
  end
17
11
  end
@@ -0,0 +1,5 @@
1
+ set :bundle_command, '<%= Rails.application.secrets['bundle_command'] || 'bundle exec' %>'
2
+
3
+ every 1.minute do
4
+ rake 'openstax:accounts:sync:all'
5
+ end
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Accounts
3
- VERSION = "6.1.1"
3
+ VERSION = "6.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_accounts
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -367,7 +367,7 @@ files:
367
367
  - db/migrate/4_create_openstax_accounts_group_nestings.rb
368
368
  - lib/generators/openstax/accounts/schedule/USAGE
369
369
  - lib/generators/openstax/accounts/schedule/schedule_generator.rb
370
- - lib/generators/openstax/accounts/schedule/templates/schedule.rb
370
+ - lib/generators/openstax/accounts/schedule/templates/schedule.rb.erb
371
371
  - lib/omniauth/strategies/openstax.rb
372
372
  - lib/openstax/accounts/action_controller/base.rb
373
373
  - lib/openstax/accounts/api.rb
@@ -1,5 +0,0 @@
1
- set :bundle_command, '/usr/local/bin/rbenv exec bundle exec'
2
-
3
- every 1.minute do
4
- rake 'openstax:accounts:sync:all'
5
- end