nagareboshi 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/nagareboshi/configuration.rb +1 -1
- data/lib/nagareboshi/sender.rb +1 -1
- data/lib/nagareboshi/version.rb +1 -1
- data/spec/nagareboshi/sender_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 934015070f50f7113e5b7cee6bad0ff048d0ce78
|
4
|
+
data.tar.gz: 4bf2d6f879adeb3e1cf958118a46973a74d7c9f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218ef2937b4011ba848a6f262e9099932f1476c9522a6a1002f9d461e9cc11fef095e240a0c30376f874e5ed128e537dae0162297dd3b4a43b8e9cc3eda9a9f3
|
7
|
+
data.tar.gz: 761f6606fae69e1d9adbb41db7b596004f6c6e87ae7e6ca4c4892142d0fcecc6194dd5e7a5650260d09619e412a20c326e65f62b7de1619d717d08bff56eec7c
|
data/README.md
CHANGED
@@ -22,13 +22,13 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Ruby settings
|
24
24
|
|
25
|
-
|
25
|
+
Nagareboshi.configure do |config|
|
26
26
|
config.send = true
|
27
27
|
end
|
28
28
|
|
29
29
|
Rails settings send to production only
|
30
30
|
|
31
|
-
|
31
|
+
Nagareboshi.configure do |config|
|
32
32
|
config.send = Rails.env.production?
|
33
33
|
end
|
34
34
|
|
data/lib/nagareboshi/sender.rb
CHANGED
data/lib/nagareboshi/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe Nagareboshi::Sender do
|
6
|
-
let(:url) { "http://localhost/" }
|
6
|
+
let(:url) { "http://localhost/publish" }
|
7
7
|
let(:sender) { Nagareboshi::Sender }
|
8
8
|
before do
|
9
9
|
Nagareboshi.configure do |config|
|
@@ -74,11 +74,11 @@ describe Nagareboshi::Sender do
|
|
74
74
|
|
75
75
|
it "ssl? is true" do
|
76
76
|
allow(sender).to receive(:ssl?).and_return(true)
|
77
|
-
expect(subject).to eq "https://localhost/"
|
77
|
+
expect(subject).to eq "https://localhost/publish"
|
78
78
|
end
|
79
79
|
|
80
80
|
it "ssl? is false" do
|
81
|
-
expect(subject).to eq "http://localhost/"
|
81
|
+
expect(subject).to eq "http://localhost/publish"
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|