Skip to content

Commit 04cd0b7

Browse files
committed
Squashed 'buildres/csl/csl-styles/' changes from 737ffa1..30fb68e
30fb68e Create BJEDIS-ABNT-Number (#5255) aafb868 Update geochimica-et-cosmochimica-acta.csl (#5321) 60ba25f british-journal-of-anaesthesia.csl: add comma delimiter between non-sequential citations eg. 1 4 7-9 -> 1, 4, 7-9 (#5313) 67e6564 Reindent/reorder (#5318) c0d2a39 Ruby 3.0.0 (#5309) 76d60ff Update harvard-anglia-ruskin-university.csl (#5310) bc18ac9 Create journal-for-the-study-of-the-new-testament.csl (#5312) aff602c Update journal-of-food-protection.csl (#5315) 4503826 Update muscle-and-nerve.csl (#5317) 3bed58e constant redefinition 4d718a0 update documentaiton link fa99e2f add comma delimiter between succesive numbers d396f8b Allow privileged testing of PRs (#5307) 43b22c7 Update masarykova-univerzita-pravnicka-fakulta.csl, pravnik.csl, iso690-full-note-cs.csl (#5308) 8a31c1e Update copernicus-publications.csl (#5303) 96760bb Update anabases.csl (#5304) 744de6d removed locale (#5300) 7eb0d60 Update aviation-space-and-environmental-medicine.csl (#5297) 2769970 Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5298) 51e3f4c Update harvard-university-of-bath.csl (#5299) 5fce84f Create cns-spectrums.csl (#5290) bb8082c Create journal-of-surgical-oncology.csl (#5259) 90c13ae Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5288) 4bab1ad Update early-christianity.csl (#5289) 636ba78 Update tatup-zeitschrift-fur-technikfolgenabschatzung-in-theorie-und-… (#5291) b7cc511 Create biotechnologia.csl (#5292) 5bab881 Update journal-of-orthopaedic-trauma.csl (#5287) 5943413 Fix locales (#5285) 302bd65 Update universite-du-quebec-a-montreal-departement-dhistoire.csl (#5286) 860ae48 Add Haaga-Helia University of Applied Sciences Harvard style (#5282) c1c27de Localize Metropolia style title (#5283) 508da89 Fix presentation for Methods of Information in Medicine (#5284) 53e1d0b Create geschichte-und-gesellschaft.csl (#5216) d7ed0cb Create universite-de-geneve-departement-de-francais-moderne.csl (#5212) 80c404b Update journal-of-orthopaedic-trauma.csl (#5281) 20c143a Adding publishers' names (#5280) 6e5cd59 Update sodertorns-hogskola-oxford.csl (#5279) 52f2621 dollar-brace a260294 Create journal-of-microbiology-and-biotechnology.csl (#5277) 1fc979e Create qeios.csl (#5261) 86347b7 GH does this for us -- again, sorry guys b649589 Create experimental-biology-and-medicine.csl (#5276) 12ae0b1 Revert "tell sheldon about the job state" bdcae89 tell sheldon about the job state 1240067 Add Vegetation classification and Survey (#5271) 6f398f0 Major update to Gallia.csl (#5269) 2a74b2c Update filters.yaml (#5273) 20046d2 Update spec_helper.rb (#5272) 2ee0dd8 Create the-sociological-review.csl (#5260) 5b8d09c move filters to inert file to pacify Sheldon (#5268) e5f3315 Localize more language descriptors in style titles (#5270) bfd2942 Localize more language descriptors in style titles (#5267) 35e276f Fix variable used for the label after indication of number of pages (#5240) 60f6371 Create Universidade-do-Estado-do-Rio-de-Janeiro.csl (#5247) d8cc2ae Create the-journal-of-the-acoustical-society-of-america-numeric.csl (#5256) 92259c1 Create journal-of-financial-and-quantitative-analysis.csl (#5264) 6ba8aab Create journal-of-vestibular-research.csl (#5258) 0c88f41 Update european-journal-of-international-law.csl (#5265) cff5abc Put language descriptor within parentheses 4a62709 Update monash-university-harvard.csl (#5253) 64fd1aa Localize more language descriptors in style titles (#5262) f6519cb Localize more language descriptors in style titles (#5257) 170ccae tiny fixes for universitat-basel-iberoromanistik.csl (#5254) b7284c9 Localize more language descriptors in style titles (#5252) f4ef858 Add "Baishideng Publishing Group" dependents (#5251) 266e7c3 Make world-journal-of-hepatology.csl to bpg.csl parent (#5243) 9129098 fix small formatting issues for mclc.csl (#5229) 5d9560b Create crispr-journal.csl (#5249) a217299 Change "Czech" to "Čeština" in titles (#5248) 4fef39a Create journal-of-open-research-software.csl (#5245) 2bff1a6 Change "Dutch" to "Nederlands" in titles (#5242) f28da34 Update spec_helper.rb (#5246) e0e977c Move content from wiki pages to markdown files (#5194) 018304c Update universite-de-montreal-apa.csl (#5239) 3b83e5c Create sodertorns-hogskola-oxford.csl (#5234) 1335378 Stop notifying 8827 port on Zotero servers (#5237) f079b2a Update author-year disambiguation (#5238) 60bb0c9 Update technische-universitat-dresden-medizin.csl (#5236) e374657 Create Leidraad voor juridische auteurs 2019 (Dutch) (#5223) 0450d89 Add new style for U of Mannheim, Germanistische Linguistik (#5228) 81f0689 Create health-sports-rehabilitation-medicine.csl (#5233) c152a44 Update Gemfile.lock (#5235) 748e1eb Update geochimica-et-cosmochimica-acta.csl (#5231) 06b9ce8 Update zeitschrift-fur-theologie-und-philosophie.csl (#5230) e747cb1 haute-ecole-de-gestion-de-geneve: Make polyglot & et al changes 4cfedb7 Create universite-de-sherbrooke-histoire.csl (#5210) a96a61e Update journal-of-glaciology.csl (#5222) c6a94c9 Add Journal of Human Rights (#5227) c5c9c5f Update ruhr-universitat-bochum-lehrstuhl-fur-industrial-sales-and-ser… (#5214) ffb7aa6 Create comparativ.csl (#5215) e07329a Update lancaster-university-harvard.csl (#5220) c075d41 Update mimesis-edizioni.csl (#5219) 502970a Removed space in year only citation (#5218) 13e8c6b Update acta-scientiae-veterinariae.csl (#5209) 0699da6 Remake mammallia.csl for Oct/2020 guidelines. (#5207) b2dd3fd Update journal-of-international-business-studies.csl (#5217) dd52bfe Update quaternaire.csl (#5199) ccb1b0d rebuild webpage and article-journal citations in journal-of-forensic-sciences.csl (#5203) f02f4fb Create pedosphere.csl (#5196) 70dd87a Create open-gender-journal.csl (#5198) d272998 Create the-quarterly-journal-of-economics.csl (#5197) d27cab3 fix locale issues, add cite-locator (#5206) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 30fb68e
1 parent 5bccc62 commit 04cd0b7

File tree

778 files changed

+11710
-2171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

778 files changed

+11710
-2171
lines changed

.github/workflows/merge.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true'))
5959
uses: ruby/setup-ruby@v1
6060
with:
61-
ruby-version: 2.7.1
61+
ruby-version: 3.0.0
6262
- name: but use cache to speed that up
6363
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true'))
6464
uses: actions/cache@v2
@@ -98,13 +98,10 @@ jobs:
9898
if: github.event_name == 'workflow_dispatch'
9999

100100
# https://styles-update.zotero.org:8826/ is for Zotero (styles page, API's citation server, client style updates, etc.)
101-
# https://styles-update.zotero.org:8827/ is for the Zotero-run instance of https://github.com/citation-style-language/distribution-updater
102-
# that performs the updating of the (to-be-deprecated) https://github.com/citation-style-language/styles-distribution/ repo
103101
- name: ping Zotero servers
104102
if: github.repository == 'citation-style-language/styles'
105103
run: |
106104
curl -H 'Content-Length:' -H "Authorization: $ZOTERO_UPDATE_TOKEN" -F 'payload={"type":"push","branch":"${{ steps.release.outputs.branch }}","status":0,"commit":"'$GITHUB_SHA'"}' https://styles-update.zotero.org:8826/
107-
curl -H 'Content-Length:' -H "Authorization: $ZOTERO_UPDATE_TOKEN" -F 'payload={"type":"push","branch":"${{ steps.release.outputs.branch }}","status":0,"commit":"'$GITHUB_SHA'"}' https://styles-update.zotero.org:8827/
108105
109106
- name: Copy workflows to locales repository
110107
if: github.repository == 'citation-style-language/styles' && steps.update.outputs.workflows == 'true'

.github/workflows/sheldon.yaml

+23-12
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,34 @@ name: Pull request feedback
22

33
on:
44
pull_request_target:
5-
types: [ opened, synchronize ]
5+
types: [ opened, synchronize, labeled ]
66

77
jobs:
88
test:
99
runs-on: ubuntu-latest
1010
env:
1111
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1212
steps:
13-
- uses: actions/checkout@v2
13+
# owner-test just checks out the PR -- this has an exfiltration risk, make SURE that
14+
# this can only be triggered by people with repo write access -- such as people that can add
15+
# labels to a PR
16+
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests
17+
- name: Checkout repo for OWNER TEST
18+
uses: actions/checkout@v2
19+
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
20+
with:
21+
ref: ${{ github.event.pull_request.head.sha }}
22+
23+
# otherwise, checkout the current master, and the pr to the subdirectory 'pr'
24+
- name: Checkout base repo for pull-request test
25+
uses: actions/checkout@v2
26+
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
27+
- name: Checkout pull-request
28+
uses: actions/checkout@v2
29+
if: "! contains(github.event.pull_request.labels.*.name, 'safe to test')"
30+
with:
31+
path: pull-request
32+
ref: ${{ github.event.pull_request.head.sha }}
1433

1534
- name: Check for relevant changes
1635
uses: dorny/paths-filter@v2
@@ -29,36 +48,28 @@ jobs:
2948
echo changed: ${{ steps.changed.outputs.style_files }} ${{ steps.changed.outputs.locale_files }}
3049
3150
- name: Set up Ruby
32-
if: steps.changed.outputs.style == 'true' || steps.changed.outputs.locale == 'true'
3351
uses: ruby/setup-ruby@v1
3452
with:
35-
ruby-version: 2.7.1
53+
ruby-version: 3.0.0
3654
- name: but use cache to speed that up
37-
if: steps.changed.outputs.style == 'true' || steps.changed.outputs.locale == 'true'
3855
uses: actions/cache@v2
3956
with:
4057
path: vendor/bundle
4158
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
4259
restore-keys: |
4360
${{ runner.os }}-gems-
4461
- name: Bundle install
45-
if: steps.changed.outputs.style == 'true' || steps.changed.outputs.locale == 'true'
4662
run: |
4763
bundle config path vendor/bundle
4864
bundle update sheldon --jobs 4 --retry 3
4965
50-
- name: Apply the PR
51-
if: steps.changed.outputs.style == 'true' || steps.changed.outputs.locale == 'true'
52-
run: bundle exec sheldon --token=$GITHUB_TOKEN --apply
53-
5466
- name: Welcome to a new PR
5567
if: github.event.action == 'opened' && steps.changed.outputs.style == 'true'
5668
run: bundle exec sheldon --token=$GITHUB_TOKEN --welcome
5769

5870
- name: See if the styles/locales work
59-
if: steps.changed.outputs.style == 'true' || steps.changed.outputs.locale == 'true'
6071
run: bundle exec rake
6172

6273
- name: report
6374
if: (failure() || success()) && steps.changed.outputs.style == 'true'
64-
run: bundle exec sheldon --token=$GITHUB_TOKEN --report --verbose
75+
run: bundle exec sheldon --token=$GITHUB_TOKEN --${{ job.status }} --verbose

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.env
2-
spec/sheldon/travis.json
2+
spec/sheldon/ci.json

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ The CSL style repository is the central location on the web for collecting and m
44
Software products like Zotero, Mendeley, and Papers all draw their styles from our repository.
55

66
We welcome style submissions (and corrections), and are particularly interested in styles for journals and published style guides.
7-
If you wish to submit a different type of style, please first check our [Criteria for Accepting Styles](https://github.com/citation-style-language/styles/wiki/Criteria-for-Accepting-Styles).
7+
If you wish to submit a different type of style, please first check our [Criteria for Accepting Styles](https://github.com/citation-style-language/styles/blob/master/README.md#criteria-for-inclusion).
88

99
To submit a style, please follow the following steps (for locale files, follow the same steps in the [locales](https://github.com/citation-style-language/locales) repository):
1010

11-
#### 1. Check that your style meets all our [style requirements](https://github.com/citation-style-language/styles/wiki/Style-Requirements)
11+
#### 1. Check that your style meets all our [style requirements](https://github.com/citation-style-language/styles/blob/master/STYLE_REQUIREMENTS.md)
1212

1313
#### 2. [Validate](https://validator.citationstyles.org/) your style against the CSL schema, and correct any validation errors
1414

@@ -20,15 +20,15 @@ To start, create a GitHub account and sign in.
2020
##### 3a. Submitting a new style
2121

2222
1. Visit https://github.com/citation-style-language/styles and click the "Create new file" button.
23-
When submitting a [dependent style](https://github.com/citation-style-language/styles/wiki/Requesting-Styles#dependent-styles), first navigate to the [dependent](https://github.com/citation-style-language/styles/tree/master/dependent) subdirectory.
23+
When submitting a [dependent style](https://github.com/citation-style-language/styles/blob/master/REQUESTING.md#dependent-styles), first navigate to the [dependent](https://github.com/citation-style-language/styles/tree/master/dependent) subdirectory.
2424
2. Type in the file name of the style in the "Name your file..." text field at the top.
2525
Don't forget to add the ".csl" extension (e.g., "journal-of-results.csl" instead of just "journal-of-results")!
2626
3. Paste the style code into the "<> Edit new file" tab below.
2727
4. Click the "Propose new file" button.
2828
5. In the next window, click the "Create pull request" button.
2929
Describe the changes you've made, and click the "Create pull request" button once more.
3030

31-
(for more help, see GitHub's instructions on [Creating new files](https://help.github.com/articles/creating-new-files))
31+
(For more help, see GitHub's instructions on [Creating new files](https://help.github.com/articles/creating-new-files).)
3232

3333
##### 3b. Submitting changes to an existing style
3434

@@ -41,7 +41,7 @@ To start, create a GitHub account and sign in.
4141
5. In the next window, click the "Create pull request" button.
4242
Describe the changes you've made, and click the "Create pull request" button once more.
4343

44-
(for more help, see GitHub's instructions on [Editing files in another user's repository](https://help.github.com/articles/editing-files-in-another-user-s-repository))
44+
(For more help, see GitHub's instructions on [Editing files in another user's repository](https://help.github.com/articles/editing-files-in-another-user-s-repository).)
4545

4646
Instead of relying solely on the GitHub website, you can also use a git client, such as [GitHub Desktop](https://desktop.github.com/) for Mac and Windows, or [SmartGit](http://www.syntevo.com/smartgit/).
4747
When using a client, [fork](https://help.github.com/articles/fork-a-repo/) the [style repository](https://github.com/citation-style-language/styles), create a branch off of "master", commit your changes, and then create a [pull request](https://help.github.com/articles/using-pull-requests/).

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ruby '2.7.1'
1+
ruby '3.0.0'
22
source 'https://rubygems.org'
33

44
gem 'rake'

Gemfile.lock

+54-25
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,85 @@
11
GIT
22
remote: https://github.com/citation-style-language/Sheldon.git
3-
revision: 1962fad73610a3e0b1610e0c24c16669d584196b
3+
revision: 38b6de75ac4dd86d6b3b47c172431e6e44f53ca0
44
specs:
5-
sheldon (1.0.2)
5+
sheldon (1.0.30)
66
citeproc-ruby
77
csl-styles
88
diffy
99
dotenv
10+
erubis (~> 2.7)
11+
faraday
12+
faraday_middleware
13+
git_diff
14+
hashdiff (= 0.3.7)
1015
nokogiri
16+
octokit (~> 4.0)
1117
ostruct
1218
reverse_markdown
1319

1420
GEM
1521
remote: https://rubygems.org/
1622
specs:
23+
addressable (2.7.0)
24+
public_suffix (>= 2.0.2, < 5.0)
1725
citeproc (1.0.10)
1826
namae (~> 1.0)
19-
citeproc-ruby (1.1.12)
27+
citeproc-ruby (1.1.13)
2028
citeproc (~> 1.0, >= 1.0.9)
2129
csl (~> 1.5)
22-
csl (1.5.1)
30+
csl (1.5.2)
2331
namae (~> 1.0)
2432
csl-styles (1.0.1.10)
2533
csl (~> 1.0)
2634
diff-lcs (1.4.4)
2735
diffy (3.4.0)
2836
dotenv (2.7.6)
29-
fuubar (2.5.0)
37+
erubis (2.7.0)
38+
faraday (1.3.0)
39+
faraday-net_http (~> 1.0)
40+
multipart-post (>= 1.2, < 3)
41+
ruby2_keywords
42+
faraday-net_http (1.0.1)
43+
faraday_middleware (1.0.0)
44+
faraday (~> 1.0)
45+
fuubar (2.5.1)
3046
rspec-core (~> 3.0)
3147
ruby-progressbar (~> 1.4)
32-
mini_portile2 (2.4.0)
33-
namae (1.0.1)
34-
nokogiri (1.10.10)
35-
mini_portile2 (~> 2.4.0)
36-
ostruct (0.2.0)
37-
rake (13.0.1)
48+
git_diff (0.4.3)
49+
hashdiff (0.3.7)
50+
mini_portile2 (2.5.0)
51+
multipart-post (2.1.1)
52+
namae (1.0.2)
53+
nokogiri (1.11.1)
54+
mini_portile2 (~> 2.5.0)
55+
racc (~> 1.4)
56+
octokit (4.20.0)
57+
faraday (>= 0.9)
58+
sawyer (~> 0.8.0, >= 0.5.3)
59+
ostruct (0.3.3)
60+
public_suffix (4.0.6)
61+
racc (1.5.2)
62+
rake (13.0.3)
3863
reverse_markdown (2.0.0)
3964
nokogiri
40-
rspec (3.9.0)
41-
rspec-core (~> 3.9.0)
42-
rspec-expectations (~> 3.9.0)
43-
rspec-mocks (~> 3.9.0)
44-
rspec-core (3.9.2)
45-
rspec-support (~> 3.9.3)
46-
rspec-expectations (3.9.2)
65+
rspec (3.10.0)
66+
rspec-core (~> 3.10.0)
67+
rspec-expectations (~> 3.10.0)
68+
rspec-mocks (~> 3.10.0)
69+
rspec-core (3.10.1)
70+
rspec-support (~> 3.10.0)
71+
rspec-expectations (3.10.1)
4772
diff-lcs (>= 1.2.0, < 2.0)
48-
rspec-support (~> 3.9.0)
49-
rspec-mocks (3.9.1)
73+
rspec-support (~> 3.10.0)
74+
rspec-mocks (3.10.2)
5075
diff-lcs (>= 1.2.0, < 2.0)
51-
rspec-support (~> 3.9.0)
52-
rspec-support (3.9.3)
53-
ruby-progressbar (1.10.1)
76+
rspec-support (~> 3.10.0)
77+
rspec-support (3.10.2)
78+
ruby-progressbar (1.11.0)
79+
ruby2_keywords (0.0.4)
80+
sawyer (0.8.2)
81+
addressable (>= 2.3.5)
82+
faraday (> 0.8, < 2.0)
5483

5584
PLATFORMS
5685
ruby
@@ -64,7 +93,7 @@ DEPENDENCIES
6493
sheldon!
6594

6695
RUBY VERSION
67-
ruby 2.7.1
96+
ruby 3.0.0p0
6897

6998
BUNDLED WITH
70-
2.1.4
99+
2.2.3

0 commit comments

Comments
 (0)