camo-rb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/environment.rb +13 -0
- data/lib/camo/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60b80e2ffad8b5ae0d5702e2b6538bfbba6d26923c5687c00e81a8800ca2d137
|
4
|
+
data.tar.gz: 4e50a38a6f2deecb4f2276597a18fe3c4b7ebc114aea40c9346ee6a30dc51db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6028330253548033788cdc6ca1e6cb6f9ac5b2ba42796ef41aa6af25a51f16bae3699f4e8978c1c3bec22c6b34eb4a4d778b871e9ad7f9fa8c00bd3e02d7eb5
|
7
|
+
data.tar.gz: 2b98de0b8107b7af19e6f6bd3051b7784b56feb1fa4b41b0f334c9c15039c402e23fccda13c4e46eb95ef3b5b921e88b45c9e6ec7a718f7cc10e29de19e4e133
|
data/environment.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "bundler/setup"
|
3
|
+
|
4
|
+
groups = [:default]
|
5
|
+
groups << "test" if ENV["CAMORB_ENV"] == "test"
|
6
|
+
|
7
|
+
Bundler.setup(*groups)
|
8
|
+
|
9
|
+
require "pathname"
|
10
|
+
lib_path ||= File.expand_path("../lib", Pathname.new(__FILE__).realpath)
|
11
|
+
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
|
12
|
+
|
13
|
+
require "camo"
|
data/lib/camo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camo-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vyacheslav Alexeev
|
@@ -15,13 +15,15 @@ description: A camo server is a special type of image proxy that proxies non-sec
|
|
15
15
|
The server works in conjunction with back-end code that rewrites image URLs and
|
16
16
|
signs them with an HMAC.
|
17
17
|
email: alexeev.corp@gmail.com
|
18
|
-
executables:
|
18
|
+
executables:
|
19
|
+
- camorb
|
19
20
|
extensions: []
|
20
21
|
extra_rdoc_files: []
|
21
22
|
files:
|
22
23
|
- bin/camorb
|
23
24
|
- bin/generate_url
|
24
25
|
- bin/rspec
|
26
|
+
- environment.rb
|
25
27
|
- lib/camo.rb
|
26
28
|
- lib/camo/client.rb
|
27
29
|
- lib/camo/errors.rb
|