|
1 | | -============= |
2 | | -gemfileparser |
3 | | -============= |
| 1 | +=============== |
| 2 | +gemfileparser2 |
| 3 | +=============== |
4 | 4 |
|
5 | | -gemfileparser parses Ruby Gemfile using Python with supports Ruby Gemfiles |
| 5 | +gemfileparser2 parses Ruby Gemfile using Python with supports Ruby Gemfiles |
6 | 6 | and .gemspec files as well as Cocoapod .podspec files. |
7 | 7 |
|
| 8 | +This is a maintained fork of https://github.com/gemfileparser/gemfileparser |
| 9 | +that is no longer active (even though it was maintained by the same folks) |
| 10 | + |
8 | 11 |
|
9 | 12 | Installation |
10 | 13 | ~~~~~~~~~~~~ |
11 | 14 |
|
12 | 15 | In a virtualenv, use the command:: |
13 | 16 |
|
14 | | - pip install gemfileparser |
15 | | - |
16 | | -Otherwise from a git clone, use the following commands in a virtualenv:: |
17 | | - |
18 | | - git clone https://github.com/gemfileparser/gemfileparser.git |
19 | | - cd gemfileparser |
20 | | - python setup.py install |
| 17 | + pip install gemfileparser2 |
21 | 18 |
|
22 | 19 |
|
23 | 20 | Usage |
24 | 21 | ~~~~~ |
25 | 22 |
|
26 | 23 | :: |
27 | 24 |
|
28 | | - from gemfileparser import GemfileParser |
| 25 | + from gemfileparser2 import GemfileParser |
29 | 26 | parser = GemfileParser(<path to Gemfile>, <name of the application (optional)>) |
30 | 27 | dependency_dictionary = parser.parse() |
31 | 28 |
|
@@ -53,7 +50,7 @@ Example |
53 | 50 |
|
54 | 51 | :: |
55 | 52 |
|
56 | | - from gemfileparser import GemfileParser |
| 53 | + from gemfileparser2 import GemfileParser |
57 | 54 | n = GemfileParser('Gemfile', 'diaspora') |
58 | 55 | deps = n.parse() |
59 | 56 | for key in deps: |
@@ -82,13 +79,13 @@ Copyright |
82 | 79 | License |
83 | 80 | ~~~~~~~ |
84 | 81 |
|
85 | | -gemfileparser is dual-licensed under your choice of the |
| 82 | +gemfileparser2 is dual-licensed under your choice of the |
86 | 83 | `GNU GPL version 3 (or later) License <http://www.gnu.org/licenses/gpl>`_ |
87 | 84 | or the `MIT License <https://opensource.org/licenses/MIT>`_. |
88 | 85 |
|
89 | 86 | It is preferred anyone using this project to respect the GPL-3+ license and use |
90 | 87 | that itself for derivative works - thus making them also Free Software. But, |
91 | 88 | your call. |
92 | 89 |
|
93 | | -When making contributions to gemfileparser you agree to license these contributions |
| 90 | +When making contributions to gemfileparser2 you agree to license these contributions |
94 | 91 | under the same choice of licenses. |
0 commit comments