detectify 1.0.3 → 1.0.4

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: dde8d3ba42cf907fd5dc86c5c74cfbabb14c1e9d
4
- data.tar.gz: bf5dc2515f68b28089473723b5ddef7210da5d97
3
+ metadata.gz: ee24aedba33f12a4281638b51dd4ba413fec2860
4
+ data.tar.gz: 110f8f81d190fb8559794abe5122b748684a71e0
5
5
  SHA512:
6
- metadata.gz: b3b09a9900217455213513cc93829d014b55f8285e535d497116624efd751b67c16f322c1be016def079b4bd99ae2f350c9fa02e9972aedd89eff5d26a1c9128
7
- data.tar.gz: 60283ffd9598e6226fc5a351d3148baa2408cdbde968af776c4d7872ec860977e3f3f1c4d27edc7eb904db3b22f6e7e889b511e864eaf378f17dd6efb1845abf
6
+ metadata.gz: c124520872ef5b179e9189cb2545e797ec68c56c34f8c703022ca2894447f3f938be1937c80a7cb3e78ae21b2a0b37d6089e9966d41252d7e38b84940f29a51e
7
+ data.tar.gz: 6bcc81ecfeebbeefb9a0a5463ab14c25bf334c0a65fb00ab7300b750115475c7d5a20154be5ca514415cda039bc9afbc8159772aa988306c0de115b8ca6824aa
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Detectify
2
-
2
+ [![Gem Version](https://badge.fury.io/rb/detectify.svg)](https://badge.fury.io/rb/detectify)
3
3
  [![Code Climate](https://codeclimate.com/github/rubygarage/detectify/badges/gpa.svg)](https://codeclimate.com/github/rubygarage/detectify)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/rubygarage/detectify/badge.svg?branch=master)](https://coveralls.io/github/rubygarage/detectify?branch=master)
5
5
  [![Build Status](https://travis-ci.org/rubygarage/detectify.svg?branch=master)](https://travis-ci.org/rubygarage/detectify)
@@ -24,7 +24,7 @@ Start off by generating an initializer:
24
24
 
25
25
  this will create file `config/initializers/detectify.rb` in your application directory.
26
26
 
27
- You can configure Detectify for your application needs via initializer. After this you can access detected entity via: `env['Detectify-Entity']`.
27
+ You can configure Detectify for your application needs via initializer. After this you can access detected entity via: `request.env['Detectify-Entity']`.
28
28
 
29
29
  ## Contributing
30
30
 
@@ -1,7 +1,7 @@
1
1
  module Detectify
2
2
  class Railtie < Rails::Railtie
3
3
  initializer 'detectify' do |app|
4
- app.config.middleware.use 'Detectify::Middleware'
4
+ app.config.middleware.use Detectify::Middleware
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module Detectify
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: detectify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukyanov Fedor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack