attractor-javascript 0.1.0 → 0.2.0
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 +4 -4
- data/README.md +16 -0
- data/lib/attractor/calculators/js_calculator.rb +2 -2
- data/lib/attractor/javascript/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3862bdcafd4cb3e28993c5cd7eac00c460183e5f011537d7f000a8dd73582a33
|
|
4
|
+
data.tar.gz: 73b09d57492392e42f9dbadb071721fc3718970b756408e5f68fa146260fbc38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d052ece446d69fd9320a5fe54b2bed129b88cabdb002bed52aabd94b7f6b3fc9639da895640b9a9b2fdeb1e1b315037d5538e0806fded9ca33b6190acc4ffb87
|
|
7
|
+
data.tar.gz: 4eaa9a4f340daf0278a8f7c9cbdac4301f044d3be924d0345e5c967c6290342be4daf3b2d7238650a554e41e7fdb63b38727f924f84e881bea30cb3462715805
|
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
|
+
[](#contributors-)
|
|
4
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
5
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
3
6
|
[](#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)
|
|
6
|
+
super(file_prefix: file_prefix, ignores: ignores, file_extension: '(js|jsx)', minimum_churn_count: minimum_churn_count, start_ago: start_ago)
|
|
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.2.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: 2021-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: attractor
|
|
@@ -163,7 +163,7 @@ metadata:
|
|
|
163
163
|
source_code_uri: https://github.com/julianrubisch/attractor-javascript
|
|
164
164
|
bug_tracker_uri: https://github.com/julianrubisch/attractor-javascript/issues
|
|
165
165
|
changelog_uri: https://github.com/julianrubisch/attractor-javascript/CHANGELOG.md
|
|
166
|
-
post_install_message:
|
|
166
|
+
post_install_message:
|
|
167
167
|
rdoc_options: []
|
|
168
168
|
require_paths:
|
|
169
169
|
- lib
|
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
179
|
version: '0'
|
|
180
180
|
requirements: []
|
|
181
181
|
rubygems_version: 3.0.3
|
|
182
|
-
signing_key:
|
|
182
|
+
signing_key:
|
|
183
183
|
specification_version: 4
|
|
184
184
|
summary: Attractor plugin for the Ruby programming language and its ecosystem
|
|
185
185
|
test_files: []
|