pictogram 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CONTRIBUTING.md +191 -0
- data/.github/ISSUE_TEMPLATE.md +18 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +10 -0
- data/README.md +34 -32
- data/lib/pictogram/version.rb +1 -1
- data/pictogram.gemspec +2 -2
- data/vendor/assets/images/puppet/puppet.png +0 -0
- metadata +9 -107
- data/.jshintrc +0 -4
- data/.nojekyll +0 -0
- data/.travis.yml +0 -11
- data/CONTRIBUTING.md +0 -10
- data/index.html +0 -126
- data/index.js +0 -29
- data/index.test.js +0 -26
- data/package.json +0 -24
- data/pictogram.css +0 -330
- data/vendor/assets/images/actionscript/actionscript.json +0 -21
- data/vendor/assets/images/alcatraz/alcatraz.json +0 -22
- data/vendor/assets/images/apacheconf/apacheconf.json +0 -18
- data/vendor/assets/images/arduino/arduino.json +0 -32
- data/vendor/assets/images/assembly/assembly.json +0 -27
- data/vendor/assets/images/atom/atom.json +0 -32
- data/vendor/assets/images/biicode/biicode.json +0 -31
- data/vendor/assets/images/bower/bower.json +0 -34
- data/vendor/assets/images/c-sharp/c-sharp.json +0 -27
- data/vendor/assets/images/c/c.json +0 -27
- data/vendor/assets/images/cargo/cargo.json +0 -31
- data/vendor/assets/images/carthage/carthage.json +0 -33
- data/vendor/assets/images/cirru/cirru.json +0 -33
- data/vendor/assets/images/clojars/clojars.json +0 -31
- data/vendor/assets/images/clojure/clojure.json +0 -34
- data/vendor/assets/images/cocoapods/cocoapods.json +0 -35
- data/vendor/assets/images/coffeescript/coffeescript.json +0 -18
- data/vendor/assets/images/cpan/cpan.json +0 -27
- data/vendor/assets/images/cpp/cpp.json +0 -28
- data/vendor/assets/images/cran/cran.json +0 -28
- data/vendor/assets/images/crystal/crystal.json +0 -33
- data/vendor/assets/images/css/css.json +0 -18
- data/vendor/assets/images/cucumber/cucumber.json +0 -33
- data/vendor/assets/images/d/d.json +0 -34
- data/vendor/assets/images/dart/dart.json +0 -35
- data/vendor/assets/images/dub/dub.json +0 -18
- data/vendor/assets/images/elixir/elixir.json +0 -34
- data/vendor/assets/images/elm/elm.json +0 -34
- data/vendor/assets/images/emacs/emacs.json +0 -26
- data/vendor/assets/images/erlang/erlang.json +0 -26
- data/vendor/assets/images/f-sharp/f-sharp.json +0 -35
- data/vendor/assets/images/fortran/fortran.json +0 -26
- data/vendor/assets/images/game maker language/game maker language.json +0 -27
- data/vendor/assets/images/go/go.json +0 -35
- data/vendor/assets/images/gosu/gosu.json +0 -33
- data/vendor/assets/images/groovy/groovy.json +0 -34
- data/vendor/assets/images/hack/hack.json +0 -27
- data/vendor/assets/images/hackage/hackage.json +0 -34
- data/vendor/assets/images/handlebars/handlebars.json +0 -27
- data/vendor/assets/images/haskell/haskell.json +0 -34
- data/vendor/assets/images/haxe/haxe.json +0 -28
- data/vendor/assets/images/haxelib/haxe.json +0 -28
- data/vendor/assets/images/hex/hex.json +0 -33
- data/vendor/assets/images/homebrew/homebrew.json +0 -32
- data/vendor/assets/images/html/html.json +0 -18
- data/vendor/assets/images/inqlude/inqlude.json +0 -26
- data/vendor/assets/images/jam/jam.json +0 -21
- data/vendor/assets/images/java/java.json +0 -26
- data/vendor/assets/images/javascript/javascript.json +0 -35
- data/vendor/assets/images/julia/julia.json +0 -34
- data/vendor/assets/images/jupyter notebook/jupyter notebook.json +0 -33
- data/vendor/assets/images/kotlin/kotlin.json +0 -33
- data/vendor/assets/images/livescript/livescript.json +0 -27
- data/vendor/assets/images/lua/lua.json +0 -34
- data/vendor/assets/images/make/make.json +0 -27
- data/vendor/assets/images/makefile/makefile.json +0 -27
- data/vendor/assets/images/matlab/matlab.json +0 -33
- data/vendor/assets/images/maven/maven.json +0 -26
- data/vendor/assets/images/meteor/meteor.json +0 -35
- data/vendor/assets/images/nimble/nimble.json +0 -35
- data/vendor/assets/images/nimrod/nimrod.json +0 -35
- data/vendor/assets/images/npm/npm.json +0 -34
- data/vendor/assets/images/nuget/nuget.json +0 -34
- data/vendor/assets/images/ocaml/ocaml.json +0 -33
- data/vendor/assets/images/packagist/packagist.json +0 -34
- data/vendor/assets/images/perl/perl.json +0 -18
- data/vendor/assets/images/perl6/perl6.json +0 -26
- data/vendor/assets/images/php/php.json +0 -34
- data/vendor/assets/images/platformio/platformio.json +0 -32
- data/vendor/assets/images/powershell/powershell.json +0 -35
- data/vendor/assets/images/pub/pub.json +0 -35
- data/vendor/assets/images/puppet/puppet.json +0 -34
- data/vendor/assets/images/purescript/purescript.json +0 -35
- data/vendor/assets/images/pypi/pypi.json +0 -34
- data/vendor/assets/images/python/python.json +0 -34
- data/vendor/assets/images/r/r.json +0 -28
- data/vendor/assets/images/racket/racket.json +0 -32
- data/vendor/assets/images/ruby/ruby.json +0 -34
- data/vendor/assets/images/rubygems/rubygems.json +0 -32
- data/vendor/assets/images/rust/rust.json +0 -34
- data/vendor/assets/images/saltstack/saltstack.json +0 -32
- data/vendor/assets/images/scala/scala.json +0 -35
- data/vendor/assets/images/scheme/scheme.json +0 -25
- data/vendor/assets/images/shards/shards.json +0 -33
- data/vendor/assets/images/smarty/smarty.json +0 -33
- data/vendor/assets/images/sublime/sublime.json +0 -26
- data/vendor/assets/images/swift/swift.json +0 -26
- data/vendor/assets/images/tex/tex.json +0 -28
- data/vendor/assets/images/typescript/typescript.json +0 -27
- data/vendor/assets/images/vue/vue.json +0 -33
- data/vendor/assets/images/wordpress/wordpress.json +0 -34
- data/vendor/assets/images/xml/xml.json +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f39365ca05f5247553b072f7c0602abbfb0758ce
|
4
|
+
data.tar.gz: e438825f8b127f01696507484e80321743bd8439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc7675e18a098f6cfef4db35a85a5bfbd7f743371e6f56f9535f5ee109e88ac2592c773fe0101a3d6e9d785ad13a2cbe110f6853e872fcfdc24934ce69af9ea1
|
7
|
+
data.tar.gz: 406582765fc7ac68195f53db0114b8da37032a1aeee01f54df94b28d0388f513380044d38f0106c2fdefeb1f9d555f2cc9ba5525db5d661ee85bf218a7ae75c8
|
@@ -0,0 +1,191 @@
|
|
1
|
+
## Contributing to Libraries.io :heart:
|
2
|
+
Thanks for considering contributing. These guidelines outline how to contribute to the [Libraries.io](http://github.com/librariesio) project.
|
3
|
+
|
4
|
+
## Table of Contents
|
5
|
+
[What is Libraries.io all about?](#whats-librariesio-about)
|
6
|
+
|
7
|
+
[What should I know Before I get started?](#what-should-i-know-before-i-get-started)
|
8
|
+
* [Code of conduct](#code-of-conduct)
|
9
|
+
* [Langauge](#langauge)
|
10
|
+
* [Installation and setup](#setup)
|
11
|
+
|
12
|
+
[How can I contribute?](#how-can-i-contribute)
|
13
|
+
* [Reporting bugs](#reporting-bugs)
|
14
|
+
* [Suggesting enhancements](#suggesting-enhancements)
|
15
|
+
* [Suggesting a new feature](#suggesting-new-features)
|
16
|
+
* [Your first contribution](#your-first-contribution)
|
17
|
+
* [Tackling something meatier](#tackling-something-meatier)
|
18
|
+
|
19
|
+
[How can I talk to other contributors?](#how-can-i-talk-to-other-contributors)
|
20
|
+
* [Chat](#chat)
|
21
|
+
* [Video](#video)
|
22
|
+
* [Social media](#twitter)
|
23
|
+
|
24
|
+
[Who Are Libraries.io's Users?](#who-are-librariesios-users)
|
25
|
+
|
26
|
+
[Our workflow](#workflow)
|
27
|
+
|
28
|
+
|
29
|
+
## What's Libraries.io About?
|
30
|
+
_Our goal is to raise the quality of all software._
|
31
|
+
|
32
|
+
By outlining our [mission and strategy](/strategy.md) we hope to give you more power to make decisions and determine how best to spend your time. Specifically we tackle three distinct problems:
|
33
|
+
|
34
|
+
* Discovery: _Helping developers make faster, more informed decisions about the software that they use._
|
35
|
+
* Maintainability: _Helping maintainers understand more about the software they depend upon and the consumers of their software._
|
36
|
+
* Sustainability: _Supporting undervalued software by highlighting shortfalls in contribution and funneling support to them._
|
37
|
+
|
38
|
+
## What Should I Know Before I Get Started?
|
39
|
+
|
40
|
+
### Code of Conduct
|
41
|
+
Libraries.io is an open and inclusive [community of people](https://github.com/orgs/librariesio/people) working together. We expect contributors to abide by our [contributor code of conduct](CODE_OF_CONDUCT.md) which basically say 'be excellent to each other'. Please report unacceptable behavior to conduct@libraries.io
|
42
|
+
|
43
|
+
### Language
|
44
|
+
We communicate predominately in English. Contributions to the project should be made with English as the first language. We are happy for members of the community to communicate in a language other than English in chat, email and video but be aware that this might be considered exclusive by other members of the community.
|
45
|
+
|
46
|
+
### Documentation
|
47
|
+
Documentation for the project as a whole is available at [docs.libraries.io](https://docs.libraries.io). These pages are generated from the [documentation](https://github.com/librariesio/documentation) repo. Documentation that needs to be in every repo is replicated in [required-files](https://github.com/librariesio/required-files) (currently limited to [GitHub templates](https://github.com/blog/2111-issue-and-pull-request-templates)). Otherwise documentation will be specific to that repo. For example the main [Libraries.io](https://github.com/librariesio/libraries.io) `README.md` contains information about installing and running the main rails application.
|
48
|
+
|
49
|
+
### Setup
|
50
|
+
If you wish to make contributions to Libraries.io then you'll need a local version of the site to test. You can find instructions to install the correct Ruby version, Postgres, and to set up the database in our [README](https://github.com/librariesio/libraries.io/blob/master/README.md#getting-started).
|
51
|
+
|
52
|
+
## How Can I Contribute?
|
53
|
+
|
54
|
+
### Reporting Bugs
|
55
|
+
|
56
|
+
The simplest thing that you can do to help us is by filing good bug reports, so here we go:
|
57
|
+
|
58
|
+
#### Before Submitting a Bug Report
|
59
|
+
|
60
|
+
* Double-check that the bug is persistent. The site is still in it's infancy and sometimes artifacts may appear and disappear.
|
61
|
+
* Double-check the bug hasn't already been reported [on our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they *should* be labelled `bug` or `bugsnag`.
|
62
|
+
|
63
|
+
If something hasn't been raised, you can go ahead and create a new issue using [the template](/issue_template.md). If you'd like to help investigate further or fix the bug just mention it in your issue and check out our [workflow](#workflow).
|
64
|
+
|
65
|
+
### Suggesting Enhancements
|
66
|
+
|
67
|
+
The next simplest thing you can do to help us is by telling us how we can improve the features we already support, here we go:
|
68
|
+
|
69
|
+
#### Before Submitting an Enhancement
|
70
|
+
|
71
|
+
* Check that the enhancement is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be labelled 'enhancement'.
|
72
|
+
|
73
|
+
If there isn't already an issue for feature then go ahead and create a new issue for it using the [template](/issue_template.md). If you'd like to work on the enhancement then just mention it in a comment and check out our [workflow](#workflow).
|
74
|
+
|
75
|
+
### Suggesting New Features
|
76
|
+
|
77
|
+
If you're into this zone then you need to understand a little more about what we're trying to achieve:
|
78
|
+
|
79
|
+
#### Before Suggesting a Feature
|
80
|
+
|
81
|
+
* Check that it aligns with [our strategy](strategy.md) and is specifically not in line with something we have said we will not do (for the moment this is anything to do with ranking *people*).
|
82
|
+
* Check that the feature is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be tagged 'feature'.
|
83
|
+
* Specifically check that it is not already a [funded commitment](https://github.com/librariesio/supporters/issues).
|
84
|
+
|
85
|
+
If you're still thinking about that killer feature that no one else is thinking about then *please* create an issue for it using the [template](/issue_template.md).
|
86
|
+
|
87
|
+
### Your First Contribution
|
88
|
+
You're in luck! We label issues that are ideal for first time contributors with [`first-pr`](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Alibrariesio+label%3A%22first-pr%22). For someone who wants something a little more meaty you might find an issue that needs some assistance with [`help wanted`](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Alibrariesio+label%3A%22help+wanted%22). Next you'll want to read our [workflow](#workflow).
|
89
|
+
|
90
|
+
### Tackling Something Meatier
|
91
|
+
|
92
|
+
Tickets are labeled by size, skills required and to indicate workflow. Details can be found in our [labelling policy](/labelling.md).
|
93
|
+
|
94
|
+
To get you started you might want to check out issues concerning [documentation](https://github.com/librariesio/documentation/issues/), [user experience](https://github.com/librariesio/libraries.io/labels/ux), [visual design](https://github.com/librariesio/libraries.io/issues/labels/visual%20design) or perhaps something already [awaiting help](https://github.com/librariesio/libraries.io/labels/help%20wanted). You may find the following useful:
|
95
|
+
|
96
|
+
* Our [strategy](/strategy.md) which outlines what our goals are, how we are going to achieve those goals and what we are specifically going to avoid.
|
97
|
+
* A [techncial overview](/overview.md) of the components that make up the Libraries.io project and run the [https://libraries.io](https://libraries.io) site.
|
98
|
+
|
99
|
+
## How Can I Talk To Other Contributors?
|
100
|
+
|
101
|
+
### Chat
|
102
|
+
We use [Slack](http://slack.io) for chat. There's an open invitation available to anyone who wishes to join the conversation at [http://slack.libraries.io](http://slack.libraries.io).
|
103
|
+
|
104
|
+
We try to use the following channels accordingly:
|
105
|
+
|
106
|
+
* `#general` channel is used for general, water cooler-type conversation, contributor updates and issue discussion.
|
107
|
+
* `#events` is used to share and discuss events that may be of interest to or attended by members of the community
|
108
|
+
* `#activity` contains notifications from the various platforms that we use to keep the Libraries.io project turning. Including notifications from GitHub, Twitter and our servers.
|
109
|
+
|
110
|
+
Members are encouraged to openly discuss their work, their lives, share views and ask for help using chat. It should be considered a *safe space* in which there is *no such thing as a stupid question*. Conversely no one contributor should ever be expected to have read something said in a chat. If someone should know something then it should be written down as an issue and/or documented in an obvious place for others to find.
|
111
|
+
|
112
|
+
### Video
|
113
|
+
[Google Hangouts](http://hangouts.google.com) is our preferred tool for video chat. We operate an [open hangout](http://bit.ly/2kWtYak) for anyone to jump into at any time to discuss issues face to face.
|
114
|
+
|
115
|
+
### Regular updates
|
116
|
+
Contributors are encouraged to share what they're working on. We do this through daily or weekly updates in the `#general` channel on Slack. Updates should take the format 'currently working on X, expecting to move onto Y, blocked on Z' where x, y and z are issues in our [issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio).
|
117
|
+
|
118
|
+
Additionally we host an [open hangout](http://bit.ly/2kWtYak) for any contributor to join at *5pm UTC on a Tuesday* to discuss their work, the next week's priorities and to ask questions of other contributors regarding any aspect of the project. Again this is considered a *safe space* in which *there is no such thing as a stupid question*.
|
119
|
+
|
120
|
+
### Mail
|
121
|
+
The [core team](https://github.com/orgs/librariesio/teams/core) operate a mailing list for project updates. If you'd like to subscribe you'll find a form in the footer on [Libraries.io](http://libraries.io).
|
122
|
+
|
123
|
+
### Twitter
|
124
|
+
We have an account on Twitter at [@librariesio](http://twitter.com/librariesio). This is predominately used to retweet news, events and musings by contributors rather than as a direct method of communication. Contributors are encouraged to use @librariesio in a tweet when talking about the project, so that we may retweet if appropriate. The account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
|
125
|
+
|
126
|
+
### Facebook
|
127
|
+
We have a Facebook page at [@libraries.io](https://www.facebook.com/libraries.io). Again this is predominantly used to gather and reflect news, events and musings by contributors rather than as a direct method of communication. Contributors are encouraged to reference Libraries.io in a post when talking about the project, so that we may reflect this if appropriate. Again the account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
|
128
|
+
|
129
|
+
### Medium
|
130
|
+
We have a Medium account at [@librariesio](https://medium.com/@librariesio) and once again it is used to reflect news, events and musings by contributors rather than a direct method of communication. Contributors are encouraged to reference @librariesio in a post when talking about the project, so that we may recommend it if appropriate. Again the account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
|
131
|
+
|
132
|
+
## Who Are Libraries.io's Users?
|
133
|
+
Libraries.io focusses on the following personas:
|
134
|
+
|
135
|
+
### Google
|
136
|
+
_Is hungry for linked data so she can serve you up search traffic_
|
137
|
+
|
138
|
+
### 'Searcher'
|
139
|
+
_Is a developer with a problem, she is looking for something to help solve it._
|
140
|
+
|
141
|
+
### 'Producer'
|
142
|
+
_Has a product or products that incorporates some free/open source dependencies. She needs to ensure the product(s) are well maintained, free of vulnerabilities and licence compatible._
|
143
|
+
|
144
|
+
### 'Maintainer'
|
145
|
+
_Is a developer with a successful free/open source project. She's looking to understand more about those who use her project, attract more contributors and manage their contributions well._
|
146
|
+
|
147
|
+
### 'Extender'
|
148
|
+
_Has her own ideas. She wants access to the raw data so that she can mash up her own service and offer it to the world._
|
149
|
+
|
150
|
+
### 'Overlord'
|
151
|
+
_Has a vast empire of people, products and projects. Some of which she publishes as open source, some are proprietary. She wants to ensure that her policies regarding the use of dependencies are adhered to and that her team are as efficient as possible._
|
152
|
+
|
153
|
+
## Workflow
|
154
|
+
In general we use [GitHub](https://help.github.com/) and [Git](https://git-scm.com/docs/gittutorial) to support our workflow. If you are unfamiliar with those tools then you should check them out until you feel you have a basic understanding of GitHub and a working understanding of Git. Specifically you should understand how forking, branching, committing, PRing and merging works.
|
155
|
+
|
156
|
+
#### Forking
|
157
|
+
We prefer that contributors fork the project in order to contribute.
|
158
|
+
|
159
|
+
#### Branching
|
160
|
+
We *try* to use principles of [GitHub-flow](https://lucamezzalira.com/2014/03/10/git-flow-vs-github-flow/) in our branching model. That is the `master` branch will always be deployable to the live site, and that every branch from that will be used to add a feature, fix a bug, improve something or otherwise represent an atomic unit of work.
|
161
|
+
|
162
|
+
#### Ticketing
|
163
|
+
We *try* to create an issue for everything. That is any bug, feature or enhancement that is worth an open, focussed and documented discussion.
|
164
|
+
|
165
|
+
#### Labelling
|
166
|
+
We constrain labels as they are a key part of our workflow. Tickets will be labeled according to our [labelling policy](/labelling.md).
|
167
|
+
|
168
|
+
#### Templates
|
169
|
+
We use templates to guide contributors toward good practice in [filing bugs, requesting enhancements and features](/issue_template.md) and in [issuing pull-requests](/pull_request_template.md).
|
170
|
+
|
171
|
+
#### Commenting
|
172
|
+
If it possible to comment your contribution — for instance if you are contributing code — then do so in a way that is simple, clear, concise and lowers the level of understanding necessary for others to comprehend what comes afterward does or achieves. If you are contributing code it is very likely it will be rejected if it does not contain sufficient comments.
|
173
|
+
|
174
|
+
#### Committing
|
175
|
+
When committing to a branch be sure to use plain, simple language that describes the incremental changes made on the branch toward the overall goal. Avoid unnecessary complexity. Simplify whenever possible. Assume a reasonable but not comprehensive knowledge of the tools, techniques and context of your work.
|
176
|
+
|
177
|
+
#### Testing
|
178
|
+
When adding or fixing functionality, tests should be added to help reduce future regressions and breakage. All tests are ran automatically when new commits are pushed to a branch. Pull requests with broken/missing tests are not likely to be merged.
|
179
|
+
|
180
|
+
#### Submitting for Review
|
181
|
+
Once a piece of work (in a branch) is complete it should be readied for review. This is your last chance to ensure that your contribution is [properly tested](#testing). If you are contributing code it is likely your contribution will be rejected if it would lower the test-coverage. Once this is done you can submit a pull-request following the [template](/pull_request_template.md).
|
182
|
+
|
183
|
+
It is likely that your contributions will need to be checked by at least one member of the [core team](https://github.com/orgs/librariesio/teams/core) prior to merging. It is also incredibly likely that your contribution may need some re-work in order to be accepted. Particularly if it lacks an appropriate level of comments, tests or it is difficult to understand your commits. Please do not take offense if this is the case. We understand that contributors give their time because they want to improve the project but please understand it is another's responsibility to ensure that the project is maintainable, and good practices like these are key to ensuring that is possible.
|
184
|
+
|
185
|
+
#### Reviewing a PR
|
186
|
+
We appreciate that it may be difficult to offer constructive criticism, but it is a necessary part of ensuring the project is maintainable and successful. If it is difficult to understand something, request it is better commented. If you do not feel assured of the robustness of a contribution, request it is better tested. If it is unclear what the goal of the piece of work is and how it relates to the [strategy](/strategy.md), request a clarification in the corresponding issue. If a pull-request has no corresponding issue, decreases code coverage or otherwise decreases the quality of the project. Reject it. Otherwise, merge it.
|
187
|
+
|
188
|
+
#### Merging
|
189
|
+
As we keep the `master` branch in a permanent state of 'deployment ready' once-merged your contribution will be live on the next deployment.
|
190
|
+
#### Deploying
|
191
|
+
Any member of the [deployers](https://github.com/orgs/librariesio/teams/deployers) team are able to redeploy the site. If you require a deployment then you might find one of them in our `#general` [chat channel on Slack](slack.libraries.io).
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Thanks for taking the time to raise an issue. This template should guide you through the process of submitting a bug, enhancement or feature request. Please erase any part of this template that is not relevant to your issue.
|
2
|
+
|
3
|
+
## Bugs
|
4
|
+
Before submitting a bug report:
|
5
|
+
|
6
|
+
- [ ] Double-check that the bug is persistent,
|
7
|
+
- [ ] Double-check the bug hasn't already been reported [on our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they *should* be labelled `bug` or `bugsnag`.
|
8
|
+
|
9
|
+
If you have completed those steps then please replace this section with a description of the steps taken to recreate the bug, the expected behavior and the observed behavior.
|
10
|
+
|
11
|
+
## Enhancements and Features
|
12
|
+
|
13
|
+
Before submitting an enhancement or feature request:
|
14
|
+
|
15
|
+
- [ ] Check that the enhancement is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be labelled 'enhancement'.,
|
16
|
+
- [ ] For large feature requests, check that your request aligns with our strategy http://docs.libraries.io/strategy.
|
17
|
+
|
18
|
+
If you have complete the above step then please replace this section with a description of your proposed enhancement or feature, the motivation for it, an approach and any alternative approaches considered, and whether you are willing and able to create a pull request for it. Note that we may close this issue if it's not something we're planning on working on.
|
@@ -0,0 +1,10 @@
|
|
1
|
+
Thanks taking the time to contribute. This template should help guide you through the process of creating a pull request for review. Please erase any part of this template that is not relevant to your pull request:
|
2
|
+
|
3
|
+
|
4
|
+
- [ ] Have you followed the guidelines for [contributors](http://docs.libraries.io/contributorshandbook)?
|
5
|
+
- [ ] Have you checked to ensure there aren't other open pull requests on the repository for a similar change?
|
6
|
+
- [ ] Is there a corresponding ticket for your pull request?
|
7
|
+
- [ ] Have you written new tests for your changes?
|
8
|
+
- [ ] Have you successfully run the project with your changes locally?
|
9
|
+
|
10
|
+
If so then please replace this section with a link to the ticket(s) it addressed, an explanation of your change and why you think we should include it. Thanks again!
|
data/README.md
CHANGED
@@ -10,51 +10,53 @@
|
|
10
10
|
A libraries.io project.
|
11
11
|
|
12
12
|
|
13
|
-
# [Pictogram](http://libraries.io/
|
13
|
+
# [Pictogram](http://libraries.io/rubygems/pictogram)
|
14
14
|
|
15
|
-
A
|
15
|
+
A rails asset gem for language and package manager logo images
|
16
16
|
|
17
|
-
|
17
|
+
## Install via rubygems
|
18
18
|
```sh
|
19
|
-
|
19
|
+
gem install pictogram
|
20
20
|
```
|
21
21
|
|
22
|
-
|
22
|
+
## Usage
|
23
23
|
|
24
|
-
|
25
|
-
var ruby = pictogram.meta('ruby')
|
26
|
-
console.log(ruby)
|
27
|
-
```
|
24
|
+
Require `pictogram.css` with sprockets in `application.scss`:
|
28
25
|
|
29
|
-
```
|
30
|
-
|
31
|
-
"name": "ruby",
|
32
|
-
"file": "ruby/ruby.png",
|
33
|
-
"source": {
|
34
|
-
"url": "https://avatars0.githubusercontent.com/u/210414?v=3&s=200",
|
35
|
-
"referrer": "https://github.com/ruby",
|
36
|
-
"headers": {
|
37
|
-
"date": "Sat, 14 Mar 2015 10:15:13 GMT",
|
38
|
-
"content-type": "image/png",
|
39
|
-
"last-modified": "Wed, 19 Oct 2011 12:21:53 GMT",
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
26
|
+
```css
|
27
|
+
@import "pictogram";
|
43
28
|
```
|
44
29
|
|
45
|
-
|
30
|
+
Then you can use css classes to add logos to your page:
|
46
31
|
|
47
|
-
```
|
48
|
-
|
32
|
+
```html
|
33
|
+
<div class="pictogram pictogram-javascript"></div>
|
49
34
|
```
|
50
|
-
![ruby pictogram](https://avatars0.githubusercontent.com/u/210414?v=3&s=200)
|
51
35
|
|
36
|
+
## Adding a logo
|
52
37
|
|
53
|
-
|
38
|
+
Make a folder in [`/vendor/assets/images`](vendor/assets/images) of the name of the language or package manager (lower cased):
|
54
39
|
|
55
|
-
|
56
|
-
|
57
|
-
|
40
|
+
mkdir /vendor/assets/images/foobar
|
41
|
+
|
42
|
+
Add the logo into that folder it should be 400x400 and in png format, file name should be the same as the folder with .png extension:
|
43
|
+
|
44
|
+
cp path/to/my/logo/foobar.png /vendor/assets/images/foobar/foobar.png
|
45
|
+
|
46
|
+
Add selector to [`vendor/assets/stylesheets/pictogram.css`](vendor/assets/stylesheets/pictogram.css) with the relative path to the logo image:
|
47
|
+
|
48
|
+
```css
|
49
|
+
.pictogram-foobar {
|
50
|
+
background-image: image_url("foobar/foobar.png");
|
51
|
+
background-color: transparent;
|
52
|
+
}
|
58
53
|
```
|
59
54
|
|
60
|
-
|
55
|
+
## Contributing
|
56
|
+
|
57
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/librariesio/pictogram. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
58
|
+
|
59
|
+
|
60
|
+
## License
|
61
|
+
|
62
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/pictogram/version.rb
CHANGED
data/pictogram.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
|
19
19
|
spec.add_dependency "railties"
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.
|
22
|
-
spec.add_development_dependency "rake", "~>
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
22
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
23
23
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pictogram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oli Evans
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -31,28 +31,28 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.14'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.14'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '12.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '12.0'
|
56
56
|
description:
|
57
57
|
email:
|
58
58
|
- andrewnez@gmail.com
|
@@ -60,235 +60,137 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- ".github/CONTRIBUTING.md"
|
64
|
+
- ".github/ISSUE_TEMPLATE.md"
|
65
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
63
66
|
- ".gitignore"
|
64
|
-
- ".jshintrc"
|
65
|
-
- ".nojekyll"
|
66
|
-
- ".travis.yml"
|
67
67
|
- CODE_OF_CONDUCT.md
|
68
|
-
- CONTRIBUTING.md
|
69
68
|
- Gemfile
|
70
69
|
- LICENSE.txt
|
71
70
|
- README.md
|
72
71
|
- Rakefile
|
73
|
-
- index.html
|
74
|
-
- index.js
|
75
|
-
- index.test.js
|
76
72
|
- lib/pictogram.rb
|
77
73
|
- lib/pictogram/version.rb
|
78
|
-
- package.json
|
79
|
-
- pictogram.css
|
80
74
|
- pictogram.gemspec
|
81
|
-
- vendor/assets/images/actionscript/actionscript.json
|
82
75
|
- vendor/assets/images/actionscript/actionscript.orig.png
|
83
76
|
- vendor/assets/images/actionscript/actionscript.png
|
84
|
-
- vendor/assets/images/alcatraz/alcatraz.json
|
85
77
|
- vendor/assets/images/alcatraz/alcatraz.png
|
86
78
|
- vendor/assets/images/alcatraz/alcatraz.svg
|
87
79
|
- vendor/assets/images/apacheconf/apacheconf.gif
|
88
|
-
- vendor/assets/images/apacheconf/apacheconf.json
|
89
80
|
- vendor/assets/images/apacheconf/apacheconf.png
|
90
|
-
- vendor/assets/images/arduino/arduino.json
|
91
81
|
- vendor/assets/images/arduino/arduino.png
|
92
|
-
- vendor/assets/images/assembly/assembly.json
|
93
82
|
- vendor/assets/images/assembly/assembly.orig.png
|
94
83
|
- vendor/assets/images/assembly/assembly.png
|
95
|
-
- vendor/assets/images/atom/atom.json
|
96
84
|
- vendor/assets/images/atom/atom.png
|
97
|
-
- vendor/assets/images/biicode/biicode.json
|
98
85
|
- vendor/assets/images/biicode/biicode.png
|
99
|
-
- vendor/assets/images/bower/bower.json
|
100
86
|
- vendor/assets/images/bower/bower.png
|
101
|
-
- vendor/assets/images/c-sharp/c-sharp.json
|
102
87
|
- vendor/assets/images/c-sharp/c-sharp.orig.png
|
103
88
|
- vendor/assets/images/c-sharp/c-sharp.png
|
104
|
-
- vendor/assets/images/c/c.json
|
105
89
|
- vendor/assets/images/c/c.png
|
106
|
-
- vendor/assets/images/cargo/cargo.json
|
107
90
|
- vendor/assets/images/cargo/cargo.png
|
108
|
-
- vendor/assets/images/carthage/carthage.json
|
109
91
|
- vendor/assets/images/carthage/carthage.png
|
110
|
-
- vendor/assets/images/cirru/cirru.json
|
111
92
|
- vendor/assets/images/cirru/cirru.png
|
112
|
-
- vendor/assets/images/clojars/clojars.json
|
113
93
|
- vendor/assets/images/clojars/clojars.orig.png
|
114
94
|
- vendor/assets/images/clojars/clojars.png
|
115
|
-
- vendor/assets/images/clojure/clojure.json
|
116
95
|
- vendor/assets/images/clojure/clojure.png
|
117
|
-
- vendor/assets/images/cocoapods/cocoapods.json
|
118
96
|
- vendor/assets/images/cocoapods/cocoapods.png
|
119
|
-
- vendor/assets/images/coffeescript/coffeescript.json
|
120
97
|
- vendor/assets/images/coffeescript/coffeescript.orig.png
|
121
98
|
- vendor/assets/images/coffeescript/coffeescript.png
|
122
|
-
- vendor/assets/images/cpan/cpan.json
|
123
99
|
- vendor/assets/images/cpan/cpan.orig.png
|
124
100
|
- vendor/assets/images/cpan/cpan.png
|
125
|
-
- vendor/assets/images/cpp/cpp.json
|
126
101
|
- vendor/assets/images/cpp/cpp.png
|
127
|
-
- vendor/assets/images/cran/cran.json
|
128
102
|
- vendor/assets/images/cran/cran.png
|
129
|
-
- vendor/assets/images/crystal/crystal.json
|
130
103
|
- vendor/assets/images/crystal/crystal.png
|
131
|
-
- vendor/assets/images/css/css.json
|
132
104
|
- vendor/assets/images/css/css.png
|
133
105
|
- vendor/assets/images/css/css.svg
|
134
|
-
- vendor/assets/images/cucumber/cucumber.json
|
135
106
|
- vendor/assets/images/cucumber/cucumber.png
|
136
|
-
- vendor/assets/images/d/d.json
|
137
107
|
- vendor/assets/images/d/d.png
|
138
|
-
- vendor/assets/images/dart/dart.json
|
139
108
|
- vendor/assets/images/dart/dart.png
|
140
|
-
- vendor/assets/images/dub/dub.json
|
141
109
|
- vendor/assets/images/dub/dub.orig.png
|
142
110
|
- vendor/assets/images/dub/dub.png
|
143
|
-
- vendor/assets/images/elixir/elixir.json
|
144
111
|
- vendor/assets/images/elixir/elixir.png
|
145
|
-
- vendor/assets/images/elm/elm.json
|
146
112
|
- vendor/assets/images/elm/elm.png
|
147
|
-
- vendor/assets/images/emacs/emacs.json
|
148
113
|
- vendor/assets/images/emacs/emacs.png
|
149
|
-
- vendor/assets/images/erlang/erlang.json
|
150
114
|
- vendor/assets/images/erlang/erlang.orig.png
|
151
115
|
- vendor/assets/images/erlang/erlang.png
|
152
|
-
- vendor/assets/images/f-sharp/f-sharp.json
|
153
116
|
- vendor/assets/images/f-sharp/f-sharp.png
|
154
|
-
- vendor/assets/images/fortran/fortran.json
|
155
117
|
- vendor/assets/images/fortran/fortran.png
|
156
|
-
- vendor/assets/images/game maker language/game maker language.json
|
157
118
|
- vendor/assets/images/game maker language/game maker language.orig.png
|
158
119
|
- vendor/assets/images/game maker language/game maker language.png
|
159
|
-
- vendor/assets/images/go/go.json
|
160
120
|
- vendor/assets/images/go/go.png
|
161
|
-
- vendor/assets/images/gosu/gosu.json
|
162
121
|
- vendor/assets/images/gosu/gosu.png
|
163
|
-
- vendor/assets/images/groovy/groovy.json
|
164
122
|
- vendor/assets/images/groovy/groovy.png
|
165
|
-
- vendor/assets/images/hack/hack.json
|
166
123
|
- vendor/assets/images/hack/hack.orig.png
|
167
124
|
- vendor/assets/images/hack/hack.png
|
168
|
-
- vendor/assets/images/hackage/hackage.json
|
169
125
|
- vendor/assets/images/hackage/hackage.png
|
170
|
-
- vendor/assets/images/handlebars/handlebars.json
|
171
126
|
- vendor/assets/images/handlebars/handlebars.orig.png
|
172
127
|
- vendor/assets/images/handlebars/handlebars.png
|
173
|
-
- vendor/assets/images/haskell/haskell.json
|
174
128
|
- vendor/assets/images/haskell/haskell.png
|
175
|
-
- vendor/assets/images/haxe/haxe.json
|
176
129
|
- vendor/assets/images/haxe/haxe.orig.png
|
177
130
|
- vendor/assets/images/haxe/haxe.png
|
178
|
-
- vendor/assets/images/haxelib/haxe.json
|
179
131
|
- vendor/assets/images/haxelib/haxe.orig.png
|
180
132
|
- vendor/assets/images/haxelib/haxelib.png
|
181
|
-
- vendor/assets/images/hex/hex.json
|
182
133
|
- vendor/assets/images/hex/hex.png
|
183
|
-
- vendor/assets/images/homebrew/homebrew.json
|
184
134
|
- vendor/assets/images/homebrew/homebrew.png
|
185
|
-
- vendor/assets/images/html/html.json
|
186
135
|
- vendor/assets/images/html/html.png
|
187
136
|
- vendor/assets/images/html/html.svg
|
188
|
-
- vendor/assets/images/inqlude/inqlude.json
|
189
137
|
- vendor/assets/images/inqlude/inqlude.png
|
190
|
-
- vendor/assets/images/jam/jam.json
|
191
138
|
- vendor/assets/images/jam/jam.orig.png
|
192
139
|
- vendor/assets/images/jam/jam.png
|
193
|
-
- vendor/assets/images/java/java.json
|
194
140
|
- vendor/assets/images/java/java.orig.png
|
195
141
|
- vendor/assets/images/java/java.png
|
196
|
-
- vendor/assets/images/javascript/javascript.json
|
197
142
|
- vendor/assets/images/javascript/javascript.png
|
198
|
-
- vendor/assets/images/julia/julia.json
|
199
143
|
- vendor/assets/images/julia/julia.png
|
200
|
-
- vendor/assets/images/jupyter notebook/jupyter notebook.json
|
201
144
|
- vendor/assets/images/jupyter notebook/jupyter notebook.png
|
202
|
-
- vendor/assets/images/kotlin/kotlin.json
|
203
145
|
- vendor/assets/images/kotlin/kotlin.png
|
204
|
-
- vendor/assets/images/livescript/livescript.json
|
205
146
|
- vendor/assets/images/livescript/livescript.orig.png
|
206
147
|
- vendor/assets/images/livescript/livescript.png
|
207
|
-
- vendor/assets/images/lua/lua.json
|
208
148
|
- vendor/assets/images/lua/lua.png
|
209
|
-
- vendor/assets/images/make/make.json
|
210
149
|
- vendor/assets/images/make/make.orig.png
|
211
150
|
- vendor/assets/images/make/make.png
|
212
|
-
- vendor/assets/images/makefile/makefile.json
|
213
151
|
- vendor/assets/images/makefile/makefile.orig.png
|
214
152
|
- vendor/assets/images/makefile/makefile.png
|
215
|
-
- vendor/assets/images/matlab/matlab.json
|
216
153
|
- vendor/assets/images/matlab/matlab.png
|
217
|
-
- vendor/assets/images/maven/maven.json
|
218
154
|
- vendor/assets/images/maven/maven.orig.png
|
219
155
|
- vendor/assets/images/maven/maven.png
|
220
|
-
- vendor/assets/images/meteor/meteor.json
|
221
156
|
- vendor/assets/images/meteor/meteor.png
|
222
|
-
- vendor/assets/images/nimble/nimble.json
|
223
157
|
- vendor/assets/images/nimble/nimble.png
|
224
|
-
- vendor/assets/images/nimrod/nimrod.json
|
225
158
|
- vendor/assets/images/nimrod/nimrod.png
|
226
|
-
- vendor/assets/images/npm/npm.json
|
227
159
|
- vendor/assets/images/npm/npm.png
|
228
|
-
- vendor/assets/images/nuget/nuget.json
|
229
160
|
- vendor/assets/images/nuget/nuget.png
|
230
161
|
- vendor/assets/images/objective-c/objective-c.png
|
231
|
-
- vendor/assets/images/ocaml/ocaml.json
|
232
162
|
- vendor/assets/images/ocaml/ocaml.png
|
233
|
-
- vendor/assets/images/packagist/packagist.json
|
234
163
|
- vendor/assets/images/packagist/packagist.png
|
235
164
|
- vendor/assets/images/perl/perl.gif
|
236
|
-
- vendor/assets/images/perl/perl.json
|
237
165
|
- vendor/assets/images/perl/perl.png
|
238
|
-
- vendor/assets/images/perl6/perl6.json
|
239
166
|
- vendor/assets/images/perl6/perl6.png
|
240
|
-
- vendor/assets/images/php/php.json
|
241
167
|
- vendor/assets/images/php/php.png
|
242
|
-
- vendor/assets/images/platformio/platformio.json
|
243
168
|
- vendor/assets/images/platformio/platformio.png
|
244
|
-
- vendor/assets/images/powershell/powershell.json
|
245
169
|
- vendor/assets/images/powershell/powershell.png
|
246
|
-
- vendor/assets/images/pub/pub.json
|
247
170
|
- vendor/assets/images/pub/pub.png
|
248
|
-
- vendor/assets/images/puppet/puppet.json
|
249
171
|
- vendor/assets/images/puppet/puppet.png
|
250
|
-
- vendor/assets/images/purescript/purescript.json
|
251
172
|
- vendor/assets/images/purescript/purescript.png
|
252
|
-
- vendor/assets/images/pypi/pypi.json
|
253
173
|
- vendor/assets/images/pypi/pypi.png
|
254
|
-
- vendor/assets/images/python/python.json
|
255
174
|
- vendor/assets/images/python/python.png
|
256
|
-
- vendor/assets/images/r/r.json
|
257
175
|
- vendor/assets/images/r/r.png
|
258
|
-
- vendor/assets/images/racket/racket.json
|
259
176
|
- vendor/assets/images/racket/racket.png
|
260
|
-
- vendor/assets/images/ruby/ruby.json
|
261
177
|
- vendor/assets/images/ruby/ruby.orig.png
|
262
178
|
- vendor/assets/images/ruby/ruby.png
|
263
|
-
- vendor/assets/images/rubygems/rubygems.json
|
264
179
|
- vendor/assets/images/rubygems/rubygems.png
|
265
|
-
- vendor/assets/images/rust/rust.json
|
266
180
|
- vendor/assets/images/rust/rust.png
|
267
|
-
- vendor/assets/images/saltstack/saltstack.json
|
268
181
|
- vendor/assets/images/saltstack/saltstack.png
|
269
|
-
- vendor/assets/images/scala/scala.json
|
270
182
|
- vendor/assets/images/scala/scala.png
|
271
|
-
- vendor/assets/images/scheme/scheme.json
|
272
183
|
- vendor/assets/images/scheme/scheme.png
|
273
|
-
- vendor/assets/images/shards/shards.json
|
274
184
|
- vendor/assets/images/shards/shards.png
|
275
185
|
- vendor/assets/images/smarty/smarty.gif
|
276
|
-
- vendor/assets/images/smarty/smarty.json
|
277
|
-
- vendor/assets/images/sublime/sublime.json
|
278
186
|
- vendor/assets/images/sublime/sublime.png
|
279
|
-
- vendor/assets/images/swift/swift.json
|
280
187
|
- vendor/assets/images/swift/swift.png
|
281
|
-
- vendor/assets/images/tex/tex.json
|
282
188
|
- vendor/assets/images/tex/tex.orig.png
|
283
189
|
- vendor/assets/images/tex/tex.png
|
284
|
-
- vendor/assets/images/typescript/typescript.json
|
285
190
|
- vendor/assets/images/typescript/typescript.orig.png
|
286
191
|
- vendor/assets/images/typescript/typescript.png
|
287
|
-
- vendor/assets/images/vue/vue.json
|
288
192
|
- vendor/assets/images/vue/vue.png
|
289
|
-
- vendor/assets/images/wordpress/wordpress.json
|
290
193
|
- vendor/assets/images/wordpress/wordpress.png
|
291
|
-
- vendor/assets/images/xml/xml.json
|
292
194
|
- vendor/assets/images/xml/xml.orig.png
|
293
195
|
- vendor/assets/images/xml/xml.png
|
294
196
|
- vendor/assets/stylesheets/pictogram.css
|