Sha256: e681dae24664e6051930bc4d5bd7356bee59ae221c1740dc8707bfc90fa22309
Contents?: true
Size: 527 Bytes
Versions: 9
Compression:
Stored size: 527 Bytes
Contents
#!/usr/bin/env ruby -U if !ENV.key?('BUNDLE_GEMFILE') $stderr.puts "You need to call the command via `bundle exec script/#{File.basename(__FILE__)}`" $stderr.puts "You will also need to make sure you have valid information in ./config/client_secrets.example.yml." abort(1) end require 'locabulary/json_creator' puts "Updating Administrative Units" json_creator = Locabulary::JsonCreator.new "1oBW5FCTtYXsUi8roBiMRBLFY3dXamhTqy-kiG2rqu5Q", "administrative_units" json_creator.create_or_update json_creator.write_to_file
Version data entries
9 entries across 9 versions & 1 rubygems