@produtype/core 1.8.0 → 1.8.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.
@@ -104,7 +104,20 @@ exports.JVM_DATABASES = [
104
104
  ];
105
105
  /** Ruby frameworks, read from the Gemfile. */
106
106
  exports.RUBY_BACKEND_FRAMEWORKS = [
107
- ['rails', ['rails']],
107
+ /**
108
+ * Rails is often declared by its parts rather than by its name.
109
+ *
110
+ * Discourse's Gemfile has no `gem "rails"` in it at all: it pins `actionpack`,
111
+ * `actionview`, `activerecord` and `railties` separately, which is what a large
112
+ * application does when it wants to control the pieces. The report said
113
+ * `backend: ruby` — the fallback for a Gemfile with no web framework in it — about
114
+ * the best-known Rails application there is.
115
+ *
116
+ * `railties` is the framework itself and nothing but Rails and its engines depends
117
+ * on it; `actionpack` is the half that handles requests. Both are names the Rails
118
+ * team chose, which is the whole argument.
119
+ */
120
+ ['rails', ['rails', 'railties', 'actionpack']],
108
121
  ['sinatra', ['sinatra']],
109
122
  ['hanami', ['hanami']],
110
123
  ['roda', ['roda']],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@produtype/core",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Deterministic CLI and library that analyzes a web application repository and reports how far it is from production-ready for the kind of product it is meant to be.",
5
5
  "license": "MIT",
6
6
  "bin": {