landable 1.9.0.rc2 → 1.9.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ae45a1d06e787c18d34b13ac783b226052dcf27
4
- data.tar.gz: 549abf6b33387d0e86eb3ec840608dbcd9b40eb0
3
+ metadata.gz: 7b68579918fa5ff5a6928fcc5e090771516ead6e
4
+ data.tar.gz: 1d8dc92f8efc9a841b4984e437e1d24fc1fd0029
5
5
  SHA512:
6
- metadata.gz: bfea9429af570577f8da59c425f73c13688422891dac7dca7530a41841bfda38bb98f50a82a23d39f023cb6e3de2071e1f77ca82cea2013f70333854d318e2e6
7
- data.tar.gz: a4ecfb3df6a1d97a38d1ff8769f6a574f7f738f51cb0c11f2ea341887c38fd4c66b49c9d33fcb13c2c623451cec81dbf3a2ad27491436a628b231be94d47ab86
6
+ metadata.gz: 2cc3168b8c66c0cef15396822e3d343ebe2ff279f70e4b065bc781ca3b3542b9ff77b48569443fb7dd0ebe0bca4d32591a1ae9c48ab92a8d44255e26e80188c8
7
+ data.tar.gz: 27350886d3121c13e57573cd5ce9085a686dcf2b56b9b006db113c9c80fcf98681a807579e0d65ccb590aec01808ac46871b13e9dc66979257341e57c036fabd
data/CHANGELOG.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  See README.md before updating this file.
4
4
 
5
- ## Unreleased [#](https://github.com/enova/landable/compare/v1.9.0.rc2...master)
5
+ ## Unreleased [#](https://github.com/enova/landable/compare/v1.9.0...master)
6
6
 
7
- ## 1.9.0.rc1 [#](https://github.com/enova/landable/compare/v1.9.0.rc1...v1.9.0.rc2)
8
- * Audits [*10]
7
+ ## 1.9.0 [#](https://github.com/enova/landable/compare/v1.9.0.rc2...v1.9.0)
8
+ * Configuration is not a public API [#15]
9
+ * Updating lookup_by :http_method [#16]
10
+ * Updating descriptions of Partials [#17]
11
+
12
+ ## 1.9.0.rc2 [#](https://github.com/enova/landable/compare/v1.9.0.rc1...v1.9.0.rc2)
13
+ * Audits [#10]
9
14
 
10
15
  ## 1.9.0.rc1 [#](https://github.com/enova/landable/compare/v1.8.0...v1.9.0.rc1)
11
16
  * Expose the tracker's referer domain & path [#14]
@@ -3,8 +3,6 @@ require_dependency "landable/api_controller"
3
3
  module Landable
4
4
  module Api
5
5
  class ConfigurationsController < ApiController
6
- skip_before_filter :require_author!
7
-
8
6
  def show
9
7
  respond_with configurations: [Landable.configuration.as_json]
10
8
  end
@@ -3,7 +3,7 @@ module Landable
3
3
  class HTTPMethod < ActiveRecord::Base
4
4
  include Landable::Traffic::TableName
5
5
 
6
- lookup_by :http_method, cache: true, find_or_create: true
6
+ lookup_by :http_method, cache: 50, find_or_create: true
7
7
 
8
8
  has_many :page_views
9
9
  end
data/config/routes.rb CHANGED
@@ -12,7 +12,7 @@ Landable::Engine.routes.draw do
12
12
 
13
13
  resources :audits, only: [:index, :show]
14
14
 
15
- get 'configuration', to: 'configurations#show'
15
+ get 'configurations', to: 'configurations#show'
16
16
 
17
17
  concern :has_assets do
18
18
  resources :assets, only: [:index, :update, :destroy]
@@ -6,7 +6,7 @@ module Landable
6
6
 
7
7
  def process
8
8
  @name = @file.gsub('/',' ').titlecase
9
- @description = "Defined in Source Code at #{@file}"
9
+ @description = "The Code for this template can be seen at #{@file} in the source code"
10
10
  @slug = @file.gsub(/[^\w]/, '_')
11
11
 
12
12
  @processed = true
@@ -3,7 +3,7 @@ module Landable
3
3
  MAJOR = 1
4
4
  MINOR = 9
5
5
  PATCH = 0
6
- PRE = 'rc2'
6
+ PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
9
9
  end
@@ -5,6 +5,7 @@ module Landable::Api
5
5
  routes { Landable::Engine.routes }
6
6
 
7
7
  describe '#show' do
8
+ include_examples 'Authenticated API controller', :make_request
8
9
 
9
10
  def make_request
10
11
  get :show
@@ -27,8 +27,8 @@ module Landable
27
27
  end
28
28
 
29
29
  it 'populates a description' do
30
- @foobazz.description.should == 'Defined in Source Code at partials/foobazz'
31
- @test.description.should == 'Defined in Source Code at partials/test'
30
+ @foobazz.description.should == 'The Code for this template can be seen at partials/foobazz in the source code'
31
+ @test.description.should == 'The Code for this template can be seen at partials/test in the source code'
32
32
  end
33
33
 
34
34
  it 'are not editable' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0.rc2
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Trogdor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-16 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -660,9 +660,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
660
660
  version: '0'
661
661
  required_rubygems_version: !ruby/object:Gem::Requirement
662
662
  requirements:
663
- - - '>'
663
+ - - '>='
664
664
  - !ruby/object:Gem::Version
665
- version: 1.3.1
665
+ version: '0'
666
666
  requirements: []
667
667
  rubyforge_project:
668
668
  rubygems_version: 2.2.2