trains 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +0 -10
- data/README.md +15 -0
- data/Rakefile +1 -5
- data/lib/trains/version.rb +1 -1
- data/trains.gemspec +39 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5967b89c0edf52539f69630d235c4e32b0a14a34e2739f593ca666e6ea451e02
|
4
|
+
data.tar.gz: 95ef423ff42e64a346931ce84d1becd8d810fcb92b52e51bf9f628d84821e273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32e6e039363c647c6175a770636d4082edc081f525d8dba56628d47e1cf55e56218ca0b6b39969b9cf64b50e6216fcdcc5dc589d0abfeeffc01f224afc9b3aaa
|
7
|
+
data.tar.gz: 5de86fe0d626f302865a2b9b6b8d4c41ea6fbf9ff20ddc7057ef06a71cca1324af3c226a016339eb78d8bc8da5c7c7a914d5e7828d8ca6b0965daf3537db8e15
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,3 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
trains (0.0.1)
|
5
|
-
activesupport (~> 7.0)
|
6
|
-
parallel (~> 1.22)
|
7
|
-
rubocop-ast (~> 1.16)
|
8
|
-
zeitwerk (~> 2.5)
|
9
|
-
|
10
1
|
GEM
|
11
2
|
remote: https://rubygems.org/
|
12
3
|
specs:
|
@@ -63,7 +54,6 @@ DEPENDENCIES
|
|
63
54
|
rspec (~> 3.12)
|
64
55
|
rubocop-ast
|
65
56
|
ruby-lsp (~> 0.3.7)
|
66
|
-
trains!
|
67
57
|
zeitwerk (~> 2.5)
|
68
58
|
|
69
59
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -2,6 +2,21 @@
|
|
2
2
|
|
3
3
|
A gem that statically analyses your Rails app and extracts information about its structure.
|
4
4
|
|
5
|
+
[![DeepSource](https://deepsource.io/gh/faraazahmad/trains.svg/?label=active+issues&show_trend=true&token=RKfXNZL_RQe6j2NEhXv2iOeh)](https://deepsource.io/gh/faraazahmad/trains/?ref=repository-badge)
|
6
|
+
[![DeepSource](https://deepsource.io/gh/faraazahmad/trains.svg/?label=resolved+issues&show_trend=true&token=RKfXNZL_RQe6j2NEhXv2iOeh)](https://deepsource.io/gh/faraazahmad/trains/?ref=repository-badge)
|
7
|
+
|
8
|
+
## Index
|
9
|
+
|
10
|
+
1. [Installation](#installation)
|
11
|
+
2. [Usage](#usage)
|
12
|
+
3. [Features](#features)
|
13
|
+
3.1 [Create Model definitions from migrations](#create-model-definitions-from-migrations)
|
14
|
+
3.2 [Create controller definitions from files](#create-controller-definitions-from-files)
|
15
|
+
4. [Development](#development)
|
16
|
+
5. [Contributing](#contributing)
|
17
|
+
6. [License](#license)
|
18
|
+
7. [Code of conduct](#code-of-conduct)
|
19
|
+
|
5
20
|
## Installation
|
6
21
|
|
7
22
|
Install the gem and add it to the application's Gemfile by executing:
|
data/Rakefile
CHANGED
data/lib/trains/version.rb
CHANGED
data/trains.gemspec
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/trains/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'trains'
|
7
|
+
spec.version = Trains::VERSION
|
8
|
+
spec.authors = ['Syed Faraaz Ahmad']
|
9
|
+
spec.email = ['faraaz98@live.com']
|
10
|
+
|
11
|
+
spec.summary =
|
12
|
+
'Collect metadata about your Rails app by statically analyzing it'
|
13
|
+
spec.homepage = 'https://github.com/faraazahmad/trains'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
spec.required_ruby_version = '>= 2.6.0'
|
16
|
+
|
17
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
18
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
19
|
+
spec.metadata['changelog_uri'] = "https://github.com/faraazahmad/trains/blob/master/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files =
|
24
|
+
Dir.chdir(__dir__) do
|
25
|
+
`git ls-files -z`.split("\x0")
|
26
|
+
.reject do |f|
|
27
|
+
(f == __FILE__) ||
|
28
|
+
f.match(
|
29
|
+
%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}
|
30
|
+
)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
spec.require_paths = ['lib']
|
34
|
+
|
35
|
+
spec.add_dependency 'activesupport', '~> 7.0'
|
36
|
+
spec.add_dependency 'parallel', '~> 1.22'
|
37
|
+
spec.add_dependency 'rubocop-ast', '~> 1.16'
|
38
|
+
spec.add_dependency 'zeitwerk', '~> 2.5'
|
39
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trains
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Syed Faraaz Ahmad
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- lib/trains/visitor/controller.rb
|
101
101
|
- lib/trains/visitor/helper.rb
|
102
102
|
- lib/trains/visitor/migration.rb
|
103
|
+
- trains.gemspec
|
103
104
|
homepage: https://github.com/faraazahmad/trains
|
104
105
|
licenses:
|
105
106
|
- MIT
|