Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
rename LICENSE -> MIT-LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
weilu committed Feb 14, 2014
1 parent d295481 commit 4f09ce2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/hive/toolbelt/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def project_name_from repo_url
end

def create_license author
license_filename = 'LICENSE.txt'
license_filename = 'MIT-LICENSE.txt'
copy_file license_filename, license_filename
safe_gsub_file license_filename, /{{year}}/, Time.now.year.to_s
safe_gsub_file license_filename, /{{author}}/, author
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/hive/toolbelt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def create_manifest_json config
end

describe '#create_license' do
let(:filename) { 'LICENSE.txt' }
let(:filename) { 'MIT-LICENSE.txt' }
let(:author) { 'Wei Lu' }
let(:license) do
cli.create_license author
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
config.order = 'random'

# clean up generated files
generated_files = %w(manifest.json icon.png index.html README.md LICENSE.txt wei-lu-my-app-1-0-1.hiveapp)
generated_files = %w(manifest.json icon.png index.html README.md MIT-LICENSE.txt wei-lu-my-app-1-0-1.hiveapp)
generated_files << File.join('javascripts', 'hiveapp-api-mock.js')
%w(stylesheets images fonts).each do |dirname|
generated_files << File.join(dirname, '.gitignore')
Expand Down

0 comments on commit 4f09ce2

Please sign in to comment.