next_rails 1.2.0 → 1.2.1

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: 1fdec8942101c58f6081b681319339b6ed5703dd14af0f1d43498afb894bba26
4
- data.tar.gz: 32bfa4c31e2d53b9100e4a46a3fbf053ff90b38d15256867b3a5f4b6e4fc0d44
3
+ metadata.gz: 822e7ed8bda705fc5a9ff1a0f8ccbba91901e01dd279760e7787a7ef1df3f38f
4
+ data.tar.gz: fd6e3bb66afd86c54fba7e5352245ada2f3ec0520cd88063d11a938d908a4d90
5
5
  SHA512:
6
- metadata.gz: 0a030398c55b7e09de54ad9607745410c14d1a64e8fa753e32dd0c41b5555640a9af23f31f9f40cb550fb1b11b8c461adf95727e281d6d05250089dd9ee8b509
7
- data.tar.gz: 8b7d02f997ca2b7db31ff7e2c131e72df4ccb979979f792ecdefdf0f8500f619fb78a8187f4be712a40503af9bf27bc143678bfa27b95e52594fdc537132b3a0
6
+ metadata.gz: 2da9a58d3922e7d266bc9769a5cfdfee57e1e5d21c2d31be9ff5f3b6b8c109e08b94dfb34eb894d516906921edcddafb5a26b42aab82f3c2f16344820877d133
7
+ data.tar.gz: e8886320ac2047e9d83d4c6fd67aaccf14b9aa735102dc4eb2755e78cb2dbe359f221ae768ab5c9e2eba44731ba91222e370ff4bea4bee5cbad966e0b5ac2678
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
- # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.2.0...main)
1
+ # main [(unreleased)](https://github.com/fastruby/next_rails/compare/v1.2.1...main)
2
+
3
+ # v1.2.1 / 2022-09-26 [(commits)](https://github.com/fastruby/next_rails/compare/v1.2.0...v1.2.1)
4
+
5
+ - [BUGFIX: SimpleCov was not reporting accurately due to a bug in the spec helper code](https://github.com/fastruby/next_rails/pull/66)
6
+
7
+ - [FEATURE: Better documentation for contributing and releasing versions of this gem](https://github.com/fastruby/next_rails/pull/53)
8
+
9
+ - [BUGFIX: bundle_report outdated was giving an exception due to missing method latest_version](https://github.com/fastruby/next_rails/pull/62)
2
10
 
3
11
  # v1.2.0 / 2022-08-12 [(commits)](https://github.com/fastruby/next_rails/compare/v1.1.0...v1.2.0)
4
12
 
@@ -88,6 +88,15 @@ module NextRails
88
88
  end
89
89
  end
90
90
 
91
+ def latest_version
92
+ latest_gem_specification = Gem.latest_spec_for(name)
93
+ return NullGemInfo.new unless latest_gem_specification
94
+
95
+ GemInfo.new(latest_gem_specification)
96
+ rescue
97
+ NullGemInfo.new
98
+ end
99
+
91
100
  def compatible_with_rails?(rails_version: nil)
92
101
  unsatisfied_rails_dependencies(rails_version: rails_version).empty?
93
102
  end
@@ -1,3 +1,3 @@
1
1
  module NextRails
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/next_rails.gemspec CHANGED
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "simplecov", "~> 0.17.1"
31
31
  spec.add_development_dependency "timecop", "~> 0.9.1"
32
32
  spec.add_development_dependency "rexml", "3.1.7.3" # limited on purpose, new versions don't work with old rubies
33
- spec.add_development_dependency "webmock", "3.14.0" # limited on purpose, new versions don't work with old rubies
33
+ spec.add_development_dependency "webmock", "3.16.2" # limited on purpose, new versions don't work with old rubies
34
34
  end
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.2.0
4
+ version: 1.2.1
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: 2022-08-12 00:00:00.000000000 Z
12
+ date: 2022-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize
@@ -121,14 +121,14 @@ dependencies:
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 3.14.0
124
+ version: 3.16.2
125
125
  type: :development
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 3.14.0
131
+ version: 3.16.2
132
132
  description: A set of handy tools to upgrade your Rails application and keep it up
133
133
  to date
134
134
  email: