akpurge 0.1.1 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.5
@@ -0,0 +1,11 @@
1
+ module Akpurge
2
+ class Application < Sinatra::Base
3
+ get '/purge' do
4
+ Akamai.purge(params[:uri])
5
+ end
6
+
7
+ post '/put' do
8
+ Akamai.put_file(params[:data][:tempfile].path, params[:location], params[:data][:filename])
9
+ end
10
+ end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akpurge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Zeschin
@@ -50,7 +50,7 @@ files:
50
50
  - VERSION
51
51
  - config.ru
52
52
  - lib/akpurge.rb
53
- - lib/akpurge/application/application.rb
53
+ - lib/akpurge/application.rb
54
54
  - test/helper.rb
55
55
  - test/test_akpurge.rb
56
56
  has_rdoc: true
@@ -1,7 +0,0 @@
1
- module Akpurge
2
- class Application < Sinatra::Base
3
- get '/purge' do
4
- Akamai.new.purge(params[:uri])
5
- end
6
- end
7
- end