planbcd-rails 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52e1e49c64b8c5ea9135d640353e26c118f1080b
4
- data.tar.gz: 3c7550383de391e858b48396511c8cae6d83f739
3
+ metadata.gz: 93ddcc96189a797707107d7dc5019c47c588e6d8
4
+ data.tar.gz: 4577ed7c5f3062f898f5c7b5ad0fc21fbdf98c4e
5
5
  SHA512:
6
- metadata.gz: bcf0fa96c6df01ebe1a74cf9fd0d5b7ea9da5d934af5dfa0fc5971c8e107bc94cc25f9c17c6cababc1cdd8da8a303cb177a817926ca049aba4bb6f3c5e90141c
7
- data.tar.gz: 52f69b371fdcb75c88aedb5774c2d22169d64896d9955ca4f47ad91d9c012b20af9fae2fb59aad3021aaeade2f933a14c084c0788a8ff0e97f29b0be0530e09e
6
+ metadata.gz: d81c4d293db6016cbd1a40a991a352d9a2440749e3ca5398eba940feee045d83c5ff10ba3ec87d611a9c1ee9864478736360492b471e4a4ee0083a79bdccbc89
7
+ data.tar.gz: 87a358b4153eea77f59cb7745aec1745416fc90058c1bb95015601c9ea0c45102ffc1a1385f01362d1f68f3667eed5e8ae415df9842cfbb6b86400c3b8302680
@@ -1,7 +1,7 @@
1
1
  PlanBCD::Rails.configure do |c|
2
- # Set your JS file found in your offer.
3
- # c.js = "//localhost/abc/def.js"
4
- # c.js = proc { |controller| controller.is_something? ? "//localhost/abc/def_1.js" : "//localhost/abc/def_2.js" }
2
+ # Set your JS URL found in your offer page.
3
+ # c.js_url = "//localhost/abc/def.js"
4
+ # c.js_url = proc { |controller| controller.is_something? ? "//localhost/abc/def_1.js" : "//localhost/abc/def_2.js" }
5
5
 
6
6
  # Insert PlanBCD js code to any response for html request
7
7
  # c.auto_insert = true
@@ -1,5 +1,5 @@
1
1
  module PlanBCD
2
2
  module Rails
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -45,7 +45,7 @@ describe PlanBCD::Rails::Middleware do
45
45
  expect(body).to eq(['{}'])
46
46
  end
47
47
  end
48
- context "no js" do
48
+ context "no js_url" do
49
49
  let(:js_url) { nil }
50
50
  it "does not raise error but write the log" do
51
51
  expect($stderr).to receive(:write).with(/^Failed to insert planbcd tag: /)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planbcd-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Taniwaki