camo-rb 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/environment.rb +13 -0
  3. data/lib/camo/version.rb +1 -1
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b410ac3bfb745c4cb2ef0aaa82f435c465258ec7aa888ec1dce17e767d132307
4
- data.tar.gz: 06110020de592ca9708ab8fc6c341cc1c569cae0c3bc26263e1670e16b18c578
3
+ metadata.gz: 60b80e2ffad8b5ae0d5702e2b6538bfbba6d26923c5687c00e81a8800ca2d137
4
+ data.tar.gz: 4e50a38a6f2deecb4f2276597a18fe3c4b7ebc114aea40c9346ee6a30dc51db0
5
5
  SHA512:
6
- metadata.gz: 1edb89a1a15b0fd13071bbe511253e71f975858f37078ec699f2c1319d32c05303ae860018bc5a9bc3d50fcb99b29e854842013353fdf56aa15bc608150810d8
7
- data.tar.gz: d6dd14481dc67966dbf4bc1c91057272d0f9beaeefa7f718fb46251fd1d2b48851f43a838718945dfc06a403090ea31ac21bbc6e34b1c6b9faeaf0abef222b42
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
@@ -1,5 +1,5 @@
1
1
  module Camo
2
2
  module Version
3
- GEM = "0.0.1"
3
+ GEM = "0.0.2"
4
4
  end
5
5
  end
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.1
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