stickyflag 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/.rspec +4 -0
- data/.simplecov +9 -0
- data/.travis.yml +13 -0
- data/Gemfile +2 -0
- data/LICENSE.md +7 -0
- data/README.md +49 -0
- data/Rakefile +19 -0
- data/TODO.md +3 -0
- data/bin/stickyflag +6 -0
- data/features/clear.feature +14 -0
- data/features/clear_quietly.feature +23 -0
- data/features/configuration.feature +14 -0
- data/features/get.feature +14 -0
- data/features/get_quietly.feature +23 -0
- data/features/set.feature +14 -0
- data/features/set_quietly.feature +22 -0
- data/features/step_definitions/configuration_steps.rb +31 -0
- data/features/step_definitions/database_steps.rb +41 -0
- data/features/step_definitions/pending_steps.rb +5 -0
- data/features/step_definitions/tag_steps.rb +62 -0
- data/features/support/cukegem.rb +82 -0
- data/features/support/env.rb +37 -0
- data/features/tags.feature +18 -0
- data/features/unset.feature +14 -0
- data/features/unset_quietly.feature +23 -0
- data/lib/stickyflag/configuration.rb +66 -0
- data/lib/stickyflag/database.rb +162 -0
- data/lib/stickyflag/external_cmds.rb +64 -0
- data/lib/stickyflag/patches/tempfile_encoding.rb +22 -0
- data/lib/stickyflag/patches/tmpnam.rb +38 -0
- data/lib/stickyflag/paths.rb +47 -0
- data/lib/stickyflag/tag_factory.rb +108 -0
- data/lib/stickyflag/tags/c.rb +25 -0
- data/lib/stickyflag/tags/mmd.rb +168 -0
- data/lib/stickyflag/tags/pdf.rb +119 -0
- data/lib/stickyflag/tags/png.rb +61 -0
- data/lib/stickyflag/tags/source_code.rb +99 -0
- data/lib/stickyflag/tags/tex.rb +25 -0
- data/lib/stickyflag/version.rb +12 -0
- data/lib/stickyflag.rb +253 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/stickyflag/configuration_spec.rb +132 -0
- data/spec/stickyflag/database_spec.rb +331 -0
- data/spec/stickyflag/external_cmds_spec.rb +175 -0
- data/spec/stickyflag/patches/tempfile_encoding_spec.rb +26 -0
- data/spec/stickyflag/patches/tmpnam_spec.rb +35 -0
- data/spec/stickyflag/paths_spec.rb +29 -0
- data/spec/stickyflag/tag_factory_spec.rb +185 -0
- data/spec/stickyflag/tags/c_spec.rb +14 -0
- data/spec/stickyflag/tags/mmd_spec.rb +40 -0
- data/spec/stickyflag/tags/pdf_spec.rb +39 -0
- data/spec/stickyflag/tags/png_spec.rb +6 -0
- data/spec/stickyflag/tags/tex_spec.rb +6 -0
- data/spec/stickyflag_spec.rb +482 -0
- data/spec/support/examples/c_all_comments.c +3 -0
- data/spec/support/examples/c_no_tags.c +5 -0
- data/spec/support/examples/c_with_tag.c +6 -0
- data/spec/support/examples/mmd_all_meta.mmd +6 -0
- data/spec/support/examples/mmd_crazy_keys.mmd +8 -0
- data/spec/support/examples/mmd_crazy_tags.mmd +9 -0
- data/spec/support/examples/mmd_no_tags.mmd +1 -0
- data/spec/support/examples/mmd_with_tag.mmd +3 -0
- data/spec/support/examples/pdf_no_tags.pdf +0 -0
- data/spec/support/examples/pdf_with_tag.pdf +0 -0
- data/spec/support/examples/png_no_tags.png +0 -0
- data/spec/support/examples/png_with_tag.png +0 -0
- data/spec/support/examples/tex_no_tags.tex +10 -0
- data/spec/support/examples/tex_with_tag.tex +11 -0
- data/spec/support/examples/untaggable.txt +0 -0
- data/spec/support/examples.rb +32 -0
- data/spec/support/run_with_args.rb +36 -0
- data/spec/support/silence_stream.rb +12 -0
- data/spec/support/tag_handler_behavior.rb +125 -0
- data/stickyflag.gemspec +48 -0
- metadata +399 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
|
3
|
+
shared_examples_for 'a tag handler' do
|
4
|
+
let(:params) { [] }
|
5
|
+
|
6
|
+
def file_extension
|
7
|
+
described_class.to_s.gsub('StickyFlag::Tags::', '').downcase
|
8
|
+
end
|
9
|
+
|
10
|
+
def example_with_tag
|
11
|
+
example_path "#{file_extension}_with_tag.#{file_extension}"
|
12
|
+
end
|
13
|
+
def example_no_tags
|
14
|
+
example_path "#{file_extension}_no_tags.#{file_extension}"
|
15
|
+
end
|
16
|
+
def copy_example_with_tag
|
17
|
+
copy_example "#{file_extension}_with_tag.#{file_extension}"
|
18
|
+
end
|
19
|
+
def copy_example_no_tags
|
20
|
+
copy_example "#{file_extension}_no_tags.#{file_extension}"
|
21
|
+
end
|
22
|
+
|
23
|
+
def params_for(*new_params)
|
24
|
+
new_params.concat(params)
|
25
|
+
end
|
26
|
+
|
27
|
+
describe '.get' do
|
28
|
+
it 'exists' do
|
29
|
+
described_class.methods.should include(:get) if RUBY_VERSION >= "1.9.0"
|
30
|
+
described_class.methods.should include("get") if RUBY_VERSION < "1.9.0"
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'gets tags from tagged files' do
|
34
|
+
described_class.get(*params_for(example_with_tag)).should include('test')
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'does not get tags from untagged files' do
|
38
|
+
described_class.get(*params_for(example_no_tags)).should_not include('test')
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe '.set' do
|
43
|
+
it 'exists' do
|
44
|
+
described_class.methods.should include(:set) if RUBY_VERSION >= "1.9.0"
|
45
|
+
described_class.methods.should include("set") if RUBY_VERSION < "1.9.0"
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'sets tags in an untagged file' do
|
49
|
+
path = copy_example_no_tags
|
50
|
+
|
51
|
+
described_class.set(*params_for(path, 'rspec'))
|
52
|
+
described_class.get(*params_for(path)).should include('rspec')
|
53
|
+
|
54
|
+
File.unlink(path)
|
55
|
+
end
|
56
|
+
|
57
|
+
it 'sets tags in a tagged file' do
|
58
|
+
path = copy_example_with_tag
|
59
|
+
|
60
|
+
described_class.set(*params_for(path, 'rspec'))
|
61
|
+
described_class.get(*params_for(path)).should include('rspec')
|
62
|
+
|
63
|
+
File.unlink(path)
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'does the right thing when setting an already set tag' do
|
67
|
+
path = copy_example_with_tag
|
68
|
+
|
69
|
+
described_class.set(*params_for(path, 'test'))
|
70
|
+
described_class.get(*params_for(path)).count('test').should eq(1)
|
71
|
+
|
72
|
+
File.unlink(path)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe '.unset' do
|
77
|
+
it 'exists' do
|
78
|
+
described_class.methods.should include(:unset) if RUBY_VERSION >= "1.9.0"
|
79
|
+
described_class.methods.should include("unset") if RUBY_VERSION < "1.9.0"
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'removes tags from a tagged file' do
|
83
|
+
path = copy_example_with_tag
|
84
|
+
|
85
|
+
described_class.unset(*params_for(path, 'test'))
|
86
|
+
described_class.get(*params_for(path)).should_not include('test')
|
87
|
+
|
88
|
+
File.unlink(path)
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'does the right thing when removing an already removed tag' do
|
92
|
+
path = copy_example_with_tag
|
93
|
+
|
94
|
+
described_class.unset(*params_for(path, 'rspec'))
|
95
|
+
described_class.get(*params_for(path)).should eq([ 'test' ])
|
96
|
+
|
97
|
+
File.unlink(path)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe '.clear' do
|
102
|
+
it 'exists' do
|
103
|
+
described_class.methods.should include(:clear) if RUBY_VERSION >= "1.9.0"
|
104
|
+
described_class.methods.should include("clear") if RUBY_VERSION < "1.9.0"
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'clears tags from tagged files' do
|
108
|
+
path = copy_example_with_tag
|
109
|
+
|
110
|
+
described_class.clear(*params_for(path))
|
111
|
+
described_class.get(*params_for(path)).should be_empty
|
112
|
+
|
113
|
+
File.unlink(path)
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'does not break untagged files' do
|
117
|
+
path = copy_example_no_tags
|
118
|
+
|
119
|
+
described_class.clear(*params_for(path))
|
120
|
+
described_class.get(*params_for(path)).should be_empty
|
121
|
+
|
122
|
+
File.unlink(path)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
data/stickyflag.gemspec
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
4
|
+
|
5
|
+
require 'stickyflag/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'stickyflag'
|
9
|
+
s.version = StickyFlag::VERSION
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
|
11
|
+
|
12
|
+
s.authors = ['Charles H. Pence']
|
13
|
+
s.email = ['charles@charlespence.net']
|
14
|
+
s.homepage = 'https://github.com/cpence/stickyflag'
|
15
|
+
|
16
|
+
s.summary = 'Tag your files, search by tags'
|
17
|
+
s.description = "Set tags and search by them in PDF, MMD, PNG, and other file types"
|
18
|
+
|
19
|
+
s.add_runtime_dependency 'thor'
|
20
|
+
s.add_runtime_dependency 'backports'
|
21
|
+
s.add_runtime_dependency 'xdg'
|
22
|
+
s.add_runtime_dependency 'chunky_png'
|
23
|
+
s.add_runtime_dependency 'sequel'
|
24
|
+
|
25
|
+
if RUBY_PLATFORM == 'java'
|
26
|
+
s.platform = 'java'
|
27
|
+
s.add_runtime_dependency 'jdbc-sqlite3'
|
28
|
+
else
|
29
|
+
s.add_runtime_dependency 'sqlite3'
|
30
|
+
s.add_runtime_dependency 'oily_png'
|
31
|
+
end
|
32
|
+
|
33
|
+
s.add_development_dependency 'bundler'
|
34
|
+
s.add_development_dependency 'rake'
|
35
|
+
s.add_development_dependency 'rspec'
|
36
|
+
s.add_development_dependency 'cucumber'
|
37
|
+
s.add_development_dependency 'aruba'
|
38
|
+
s.add_development_dependency 'simplecov'
|
39
|
+
s.add_development_dependency 'magic_encoding'
|
40
|
+
|
41
|
+
s.files = `git ls-files`.split("\n")
|
42
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
|
43
|
+
s.default_executable = 'bin/stickyflag'
|
44
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
45
|
+
|
46
|
+
s.extra_rdoc_files = ['LICENSE.md', 'README.md', 'Rakefile', 'TODO.md']
|
47
|
+
s.rdoc_options = ['--charset=UTF-8']
|
48
|
+
end
|
metadata
ADDED
@@ -0,0 +1,399 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stickyflag
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Charles H. Pence
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: backports
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: xdg
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: chunky_png
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: sequel
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: sqlite3
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: oily_png
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: bundler
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: rake
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rspec
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: cucumber
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: aruba
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: simplecov
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: magic_encoding
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
description: Set tags and search by them in PDF, MMD, PNG, and other file types
|
239
|
+
email:
|
240
|
+
- charles@charlespence.net
|
241
|
+
executables:
|
242
|
+
- stickyflag
|
243
|
+
extensions: []
|
244
|
+
extra_rdoc_files:
|
245
|
+
- LICENSE.md
|
246
|
+
- README.md
|
247
|
+
- Rakefile
|
248
|
+
- TODO.md
|
249
|
+
files:
|
250
|
+
- .gitignore
|
251
|
+
- .rspec
|
252
|
+
- .simplecov
|
253
|
+
- .travis.yml
|
254
|
+
- Gemfile
|
255
|
+
- LICENSE.md
|
256
|
+
- README.md
|
257
|
+
- Rakefile
|
258
|
+
- TODO.md
|
259
|
+
- bin/stickyflag
|
260
|
+
- features/clear.feature
|
261
|
+
- features/clear_quietly.feature
|
262
|
+
- features/configuration.feature
|
263
|
+
- features/get.feature
|
264
|
+
- features/get_quietly.feature
|
265
|
+
- features/set.feature
|
266
|
+
- features/set_quietly.feature
|
267
|
+
- features/step_definitions/configuration_steps.rb
|
268
|
+
- features/step_definitions/database_steps.rb
|
269
|
+
- features/step_definitions/pending_steps.rb
|
270
|
+
- features/step_definitions/tag_steps.rb
|
271
|
+
- features/support/cukegem.rb
|
272
|
+
- features/support/env.rb
|
273
|
+
- features/tags.feature
|
274
|
+
- features/unset.feature
|
275
|
+
- features/unset_quietly.feature
|
276
|
+
- lib/stickyflag.rb
|
277
|
+
- lib/stickyflag/configuration.rb
|
278
|
+
- lib/stickyflag/database.rb
|
279
|
+
- lib/stickyflag/external_cmds.rb
|
280
|
+
- lib/stickyflag/patches/tempfile_encoding.rb
|
281
|
+
- lib/stickyflag/patches/tmpnam.rb
|
282
|
+
- lib/stickyflag/paths.rb
|
283
|
+
- lib/stickyflag/tag_factory.rb
|
284
|
+
- lib/stickyflag/tags/c.rb
|
285
|
+
- lib/stickyflag/tags/mmd.rb
|
286
|
+
- lib/stickyflag/tags/pdf.rb
|
287
|
+
- lib/stickyflag/tags/png.rb
|
288
|
+
- lib/stickyflag/tags/source_code.rb
|
289
|
+
- lib/stickyflag/tags/tex.rb
|
290
|
+
- lib/stickyflag/version.rb
|
291
|
+
- spec/spec_helper.rb
|
292
|
+
- spec/stickyflag/configuration_spec.rb
|
293
|
+
- spec/stickyflag/database_spec.rb
|
294
|
+
- spec/stickyflag/external_cmds_spec.rb
|
295
|
+
- spec/stickyflag/patches/tempfile_encoding_spec.rb
|
296
|
+
- spec/stickyflag/patches/tmpnam_spec.rb
|
297
|
+
- spec/stickyflag/paths_spec.rb
|
298
|
+
- spec/stickyflag/tag_factory_spec.rb
|
299
|
+
- spec/stickyflag/tags/c_spec.rb
|
300
|
+
- spec/stickyflag/tags/mmd_spec.rb
|
301
|
+
- spec/stickyflag/tags/pdf_spec.rb
|
302
|
+
- spec/stickyflag/tags/png_spec.rb
|
303
|
+
- spec/stickyflag/tags/tex_spec.rb
|
304
|
+
- spec/stickyflag_spec.rb
|
305
|
+
- spec/support/examples.rb
|
306
|
+
- spec/support/examples/c_all_comments.c
|
307
|
+
- spec/support/examples/c_no_tags.c
|
308
|
+
- spec/support/examples/c_with_tag.c
|
309
|
+
- spec/support/examples/mmd_all_meta.mmd
|
310
|
+
- spec/support/examples/mmd_crazy_keys.mmd
|
311
|
+
- spec/support/examples/mmd_crazy_tags.mmd
|
312
|
+
- spec/support/examples/mmd_no_tags.mmd
|
313
|
+
- spec/support/examples/mmd_with_tag.mmd
|
314
|
+
- spec/support/examples/pdf_no_tags.pdf
|
315
|
+
- spec/support/examples/pdf_with_tag.pdf
|
316
|
+
- spec/support/examples/png_no_tags.png
|
317
|
+
- spec/support/examples/png_with_tag.png
|
318
|
+
- spec/support/examples/tex_no_tags.tex
|
319
|
+
- spec/support/examples/tex_with_tag.tex
|
320
|
+
- spec/support/examples/untaggable.txt
|
321
|
+
- spec/support/run_with_args.rb
|
322
|
+
- spec/support/silence_stream.rb
|
323
|
+
- spec/support/tag_handler_behavior.rb
|
324
|
+
- stickyflag.gemspec
|
325
|
+
homepage: https://github.com/cpence/stickyflag
|
326
|
+
licenses: []
|
327
|
+
post_install_message:
|
328
|
+
rdoc_options:
|
329
|
+
- --charset=UTF-8
|
330
|
+
require_paths:
|
331
|
+
- lib
|
332
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
333
|
+
none: false
|
334
|
+
requirements:
|
335
|
+
- - ! '>='
|
336
|
+
- !ruby/object:Gem::Version
|
337
|
+
version: '0'
|
338
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
+
none: false
|
340
|
+
requirements:
|
341
|
+
- - ! '>='
|
342
|
+
- !ruby/object:Gem::Version
|
343
|
+
version: 1.3.6
|
344
|
+
requirements: []
|
345
|
+
rubyforge_project:
|
346
|
+
rubygems_version: 1.8.23
|
347
|
+
signing_key:
|
348
|
+
specification_version: 3
|
349
|
+
summary: Tag your files, search by tags
|
350
|
+
test_files:
|
351
|
+
- features/clear.feature
|
352
|
+
- features/clear_quietly.feature
|
353
|
+
- features/configuration.feature
|
354
|
+
- features/get.feature
|
355
|
+
- features/get_quietly.feature
|
356
|
+
- features/set.feature
|
357
|
+
- features/set_quietly.feature
|
358
|
+
- features/step_definitions/configuration_steps.rb
|
359
|
+
- features/step_definitions/database_steps.rb
|
360
|
+
- features/step_definitions/pending_steps.rb
|
361
|
+
- features/step_definitions/tag_steps.rb
|
362
|
+
- features/support/cukegem.rb
|
363
|
+
- features/support/env.rb
|
364
|
+
- features/tags.feature
|
365
|
+
- features/unset.feature
|
366
|
+
- features/unset_quietly.feature
|
367
|
+
- spec/spec_helper.rb
|
368
|
+
- spec/stickyflag/configuration_spec.rb
|
369
|
+
- spec/stickyflag/database_spec.rb
|
370
|
+
- spec/stickyflag/external_cmds_spec.rb
|
371
|
+
- spec/stickyflag/patches/tempfile_encoding_spec.rb
|
372
|
+
- spec/stickyflag/patches/tmpnam_spec.rb
|
373
|
+
- spec/stickyflag/paths_spec.rb
|
374
|
+
- spec/stickyflag/tag_factory_spec.rb
|
375
|
+
- spec/stickyflag/tags/c_spec.rb
|
376
|
+
- spec/stickyflag/tags/mmd_spec.rb
|
377
|
+
- spec/stickyflag/tags/pdf_spec.rb
|
378
|
+
- spec/stickyflag/tags/png_spec.rb
|
379
|
+
- spec/stickyflag/tags/tex_spec.rb
|
380
|
+
- spec/stickyflag_spec.rb
|
381
|
+
- spec/support/examples.rb
|
382
|
+
- spec/support/examples/c_all_comments.c
|
383
|
+
- spec/support/examples/c_no_tags.c
|
384
|
+
- spec/support/examples/c_with_tag.c
|
385
|
+
- spec/support/examples/mmd_all_meta.mmd
|
386
|
+
- spec/support/examples/mmd_crazy_keys.mmd
|
387
|
+
- spec/support/examples/mmd_crazy_tags.mmd
|
388
|
+
- spec/support/examples/mmd_no_tags.mmd
|
389
|
+
- spec/support/examples/mmd_with_tag.mmd
|
390
|
+
- spec/support/examples/pdf_no_tags.pdf
|
391
|
+
- spec/support/examples/pdf_with_tag.pdf
|
392
|
+
- spec/support/examples/png_no_tags.png
|
393
|
+
- spec/support/examples/png_with_tag.png
|
394
|
+
- spec/support/examples/tex_no_tags.tex
|
395
|
+
- spec/support/examples/tex_with_tag.tex
|
396
|
+
- spec/support/examples/untaggable.txt
|
397
|
+
- spec/support/run_with_args.rb
|
398
|
+
- spec/support/silence_stream.rb
|
399
|
+
- spec/support/tag_handler_behavior.rb
|