attractor-javascript 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -0
- data/README.md +16 -0
- data/lib/attractor/calculators/js_calculator.rb +2 -2
- data/lib/attractor/javascript/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89899eba4519464d4b69c9dac77080a43cfe1194382fe39b36b06602d72aba10
|
4
|
+
data.tar.gz: a5c534222ab6f46f2d71465fb9a7dfc6e9dc5743a3acb5374e2e78da95645756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6bcfb93d26b37459fb64df647177e329d9ec0ca85edf001cbd56977e836e08c3ebaf58c3c5d186412f617e4651fcc29b58106f07c7c7bdb22f7570c060d0678
|
7
|
+
data.tar.gz: fdecc2cab4811e954d56239638472b0c7d57b4364e78131e88a55a699ea75060f2816410abfee720c70e613088e6c8aea02560a53a7df4e4298a10c2d86afa9d
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
nodejs 16.13.1
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
<!-- MARKDOWN LINKS & IMAGES -->
|
2
2
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
3
|
+
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
|
4
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
5
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
3
6
|
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
|
4
7
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
5
8
|
[attractor]: https://github.com/julianrubisch/attractor-javascript
|
@@ -120,6 +123,19 @@ Contributions are what make the open source community such an amazing place to b
|
|
120
123
|
## Contributors ✨
|
121
124
|
|
122
125
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
126
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
127
|
+
<!-- prettier-ignore-start -->
|
128
|
+
<!-- markdownlint-disable -->
|
129
|
+
<table>
|
130
|
+
<tr>
|
131
|
+
<td align="center"><a href="https://experimentslabs.com"><img src="https://avatars.githubusercontent.com/u/1732268?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Manuel Tancoigne</b></sub></a><br /><a href="https://github.com/julianrubisch/attractor-javascript/commits?author=mtancoigne" title="Code">💻</a></td>
|
132
|
+
</tr>
|
133
|
+
</table>
|
134
|
+
|
135
|
+
<!-- markdownlint-restore -->
|
136
|
+
<!-- prettier-ignore-end -->
|
137
|
+
|
138
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
123
139
|
|
124
140
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
125
141
|
<!-- prettier-ignore-start -->
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Attractor
|
4
4
|
class JsCalculator < BaseCalculator
|
5
|
-
def initialize(file_prefix: '', minimum_churn_count: 3, start_ago: 365 * 5)
|
6
|
-
super(file_prefix: file_prefix, file_extension: '(js|jsx)', minimum_churn_count: minimum_churn_count, start_ago: start_ago)
|
5
|
+
def initialize(file_prefix: '', ignores: '', minimum_churn_count: 3, start_ago: 365 * 5, verbose: false)
|
6
|
+
super(file_prefix: file_prefix, ignores: ignores, file_extension: '(js|jsx)', minimum_churn_count: minimum_churn_count, start_ago: start_ago, verbose: verbose)
|
7
7
|
@type = "JavaScript"
|
8
8
|
end
|
9
9
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attractor-javascript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Rubisch
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attractor
|
@@ -144,6 +144,7 @@ extensions: []
|
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
146
|
- ".gitignore"
|
147
|
+
- ".tool-versions"
|
147
148
|
- Gemfile
|
148
149
|
- README.md
|
149
150
|
- Rakefile
|
@@ -163,7 +164,7 @@ metadata:
|
|
163
164
|
source_code_uri: https://github.com/julianrubisch/attractor-javascript
|
164
165
|
bug_tracker_uri: https://github.com/julianrubisch/attractor-javascript/issues
|
165
166
|
changelog_uri: https://github.com/julianrubisch/attractor-javascript/CHANGELOG.md
|
166
|
-
post_install_message:
|
167
|
+
post_install_message:
|
167
168
|
rdoc_options: []
|
168
169
|
require_paths:
|
169
170
|
- lib
|
@@ -178,8 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: '0'
|
180
181
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
182
|
-
signing_key:
|
182
|
+
rubygems_version: 3.3.22
|
183
|
+
signing_key:
|
183
184
|
specification_version: 4
|
184
185
|
summary: Attractor plugin for the Ruby programming language and its ecosystem
|
185
186
|
test_files: []
|