Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PDFKit::VERSION public #484

Merged
merged 1 commit into from Jan 24, 2021
Merged

Make PDFKit::VERSION public #484

merged 1 commit into from Jan 24, 2021

Conversation

tricknotes
Copy link
Contributor

This allows fature detection in application code.

Before

$ ruby -I ./lib -r pdfkit -e 'puts PDFKit::VERSION'
Traceback (most recent call last):
-e:1:in `<main>': uninitialized constant PDFKit::VERSION (NameError)

After

$ ruby -I ./lib -r pdfkit -e 'puts PDFKit::VERSION'
0.8.4.3.2

This allows fature detection in application code.

- Before
```
$ ruby -I ./lib -r pdfkit -e 'puts PDFKit::VERSION'
Traceback (most recent call last):
-e:1:in `<main>': uninitialized constant PDFKit::VERSION (NameError)
```

- After
```
$ ruby -I ./lib -r pdfkit -e 'puts PDFKit::VERSION'
0.8.4.3.2
```
@serene serene added the ready label Jan 18, 2021
@serene serene merged commit 898ecbe into pdfkit:master Jan 24, 2021
@serene serene mentioned this pull request Jan 24, 2021
@tricknotes tricknotes deleted the version branch January 24, 2021 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants