barebones 1.0.0.5 → 1.0.0.6
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 +4 -4
- data/README.md +2 -2
- data/barebones.gemspec +1 -1
- data/lib/barebones/generators/app_generator.rb +1 -1
- data/lib/barebones/version.rb +2 -2
- data/templates/Gemfile.erb +4 -1
- data/templates/README.md.erb +2 -2
- data/templates/secrets.yml.erb +1 -1
- data/templates/test_job.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 762d67f76c9987a663825021617a45cde42d2ef2
|
4
|
+
data.tar.gz: 27e4dba4b9a0fc0fd9f873defcd1a92e10380e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1560119d631c231de8b22adf9c697846a91fd3d9022463ff3c752be0eb0eee36c410d305154911bc898103e7c00d4c578b00f681c20e4b8ec455a66e98d057
|
7
|
+
data.tar.gz: 101c4bebd962fcf8a7da490b7afaf43284e5209b145b9fa924f63b398bb5d49e19ee604c0ef006a37ef714b1daed8c844443f7026f0f3f7b35bd66dde2f01da0
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ For example:
|
|
30
30
|
## Gemfile
|
31
31
|
Barebones' [Gemfile](templates/Gemfile.erb) includes various preconfigured gems such as:
|
32
32
|
### Webserver
|
33
|
-
* [Puma](https://github.com/puma/puma) for our default concurrent webserver. Configured to spawn on free Heroku instances [out of the box](
|
33
|
+
* [Puma](https://github.com/puma/puma) for our default concurrent webserver. Configured to spawn on free Heroku instances [out of the box](templates/puma.rb#L63).
|
34
34
|
|
35
35
|
|
36
36
|
### File Uploading
|
@@ -75,7 +75,7 @@ Barebones' [Gemfile](templates/Gemfile.erb) includes various preconfigured gems
|
|
75
75
|
* [Configurations/Ping endpoint](templates/configs_controller.rb) to test that the API works :)
|
76
76
|
|
77
77
|
## Dependencies
|
78
|
-
Barebones requires the latest version of Ruby (2.
|
78
|
+
Barebones requires the latest version of Ruby (2.4.1), Rails (5.1.1), and
|
79
79
|
PostgreSQL (9.4) on your local machine.
|
80
80
|
|
81
81
|
## License
|
data/barebones.gemspec
CHANGED
@@ -3,7 +3,7 @@ require 'rails/generators/rails/app/app_generator'
|
|
3
3
|
module Barebones
|
4
4
|
class AppGenerator < Rails::Generators::AppGenerator
|
5
5
|
|
6
|
-
class_option :skip_bundle, type: :boolean, aliases: "-B", default:
|
6
|
+
class_option :skip_bundle, type: :boolean, aliases: "-B", default: false,
|
7
7
|
desc: "Don't run bundle install"
|
8
8
|
|
9
9
|
class_option :skip_api, type: :boolean, default: false,
|
data/lib/barebones/version.rb
CHANGED
data/templates/Gemfile.erb
CHANGED
@@ -12,7 +12,10 @@ gem 'turbolinks', '~> 5'
|
|
12
12
|
gem 'jbuilder', '~> 2.5'
|
13
13
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
14
14
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
15
|
-
|
15
|
+
<% if options[:webpack] %>
|
16
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
17
|
+
gem 'webpacker'
|
18
|
+
<% end %>
|
16
19
|
group :development, :test do
|
17
20
|
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
18
21
|
gem 'pry-byebug'
|
data/templates/README.md.erb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
### Installing Dependencies
|
12
12
|
|
13
|
-
To run this code, you must have Rails
|
13
|
+
To run this code, you must have Rails <%= Barebones::RAILS_VERSION %> and Ruby <%= Barebones::RUBY_VERSION %> installed. Then you just have to run:
|
14
14
|
|
15
15
|
`bundle install`
|
16
16
|
|
@@ -33,7 +33,7 @@ Run `rails s -p [port#]` to start the server.
|
|
33
33
|
## The API
|
34
34
|
|
35
35
|
All local requests to the API should be done through the subdomain: `http://devapi.localhost.local:{PORT#}/`
|
36
|
-
All API requests default to using an accept header with `application/com.<%= app_name.parameterize.underscore
|
36
|
+
All API requests default to using an accept header with `application/com.<%= app_name.parameterize.underscore %>.v1` unless otherwise specified.
|
37
37
|
|
38
38
|
### Standard Response Structure
|
39
39
|
|
data/templates/secrets.yml.erb
CHANGED
data/templates/test_job.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barebones
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Yu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.1.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.1.4
|
27
27
|
description: A personal Rails template generator.
|
28
28
|
email:
|
29
29
|
executables:
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.6.
|
86
|
+
rubygems_version: 2.6.13
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Rails template generator
|