Rakefile in bootstrap4-datetime-picker-rails-0.1.2 vs Rakefile in bootstrap4-datetime-picker-rails-0.1.3

- old
+ new

@@ -4,11 +4,11 @@ require File.expand_path('../lib/bootstrap4_datetime_picker_rails/version', __FILE__) desc 'Update assets' task :update do - checkout_branch = '5.0.0-alpha12' + checkout_branch = '5.0.0-alpha14' if Dir.exist?('tempus-dominus-source') system("cd tempus-dominus-source && git checkout master && git pull && git checkout #{checkout_branch}") else system('git clone https://github.com/tempusdominus/bootstrap-4.git tempus-dominus-source') @@ -20,10 +20,10 @@ system('cp tempus-dominus-source/build/js/tempusdominus-bootstrap-4.js vendor/assets/javascripts/tempusdominus-bootstrap-4.js') system('cp tempus-dominus-source/build/js/tempusdominus-bootstrap-4.min.js vendor/assets/javascripts/tempusdominus-bootstrap-4.min.js') system('git status') puts "\n" - puts "tempusdominus-bootstrap-4 version: #{JSON.parse(File.read('./tempus-dominus-source/bower.json'))['version']}" + puts "tempusdominus-bootstrap-4 version: #{JSON.parse(File.read('./tempus-dominus-source/package.json'))['version']}" puts "tempus-dominus-datetime-picker-rails version: #{Bootstrap4DatetimePickerRails::Rails::VERSION}" end desc 'Build' task 'build' do