ppc_logic 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/config/routes.rb +7 -17
- data/ppc_logic.gemspec +2 -1
- data/script/cucumber +10 -0
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
data/config/routes.rb
CHANGED
@@ -1,23 +1,13 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
class PpcConstraint
|
3
|
-
def initialize; end
|
4
|
-
def matches?(request)
|
5
|
-
request.host == Rails.application.config.main_host
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
constraints(PpcConstraint.new) do
|
10
|
-
get ':slug', :to => 'landing_pages#show'
|
11
|
-
get ':slug/:branch_id/', :to => 'landing_pages#show'
|
12
|
-
end
|
13
|
-
|
14
2
|
namespace :admin do
|
15
|
-
|
16
|
-
|
3
|
+
post 'campaigns/get_locales/', :to => 'campaigns#get_locales', :as => 'get_locales'
|
4
|
+
resources :ads
|
17
5
|
resources :branches
|
18
|
-
resources :local_offers
|
19
|
-
resources :landing_pages
|
20
6
|
resources :campaigns
|
21
|
-
resources :
|
7
|
+
resources :landing_pages
|
8
|
+
resources :local_offers
|
22
9
|
end
|
10
|
+
|
11
|
+
get ':slug', :to => 'landing_pages#show'
|
12
|
+
get ':slug/:branch_id/', :to => 'landing_pages#show'
|
23
13
|
end
|
data/ppc_logic.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "ppc_logic"
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bantik"]
|
@@ -212,6 +212,7 @@ Gem::Specification.new do |s|
|
|
212
212
|
"public/stylesheets/application.css",
|
213
213
|
"public/stylesheets/core.css",
|
214
214
|
"public/stylesheets/ppc_logic.css",
|
215
|
+
"script/cucumber",
|
215
216
|
"script/rails",
|
216
217
|
"spec/blueprints.rb",
|
217
218
|
"spec/controllers/ads_controller_spec.rb",
|
data/script/cucumber
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
|
4
|
+
if vendored_cucumber_bin
|
5
|
+
load File.expand_path(vendored_cucumber_bin)
|
6
|
+
else
|
7
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
8
|
+
require 'cucumber'
|
9
|
+
load Cucumber::BINARY
|
10
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ppc_logic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 2
|
10
|
+
version: 0.8.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bantik
|
@@ -399,6 +399,7 @@ files:
|
|
399
399
|
- public/stylesheets/application.css
|
400
400
|
- public/stylesheets/core.css
|
401
401
|
- public/stylesheets/ppc_logic.css
|
402
|
+
- script/cucumber
|
402
403
|
- script/rails
|
403
404
|
- spec/blueprints.rb
|
404
405
|
- spec/controllers/ads_controller_spec.rb
|