exvo_warez 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/exvo_warez.rb +3 -4
  2. data/lib/version.rb +1 -1
  3. metadata +7 -7
data/lib/exvo_warez.rb CHANGED
@@ -2,10 +2,9 @@ require "rack/exvo/stats"
2
2
 
3
3
  module Rack
4
4
  class ExvoWarez
5
-
6
5
  def initialize(app)
7
6
  @app = app
8
- apply_stats if env == "production" && ExvoAuth::Config.client_id
7
+ apply_stats if env == "production"
9
8
  end
10
9
 
11
10
  def call(env)
@@ -17,9 +16,9 @@ module Rack
17
16
  def env
18
17
  ENV['RACK_ENV'] || "development"
19
18
  end
20
-
19
+
21
20
  def apply_stats
22
21
  @app = Rack::ExvoWarez::Stats.new(@app)
23
22
  end
24
23
  end
25
- end
24
+ end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ExvoWarez
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exvo_warez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-27 00:00:00.000000000Z
12
+ date: 2011-11-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2156285960 !ruby/object:Gem::Requirement
16
+ requirement: &80849720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.6'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2156285960
24
+ version_requirements: *80849720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rack
27
- requirement: &2156281100 !ruby/object:Gem::Requirement
27
+ requirement: &80849480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.1.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2156281100
35
+ version_requirements: *80849480
36
36
  description: Append google analytics & chartbeat to the html pages
37
37
  email: defkode@gmail.com
38
38
  executables: []
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: 1.3.6
74
74
  requirements: []
75
75
  rubyforge_project: exvo_warez
76
- rubygems_version: 1.8.11
76
+ rubygems_version: 1.8.10
77
77
  signing_key:
78
78
  specification_version: 3
79
79
  summary: ExvoWarez