iodized 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c309c1ee645f26063201e510730a597155afea53
4
- data.tar.gz: b0a68cb1765b57d065b48973a99792a8ad1f73e5
3
+ metadata.gz: 7a7eca0d967ad895340ea07bb29c873a84d2868b
4
+ data.tar.gz: cef340852ed3ac7e30bfbb9bde44a4dcecdb8a92
5
5
  SHA512:
6
- metadata.gz: de938a2f4544befec5faeaabb89cd54d0a28110a8f04e37e327f5666ee0b8efcf553dbd7ff8cf3b154ac57dfcc41bbb4193832d99e7f5c02b7c3eabf242b6be5
7
- data.tar.gz: 153f61850b5c6432564202750252202bda92fdd9d4fbeb30d960a24151f37b4f3e682df6149af48bd375b266d8691923d7dcc40d33c409c0d3dd877d4998c488
6
+ metadata.gz: baea8b8fc03c058d53b201c610a6a43c439589e5a7c3e9bd245c8c14c503630110faeb6471a39425f961c987c47e347600cd9770e9930b122fde797e5f2d06f2
7
+ data.tar.gz: d29b72c332627fa3fb4b166b63cf241bbc3526b10c286481ec3033dc4a916cc772156d3259126e51a335a16669c288f792cd4eb6216c9cd946cd11c035d09666
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iodized (0.0.1)
4
+ iodized (0.0.2)
5
5
  rack
6
6
  thin
7
7
  thrift (~> 0.9.1)
@@ -13,7 +13,7 @@ module Iodized
13
13
  begin
14
14
  @app.call(env)
15
15
  ensure
16
- Thread.current[:yoadado_request] = nil
16
+ Thread.current[:iodized_request] = nil
17
17
  Thread.current[:iodized_feature_set] = nil
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
2
 
3
3
  module Iodized
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
data/lib/iodized.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  #encoding: utf-8
2
2
  require 'iodized/client'
3
- require 'iodized/config'
4
3
  require 'iodized/features'
5
4
  require 'iodized/middleware'
6
5
  require 'iodized/version'
@@ -28,8 +27,8 @@ module Iodized
28
27
  @client = client
29
28
  end
30
29
 
31
- def self.config
32
- @config ||= Iodized::Config.new
30
+ def self.config(host, port)
31
+ self.client = Iodized::Client.new(host, port)
33
32
  end
34
33
 
35
34
  if defined? Rails
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iodized
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
  - Julian Doherty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-19 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,7 +128,6 @@ files:
128
128
  - iodized.gemspec
129
129
  - lib/iodized.rb
130
130
  - lib/iodized/client.rb
131
- - lib/iodized/config.rb
132
131
  - lib/iodized/feature_constants.rb
133
132
  - lib/iodized/feature_types.rb
134
133
  - lib/iodized/features.rb
@@ -1,11 +0,0 @@
1
- #encoding: utf-8
2
-
3
- module Iodized
4
- class Config
5
- attr_accessor :url
6
-
7
- def initialize
8
- @url = 'http://localhost:8080'
9
- end
10
- end
11
- end