gitignores 0.0.2 → 0.0.3
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 +7 -0
- data/README.md +5 -0
- data/bin/gitignores +6 -4
- data/lib/gitignores.rb +5 -0
- data/lib/gitignores/version.rb +1 -1
- metadata +37 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cb7e045f09437bc70d6699a4b5c684084d483566
|
4
|
+
data.tar.gz: d0e705d18c9a1aa58df65ee7f869bb0b9bb02d4c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ac6cda88633bb487925c1b4801709a144294014a78bdfcada74318dc45646de2367ea8ecca9dafe6443240ddf935067f4826e9aac2ffc278f0c3df9fa4db30f2
|
7
|
+
data.tar.gz: aa7f3a026d02acbecae90c02c34f1108dfd49d42031bb7ad64bd4431df2f6db75a6c098043e8ba5569259cbdbca7d1ec8faec92e105bc0ccc87a1dc5ad76b3e9
|
data/README.md
CHANGED
data/bin/gitignores
CHANGED
@@ -32,8 +32,10 @@ class App
|
|
32
32
|
gitignores.show(ignores)
|
33
33
|
when "list"
|
34
34
|
gitignores.list
|
35
|
+
when "update"
|
36
|
+
gitignores.update
|
35
37
|
else
|
36
|
-
help_now! "Command \"#{command}\" not recognized"
|
38
|
+
help_now! "Command \"#{command}\" not recognized. Valid commands are 'add' 'show' 'list' 'update'"
|
37
39
|
end
|
38
40
|
rescue Gitignores::GitignoreNotFoundException => e
|
39
41
|
exit_now(1, "Couldn't find ignore \"#{e.ignore_name}\"")
|
@@ -45,8 +47,8 @@ class App
|
|
45
47
|
on("--update", "Update the github/gitignore repository")
|
46
48
|
on("--os", "Include ignores for all operating systems")
|
47
49
|
|
48
|
-
arg :command, :required
|
49
|
-
arg :ignores, :any
|
50
|
+
arg :command, :required, "One of add, show, list, update. add = appends a new gitignore to the .gitignore in current working directory. list = lists gitignore snippet names. show = dumps the given gitignore(s) to std_out. update = pull the latest from github/gitignore"
|
51
|
+
arg :ignores, :any, "space-separated list of gitignore snippets. use the `list` command to see valid names (case sensitive)"
|
50
52
|
|
51
53
|
description Gitignores::DESCRIPTION
|
52
54
|
|
@@ -55,4 +57,4 @@ class App
|
|
55
57
|
use_log_level_option
|
56
58
|
|
57
59
|
go!
|
58
|
-
end
|
60
|
+
end
|
data/lib/gitignores.rb
CHANGED
data/lib/gitignores/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitignores
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Johnathan Gilday
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rdoc
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: rake
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ~>
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 0.9.2
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.9.2
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: methadone
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
45
|
- - ~>
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: 1.3.0
|
44
48
|
type: :runtime
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.3.0
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: rspec
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
58
69
|
description: Tool for building .gitignore from community templates at github/gitignore
|
59
70
|
email:
|
60
71
|
- me@johnathangilday.com
|
@@ -63,36 +74,35 @@ executables:
|
|
63
74
|
extensions: []
|
64
75
|
extra_rdoc_files: []
|
65
76
|
files:
|
77
|
+
- LICENSE.txt
|
78
|
+
- README.md
|
66
79
|
- bin/gitignores
|
67
80
|
- lib/gitignores.rb
|
68
|
-
- lib/gitignores/exceptions.rb
|
69
81
|
- lib/gitignores/builder.rb
|
70
|
-
- lib/gitignores/
|
82
|
+
- lib/gitignores/exceptions.rb
|
71
83
|
- lib/gitignores/fetcher.rb
|
72
|
-
-
|
73
|
-
- README.md
|
84
|
+
- lib/gitignores/version.rb
|
74
85
|
homepage: https://github.com/gilday/gitignore-builder
|
75
86
|
licenses: []
|
87
|
+
metadata: {}
|
76
88
|
post_install_message:
|
77
89
|
rdoc_options: []
|
78
90
|
require_paths:
|
79
91
|
- lib
|
80
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
93
|
requirements:
|
83
|
-
- -
|
94
|
+
- - '>='
|
84
95
|
- !ruby/object:Gem::Version
|
85
96
|
version: '0'
|
86
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
98
|
requirements:
|
89
|
-
- -
|
99
|
+
- - '>='
|
90
100
|
- !ruby/object:Gem::Version
|
91
101
|
version: '0'
|
92
102
|
requirements: []
|
93
103
|
rubyforge_project:
|
94
|
-
rubygems_version:
|
104
|
+
rubygems_version: 2.2.2
|
95
105
|
signing_key:
|
96
|
-
specification_version:
|
106
|
+
specification_version: 4
|
97
107
|
summary: Generates .gitignore
|
98
108
|
test_files: []
|