pco-url 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e4d2b6ccf53cc4ea13cee9a5aa2e4841b2b03a4616b666b33ee4849be22af07
4
- data.tar.gz: 6f364718d66b34a75a260111e49ac2a2f69a36f715df6778f167c2f2787215c1
3
+ metadata.gz: e436659e33566312bed2c988cd0a0f4ca3dac5631d820902a1fa31bf4d18db86
4
+ data.tar.gz: 7b40fb378c8e5c616a17203ec70127f50d3755b29a11a285b7e132b46ebee325
5
5
  SHA512:
6
- metadata.gz: 3c92f04b27e2244a8baeca932f1ec7bcb4d76ff1c13fe041fb7317fcba07d4b1df17f5e99da95d521f7df1275ad75df0aa73e854e915f95dc8427aef76e3c70a
7
- data.tar.gz: dccee0de36fe8d61d63dcab7393e57b77eacc39af63445741119197896509d4d16aff33eb8029efd80dd88a303f8c1882d7f37f7063e0eaf1a7eb81f4e4557c7
6
+ metadata.gz: 19d46fe57becf6aab2726a2f1ea14211d1a02b52a6e30fe331b96d47fa54e8c1d6c5532d9d51d0c408de1e404a115445060bcb38020486e31d30aa44790c280e
7
+ data.tar.gz: c13ddadce8ff17f2efdb0584540d7d6fe8e7f01a4c82423b7fd2c975df613cf66eaf68f49112ff3eaaec70661e79fc68b5849e2af138cdfe9069f3ad405de55a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v2.1.2 (2020-01-13)
2
+
3
+ * Fix: Always use pco.test in test environment [Tim Morgan]
4
+
1
5
  # v2.1.1 (2019-12-10)
2
6
 
3
7
  * Chore: A bunch of maintenance [Shane Bonham]
@@ -1,5 +1,5 @@
1
1
  module PCO
2
2
  class URL
3
- VERSION = "2.1.1".freeze
3
+ VERSION = "2.1.2".freeze
4
4
  end
5
5
  end
data/lib/pco/url.rb CHANGED
@@ -85,7 +85,9 @@ module PCO
85
85
  case env
86
86
  when "production", "staging"
87
87
  "planningcenteronline.com"
88
- when "development", "test"
88
+ when "test"
89
+ "pco.test"
90
+ when "development"
89
91
  PCO::URL::Engine.domain || "pco.test"
90
92
  end
91
93
  end
@@ -27,7 +27,7 @@ describe PCO::URL::Engine::DomainMiddleware, type: :request do
27
27
  expect(response.body).to eq("http://people.pco.test")
28
28
  host! "accounts.pco.codes"
29
29
  get "/test"
30
- expect(response.body).to eq("http://people.pco.codes")
30
+ expect(response.body).to eq("http://people.pco.test")
31
31
  end
32
32
  end
33
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pco-url
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal