fivepointssolutions-uaid 0.0.0 → 0.0.1

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.
data/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 1
3
+ :major: 0
4
+ :minor: 0
@@ -1,5 +1,5 @@
1
1
  module Uaid
2
- module ViewHelper
2
+ module Helper
3
3
  def user_agent
4
4
  @user_agent ||= UserAgent.new(request.headers['user-agent'])
5
5
  end
data/lib/uaid.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'uaid/user_agent'
2
- require 'uaid/view_helper'
2
+ require 'uaid/helper'
3
3
 
4
4
  module Uaid
5
5
  end
@@ -1,8 +1,8 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
2
2
  require 'ostruct'
3
3
 
4
- describe Uaid::ViewHelper do
5
- include Uaid::ViewHelper
4
+ describe Uaid::Helper do
5
+ include Uaid::Helper
6
6
 
7
7
  attr_reader :request
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fivepointssolutions-uaid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Williams
@@ -22,14 +22,15 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - VERSION.yml
25
26
  - lib/uaid
27
+ - lib/uaid/helper.rb
26
28
  - lib/uaid/user_agent.rb
27
- - lib/uaid/view_helper.rb
28
29
  - lib/uaid.rb
30
+ - spec/helper_spec.rb
29
31
  - spec/spec.opts
30
32
  - spec/spec_helper.rb
31
33
  - spec/user_agent_spec.rb
32
- - spec/view_helper_spec.rb
33
34
  has_rdoc: false
34
35
  homepage: http://github.com/fivepointssolutions/uaid
35
36
  post_install_message: