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: cd8457a85622b7617f0b9500196c24ec55fbd64126ad817c8846d9de3139caa6
4
- data.tar.gz: 7a4f2d3c7f778903e998d50d6e6ba410dc9f475fe6f9a2dcc1d51d3d96cc1981
3
+ metadata.gz: 4c779a9c998f37ce60196adb99ed73b6ae50747980aa35f8029130aec26bcddb
4
+ data.tar.gz: 7847cbb6cd12ba95be8977381965db5629aa8cb3fab655373332422946998859
5
5
  SHA512:
6
- metadata.gz: ef202b394c647e05f218d03c7d713894536a735320c47c75b0f5ce6ebce7f2d664e00da52bb92b9c9428559be0540b64a111c385a2269d14a3491d960c993244
7
- data.tar.gz: 86d9df058ca28355c11f90b4f1bfa2a8091b8eb4254fa5d8e88fb11ee6ee4f705cb228db1686b045f4316cb6691b917ad74079fb00ad31d1acb25d4c07a18a39
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::Base
6
- def code_that_runs
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?")
@@ -1,3 +1,3 @@
1
1
  module ThesisCloudfront
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thesis_cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Vigil