foobara-rack-connector-generator 0.0.3 → 0.0.5

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: a60a4a6b9103538f93ae54286b479f03577359822bbc8a0ae496976cc6566006
4
- data.tar.gz: 4baff3eb28219884d239d24b894c93ca6d173cf2f029711f13bc69d202516dce
3
+ metadata.gz: 8ce60435046ea01b782b04fc2be4f77a657b798ec141a37b39e25dbc1e88f398
4
+ data.tar.gz: 95892ca853a1f8d5e135a0e3ba16cc41fac3aeea485121f346c3347392ad3d32
5
5
  SHA512:
6
- metadata.gz: 34ac4750b284d717e1f72e01c1e18ab2f0e7299dc5e6dd034cc3993bdda199d5b6bb18727b0078487d1c73e68b0274dc997e5a97940424a115640ffcce49372d
7
- data.tar.gz: fa91cf5c82120c36bb27590b3e59c844a8e7a0c5c4463816c5252bf9c9dd54fedcb5b75f7069df3d8e59ce5748a30f7fe9a13252eeffe023eaef7bfd5a75bd6d
6
+ metadata.gz: 22a955a9e43de25eb849ae2368cb82ce6e95a29c988bcdcb4cb43fb89d37bf3f4c3adad7e45b451b82fa2cc8bd370961f31efde2340d4f30590cb440715f479c
7
+ data.tar.gz: 91a525b02666bf1944a313b2464a7d048a327b39ffd018b45d04de4e50dff81bfa9e0d78697217d65c373850b9e80a2a173c6eae4a0776965de7eee7df0662c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
- ## [0.0.3] - 2024-06-20
1
+ ## [0.0.5] - 2024-06-21
2
+
3
+ - Include hidden template files/directories in gem
4
+
5
+ ## [0.0.4] - 2024-06-20
2
6
 
3
7
  - Fix bug in generating Gemfile changes
8
+ - Add rerun to Gemfile
4
9
 
5
10
  ## [0.0.2] - 2024-06-19
6
11
 
@@ -20,7 +20,11 @@ module Foobara
20
20
  match = contents.match(/^gem /)
21
21
 
22
22
  if match
23
- new_entry = "gem \"foobara-rack-connector\", github: \"foobara/rack-connector\"\ngem \"rackup\""
23
+ new_entry = [
24
+ 'gem "foobara-rack-connector", github: "foobara/rack-connector"',
25
+ 'gem "rackup"',
26
+ 'gem "rerun"'
27
+ ].join("\n")
24
28
 
25
29
  "#{match.pre_match}\n#{new_entry}\n#{match}#{match.post_match}"
26
30
  else
data/templates/.env ADDED
@@ -0,0 +1,3 @@
1
+ FOOBARA_HTTP_RESPONSE_HEADER_CONTENT_TYPE=application/json
2
+ FOOBARA_HTTP_RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_METHODS="GET, POST"
3
+ FOOBARA_HTTP_RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_HEADERS=Content-Type
@@ -0,0 +1 @@
1
+ FOOBARA_HTTP_RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN=http://localhost:3000
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-rack-connector-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-21 00:00:00.000000000 Z
11
+ date: 2024-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -56,6 +56,8 @@ files:
56
56
  - src/generators/rack_connector_generator.rb
57
57
  - src/rack_connector_config.rb
58
58
  - src/write_rack_connector_to_disk.rb
59
+ - templates/.env
60
+ - templates/.env.development
59
61
  - templates/Procfile
60
62
  - templates/boot/http.rb
61
63
  - templates/config.ru