next_rails 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -4
- data/CODE_OF_CONDUCT.md +76 -0
- data/README.md +12 -1
- data/exe/next.sh +7 -0
- data/lib/deprecation_tracker.rb +8 -0
- data/lib/next_rails/version.rb +1 -1
- data/next_rails.gemspec +0 -1
- data/pull_request_template.md +9 -0
- metadata +4 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b939f85a063cc87019deb0355769fd28ba31f4cb0b86e3f6d6108efab7c34a1
|
4
|
+
data.tar.gz: 5cee83e0ec770a5b01b7ce51c0efbcbc3ed9bdc1e70027a92cc6b8a3eee17dc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3b4d1bd7b0fd4398c781b65f19f068af6ba01c5e6ff994ab77b832524094788fdd473ffea1bcf0ec3ffd4efd805a5c0a9906d0c10ae2169270bc07128d31b1
|
7
|
+
data.tar.gz: d5d5125673d14079de4cdd333c9414666962c9c5daa1873e964abd724f1ae75a45fe0df9336283e6d99e8d15abf97b8d91860b4d7c50733399ac57194f8edea7
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
# main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.0.4...main)
|
2
2
|
|
3
|
+
* [FEATURE: Initialize the Gemfile.next.lock to avoid major version jumps when used without an initial Gemfile.next.lock](https://github.com/fastruby/next_rails/pull/25)
|
4
|
+
* [FEATURE: Drop `actionview` dependency because it is not really used](https://github.com/fastruby/next_rails/pull/26)
|
5
|
+
|
3
6
|
# v1.0.4 / 2021-04-09 [(commits)](https://github.com/fastruby/next_rails/compare/v1.0.3...v1.0.4)
|
4
7
|
|
5
|
-
* [BUGFIX
|
8
|
+
* [BUGFIX: Fixes issue with `bundle_report` and `actionview`](https://github.com/fastruby/next_rails/pull/22)
|
6
9
|
|
7
10
|
# v1.0.3 / 2021-04-05 [(commits)](https://github.com/fastruby/next_rails/compare/v1.0.2...v1.0.3)
|
8
11
|
|
9
|
-
* [BUGFIX
|
10
|
-
* [BUGFIX
|
11
|
-
|
12
|
+
* [BUGFIX: Update README.md to better document this `ten_years_rails` fork](https://github.com/fastruby/next_rails/pull/11)
|
13
|
+
* [BUGFIX: Make ActionView an optional dependency](https://github.com/fastruby/next_rails/pull/6)
|
12
14
|
# v1.0.2 / 2020-01-20
|
13
15
|
|
14
16
|
# v1.0.1 / 2019-07-26
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to make participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9
|
+
level of experience, education, socio-economic status, nationality, personal
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies within all project spaces, and it also applies when
|
49
|
+
an individual is representing the project or its community in public spaces.
|
50
|
+
Examples of representing a project or community include using an official
|
51
|
+
project e-mail address, posting via an official social media account, or acting
|
52
|
+
as an appointed representative at an online or offline event. Representation of
|
53
|
+
a project may be further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at oss@ombulabs.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72
|
+
|
73
|
+
[homepage]: https://www.contributor-covenant.org
|
74
|
+
|
75
|
+
For answers to common questions about this code of conduct, see
|
76
|
+
https://www.contributor-covenant.org/faq
|
data/README.md
CHANGED
@@ -83,7 +83,7 @@ Right now, the path to the shitlist is hardcoded so make sure you store yours at
|
|
83
83
|
This command helps you dual-boot your application.
|
84
84
|
|
85
85
|
```bash
|
86
|
-
next --init # Create Gemfile.next
|
86
|
+
next --init # Create Gemfile.next and Gemfile.next.lock
|
87
87
|
vim Gemfile # Tweak your dependencies conditionally using `next?`
|
88
88
|
next bundle install # Install new gems
|
89
89
|
next rails s # Start server using Gemfile.next
|
@@ -105,6 +105,17 @@ Or install it yourself as:
|
|
105
105
|
|
106
106
|
$ gem install next_rails
|
107
107
|
|
108
|
+
## Setup
|
109
|
+
|
110
|
+
Execute:
|
111
|
+
|
112
|
+
$ next --init
|
113
|
+
|
114
|
+
Init will create a Gemfile.next and an initialized Gemfile.next.lock.
|
115
|
+
The Gemfile.next.lock is initialized with the contents of your existing
|
116
|
+
Gemfile.lock lock file. We initialize the Gemfile.next.lock to prevent
|
117
|
+
major version jumps when running the next version of Rails.
|
118
|
+
|
108
119
|
## License
|
109
120
|
|
110
121
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/exe/next.sh
CHANGED
@@ -10,6 +10,13 @@ STRING
|
|
10
10
|
mv Gemfile.tmp Gemfile
|
11
11
|
|
12
12
|
ln -s Gemfile Gemfile.next
|
13
|
+
|
14
|
+
# Initialize the Gemfile.next.lock
|
15
|
+
# Prevents major version jumps when we start without a Gemfile.next.lock
|
16
|
+
if [ -f "Gemfile.lock" ] && [ ! -f "Gemfile.next.lock" ]; then
|
17
|
+
cp Gemfile.lock Gemfile.next.lock
|
18
|
+
fi
|
19
|
+
|
13
20
|
echo <<-MESSAGE
|
14
21
|
Created Gemfile.next (a symlink to your Gemfile). Your Gemfile has been modified to support dual-booting!
|
15
22
|
|
data/lib/deprecation_tracker.rb
CHANGED
@@ -130,11 +130,19 @@ class DeprecationTracker
|
|
130
130
|
|
131
131
|
def save
|
132
132
|
new_shitlist = create_temp_shitlist
|
133
|
+
create_if_shitlist_path_does_not_exist
|
133
134
|
FileUtils.cp(new_shitlist.path, shitlist_path)
|
134
135
|
ensure
|
135
136
|
new_shitlist.delete if new_shitlist
|
136
137
|
end
|
137
138
|
|
139
|
+
def create_if_shitlist_path_does_not_exist
|
140
|
+
dirname = File.dirname(shitlist_path)
|
141
|
+
unless File.directory?(dirname)
|
142
|
+
FileUtils.mkdir_p(dirname)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
138
146
|
def create_temp_shitlist
|
139
147
|
temp_file = Tempfile.new("temp-deprecation-tracker-shitlist")
|
140
148
|
temp_file.write(JSON.pretty_generate(normalized_deprecation_messages))
|
data/lib/next_rails/version.rb
CHANGED
data/next_rails.gemspec
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
**IMPORTANT**: Please read the README before submitting pull requests for this project. Additionally, if your PR closes any open GitHub issues, make sure you include Closes #XXXX in your comment or use the option on the PR's sidebar to add related issues to auto-close the issue that your PR fixes.
|
2
|
+
|
3
|
+
- [ ] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading.
|
4
|
+
|
5
|
+
Description:
|
6
|
+
|
7
|
+
Please include a summary of the change and which issue is fixed or which feature is introduced. If changes to the behavior are made, clearly describe what changes.
|
8
|
+
|
9
|
+
I will abide by the [code of conduct](CODE_OF_CONDUCT.md).
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: next_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernesto Tagwerker
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -101,20 +101,6 @@ dependencies:
|
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 0.9.1
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: actionview
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "<"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '6.0'
|
111
|
-
type: :development
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "<"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '6.0'
|
118
104
|
description: A set of handy tools to upgrade your Rails application and keep it up
|
119
105
|
to date
|
120
106
|
email:
|
@@ -133,6 +119,7 @@ files:
|
|
133
119
|
- ".rspec"
|
134
120
|
- ".travis.yml"
|
135
121
|
- CHANGELOG.md
|
122
|
+
- CODE_OF_CONDUCT.md
|
136
123
|
- Gemfile
|
137
124
|
- LICENSE.txt
|
138
125
|
- README.md
|
@@ -151,6 +138,7 @@ files:
|
|
151
138
|
- lib/next_rails/gem_info.rb
|
152
139
|
- lib/next_rails/version.rb
|
153
140
|
- next_rails.gemspec
|
141
|
+
- pull_request_template.md
|
154
142
|
homepage: https://github.com/fastruby/next_rails
|
155
143
|
licenses:
|
156
144
|
- MIT
|