thesis_cloudfront 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c779a9c998f37ce60196adb99ed73b6ae50747980aa35f8029130aec26bcddb
|
|
4
|
+
data.tar.gz: 7847cbb6cd12ba95be8977381965db5629aa8cb3fab655373332422946998859
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4462cbd89fe3d1a546589e38aae246de7e39bf4268e7e8cce68771c3f8274d6c49df98e61cc3f79667405016482dac225a64d74de5b4b5af0120a9077c16aec9
|
|
7
|
+
data.tar.gz: 42e77825e8d759c60723f47bcd81a392622f9d6cde8f918b82532004871f029fe94610ba5437bc1a13fdd6b93a579e2b504f6881c5dab4899de6fb1856fb189a
|
|
@@ -2,15 +2,12 @@ require 'rails/generators'
|
|
|
2
2
|
|
|
3
3
|
module ThesisCloudfront
|
|
4
4
|
module Generators
|
|
5
|
-
class InstallGenerator < Rails::Generators::
|
|
6
|
-
def
|
|
5
|
+
class InstallGenerator < Rails::Generators::NamedBase
|
|
6
|
+
def install
|
|
7
7
|
insert_into_file "Gemfile", after: "group :development, :test do\n" do
|
|
8
8
|
" gem 'rack_cors'\n"
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
Bundler.with_clean_env do
|
|
12
|
-
run "bundle install"
|
|
13
|
-
end
|
|
14
11
|
|
|
15
12
|
create_file "config/initializers/rack_cors.rb" do
|
|
16
13
|
heroku_app_name = ask("whats the name of this heroku app?")
|