stickler 2.2.4 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTING.md +48 -0
- data/{HISTORY.asciidoc → HISTORY.md} +8 -2
- data/Manifest.txt +86 -0
- data/{README.asciidoc → README.rdoc} +18 -20
- data/Rakefile +25 -59
- data/bin/stickler +10 -3
- data/examples/gemcutter_repo.ru +1 -2
- data/lib/stickler.rb +6 -2
- data/lib/stickler/client.rb +5 -4
- data/lib/stickler/client/delete.rb +50 -0
- data/lib/stickler/client/unyank.rb +50 -0
- data/lib/stickler/middleware.rb +7 -0
- data/lib/stickler/middleware/compression.rb +0 -2
- data/lib/stickler/middleware/gemcutter.rb +16 -7
- data/lib/stickler/middleware/helpers.rb +1 -3
- data/lib/stickler/middleware/index.rb +0 -8
- data/lib/stickler/middleware/local.rb +1 -5
- data/lib/stickler/middleware/mirror.rb +0 -4
- data/lib/stickler/middleware/not_found.rb +0 -1
- data/lib/stickler/repository.rb +9 -5
- data/lib/stickler/repository/index.rb +0 -1
- data/lib/stickler/repository/local.rb +12 -4
- data/lib/stickler/repository/null.rb +0 -1
- data/lib/stickler/repository/remote.rb +40 -20
- data/lib/stickler/repository/remote_mirror.rb +1 -1
- data/lib/stickler/server.rb +1 -9
- data/lib/stickler/server/public/css/blueprint/ie.css +35 -0
- data/lib/stickler/server/public/css/blueprint/screen.css +266 -0
- data/lib/stickler/server/public/css/style.css +19 -0
- data/man/stickler-passenger-config.1 +83 -0
- data/man/stickler-passenger-config.1.ronn +70 -0
- data/man/stickler-server.1 +168 -0
- data/man/stickler-server.1.ronn +84 -0
- data/man/stickler.1 +321 -0
- data/man/stickler.1.ronn +144 -0
- data/spec/data/gemcutter/gems/foo-1.0.0.gem +0 -0
- data/spec/middleware/local_spec.rb +1 -4
- data/spec/middleware/not_found_spec.rb +1 -2
- data/spec/paths_spec.rb +1 -3
- data/spec/repository/api_behavior.rb +34 -4
- data/spec/repository/api_spec.rb +2 -3
- data/spec/repository/index_spec.rb +10 -11
- data/spec/repository/local_spec.rb +10 -12
- data/spec/repository/null_spec.rb +2 -5
- data/spec/repository/remote_spec.rb +3 -5
- data/spec/spec_helper.rb +7 -2
- data/spec/spec_lite_spec.rb +1 -3
- data/tasks/default.rake +274 -0
- data/tasks/this.rb +209 -0
- metadata +142 -85
- data/.bnsignore +0 -14
- data/.gitignore +0 -23
- data/TODO.asciidoc +0 -6
- data/lib/stickler/version.rb +0 -36
- data/man/asciidoc.conf +0 -25
- data/man/stickler-passenger-config.asciidoc +0 -74
- data/man/stickler-server.asciidoc +0 -87
- data/man/stickler.asciidoc +0 -150
- data/tasks/asciidoc.rake +0 -32
- data/tasks/bundler.rake +0 -13
- data/tasks/contribute.rake +0 -36
- data/tasks/man.rake +0 -19
data/tasks/bundler.rake
DELETED
data/tasks/contribute.rake
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
desc "Instructions on how to contribute to stickler"
|
2
|
-
task :help do
|
3
|
-
abort <<-_banner
|
4
|
-
-----------------------------------------------------------------------
|
5
|
-
I see you are wanting to do some development on stickler. You will
|
6
|
-
need to install the 'bones' gem first.
|
7
|
-
|
8
|
-
% gem install bones -v #{USING_BONES_VERSION}
|
9
|
-
|
10
|
-
The easiest way to start after that is with the
|
11
|
-
'install:dependencies' task:
|
12
|
-
|
13
|
-
% rake gem:install_dependencies
|
14
|
-
|
15
|
-
If you use bundler, then you will need to first create the Gemfile
|
16
|
-
and then run 'bundle install':
|
17
|
-
|
18
|
-
% rake bundle:gemfile
|
19
|
-
% bundle install
|
20
|
-
|
21
|
-
Now you are ready to work on stickler. Please submit bugs and pull
|
22
|
-
requests to:
|
23
|
-
|
24
|
-
https://github.com/copiousfreetime/stickler
|
25
|
-
|
26
|
-
Thanks!
|
27
|
-
|
28
|
-
-jeremy
|
29
|
-
-----------------------------------------------------------------------
|
30
|
-
_banner
|
31
|
-
end
|
32
|
-
|
33
|
-
desc "(Alias for 'help') Instructions on how to contribute to stickler"
|
34
|
-
task 'how_to_contribute' => :help
|
35
|
-
desc "(Alias for 'help') Instructions on how to contribute to stickler"
|
36
|
-
task '==> I WANT TO CONTRIBUTE <==' => :help
|
data/tasks/man.rake
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
namespace :man do
|
2
|
-
|
3
|
-
rule '.1' => '.asciidoc' do |t|
|
4
|
-
sh "a2x --no-xmllint --format manpage #{t.source}"
|
5
|
-
end
|
6
|
-
|
7
|
-
src = FileList["man/*.asciidoc"]
|
8
|
-
man = src.collect{ |f| f.ext( "1" ) }
|
9
|
-
|
10
|
-
desc "Create man pages"
|
11
|
-
task :create => man
|
12
|
-
|
13
|
-
task :clobber_man do
|
14
|
-
rm_f FileList["man/*.1", "man/*.html", "man/*.xml"]
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
task :clobber => %w[ man:clobber_man ]
|
19
|
-
task 'gem:prereqs' => 'man:create'
|