thesis_cloudfront 0.3.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e51e0717eeb34edc498e6b51d2e11aa1e54ee1e88f5344daf7f5e37fb796a67
4
- data.tar.gz: 73702138a0ab665ae1e11f6b1e5038201bc5f71c492c8f88c22fbe7110355ee6
3
+ metadata.gz: 3c065767f413410c26a498a84d362c517541857be5556131c739ba8583337cb0
4
+ data.tar.gz: 7a3691282351dcf5f0beb95314e5e8288e432fa41d0ae7d253776d285ab38790
5
5
  SHA512:
6
- metadata.gz: fbf04f21ef7651bfccef479d0d16e282ccccc5d7d87ae99a1b8721a83bbed859a64f2309f2dde4d1581d22b665900e080032ea02075ba4b892ff4330a15729c9
7
- data.tar.gz: 849688a26731fc36d92dad9340fe491018624294f135ee27ffa089762728738aa8de875d963a3bf7ffd0c448163e81b17ef909b80fcaa3a468d402be292dfdaa
6
+ metadata.gz: f194068b24595d554d5b82518b555d4f50d8f6047cc96c0cd291c4f5640a1fd4584cf391d50e2b1dd2b4e6ff444a48b2a2a3fe861cc84364956d97df211dd0c6
7
+ data.tar.gz: 26f9de17b5bd2e25f008b142a0d6ec86aa6af93e6193f7646715de08902502307bd552dd6706303cf226458402a05f531560e2b3758d87a987a7668b69701ed7
@@ -6,9 +6,8 @@ module ThesisCloudfront
6
6
  module Generators
7
7
  class InstallGenerator < Rails::Generators::Base
8
8
  def install
9
-
10
9
  append_to_file "Gemfile" do
11
- "\ngem 'rack_cors'"
10
+ "\ngem 'rack-cors'"
12
11
  end
13
12
 
14
13
  heroku_app_name = ask("whats the name of this heroku app?")
@@ -47,7 +46,9 @@ module ThesisCloudfront
47
46
  "}"].join("\n")
48
47
  end
49
48
 
50
- run "bundle install"
49
+ inside Rails.root do
50
+ run "bundle install"
51
+ end
51
52
  end
52
53
  end
53
54
  end
@@ -5,9 +5,9 @@ module Cloudfront
5
5
  module Generators
6
6
  class InstallGenerator < Rails::Generators::Base
7
7
  def install
8
- # append_to_file "Gemfile" do
9
- # "\ngem 'rack-cors'"
10
- # end
8
+ append_to_file "Gemfile" do
9
+ "\ngem 'rack-cors'"
10
+ end
11
11
 
12
12
  heroku_app_name = ask("whats the name of this heroku app?")
13
13
  file = `heroku domains -a #{heroku_app_name} --csv`
@@ -44,6 +44,11 @@ module Cloudfront
44
44
  " \"Expires\" => \"\#{30.days.from_now.to_formatted_s(:rfc822)}\"",
45
45
  " }"].join("\n")
46
46
  end
47
+
48
+ gem "rack-cors"
49
+ inside Rails.root do
50
+ run "bundle install"
51
+ end
47
52
  end
48
53
  end
49
54
  end
@@ -1,3 +1,3 @@
1
1
  module ThesisCloudfront
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
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.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Vigil