annotate_gemfile 0.1.1 → 0.1.2
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/.gitignore +1 -0
- data/README.md +32 -0
- data/lib/annotate_gemfile/annotator.rb +0 -2
- data/lib/annotate_gemfile/version.rb +1 -1
- metadata +2 -3
- data/annotate_gemfile-0.1.0.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdcb4668417db7f2e044c2be300c008b45514bad
|
|
4
|
+
data.tar.gz: 7d33678d701b47f18244812077bb6c1dcc843987
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a113b92ce3c068e9f2294137cc8f22aef93f4556fe82ff64b753be3d44afec252a5b8b25d770164d6c26376785689a80166a51221738369f46a0879220945339
|
|
7
|
+
data.tar.gz: ff710aaae3dcd49e425cf92e7333ddd53a21f891a32fe7bd572678cab7a6b60a151169e3d44093c436ce1a6ad9f78736479666baeed1226226c475a0a088b145
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -4,6 +4,38 @@
|
|
|
4
4
|
|
|
5
5
|
This tool will hit the API at Rubygems and get a description for each gem listed in your project's Gemfile, and add that description as a comment above that gem.
|
|
6
6
|
|
|
7
|
+
For example, it will turn this Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
source 'https://rubygems.org'
|
|
11
|
+
|
|
12
|
+
gem 'rails'
|
|
13
|
+
gem 'devise'
|
|
14
|
+
gem 'marco-polo'
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Into this Gemfile (saved as Gemfile.annotated):
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
source 'https://rubygems.org'
|
|
22
|
+
|
|
23
|
+
# Ruby on Rails is a full-stack web framework optimized for programmer happiness
|
|
24
|
+
# and sustainable productivity. It encourages beautiful code by favoring
|
|
25
|
+
# convention over configuration. (http://github.com/rails/rails)
|
|
26
|
+
gem 'rails', '~> 3.2.22'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# Flexible authentication solution for Rails with Warden
|
|
30
|
+
# (http://github.com/plataformatec/devise)
|
|
31
|
+
gem 'devise', '~> 2.2' # upgrade to 3.x too complicated
|
|
32
|
+
|
|
33
|
+
# MarcoPolo shows your app name and environment in your console prompt so you
|
|
34
|
+
# don't accidentally break production
|
|
35
|
+
gem 'marco-polo'
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
|
|
7
39
|
## Installation
|
|
8
40
|
|
|
9
41
|
First install the gem:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: annotate_gemfile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jake Moffatt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gems
|
|
@@ -165,7 +165,6 @@ files:
|
|
|
165
165
|
- Guardfile
|
|
166
166
|
- README.md
|
|
167
167
|
- Rakefile
|
|
168
|
-
- annotate_gemfile-0.1.0.gem
|
|
169
168
|
- annotate_gemfile.gemspec
|
|
170
169
|
- bin/annotate-gemfile
|
|
171
170
|
- bin/console
|
data/annotate_gemfile-0.1.0.gem
DELETED
|
Binary file
|