we-call 0.12.0 → 0.12.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
  SHA256:
3
- metadata.gz: dbf74dcbe416b443f5822de5e4dc5244b5448184263b9956329cb6c1129870ed
4
- data.tar.gz: 58f39eb8e256d379360452dcc60debe784d5817d74f2215dae9b1f30a5c2d6ac
3
+ metadata.gz: 933c29d9b7023e1206d9976799d384dac20d42e54347cf71d0e7bdded1778a3b
4
+ data.tar.gz: e154cc5c6f461463b87e01e5dd75f465bcb8943b38f633cb96bf9aa8e8202147
5
5
  SHA512:
6
- metadata.gz: '0875da2fd0d502d5eceaf7f9121242adee5ac7884854edf6bddcd75b06572286e86520e39af3c6ef7a9ad46eec9e7f06c1ee52370bc8b3d5d2ca75549fed8da0'
7
- data.tar.gz: 37068e825ace749bfdb15165df035024ccd541278b2fa4f1911e307c1ecfbc1cedf298db41c2df5f365b1fe45cec30a60612338c6206c31205ee511b0d715457
6
+ metadata.gz: e66d6f82ad5ab0c19fb945ad7e3d90a481849c54a6b7b4f78e6c13f5f69e50947befe9625a5b5d6ad2d4d8f6c6a85bb76a8d35e18193c349b1995561832c2bb6
7
+ data.tar.gz: fa07f073d25c69320f04bb8c6d85370046aad2b34633ca0cf0ff0db604c9b983cd9c9490f82e788bb60ad9f83431dc8edb8d8a63287fa8ff66c753df603d7f65
data/Appraisals CHANGED
@@ -22,6 +22,14 @@ appraise "faraday-0.10" do
22
22
  gem "faraday", "~> 0.10.0"
23
23
  end
24
24
 
25
+ appraise "rails-6.1" do
26
+ gem "rails", "~> 6.1.0"
27
+ end
28
+
29
+ appraise "rails-6.0" do
30
+ gem "rails", "~> 6.0.0"
31
+ end
32
+
25
33
  appraise "rails-5.2" do
26
34
  gem "rails", "~> 5.2.0"
27
35
  end
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
+ ## [v0.12.1] - 2021-06-11
9
+ ### Fixed
10
+ - Change the method to guess `rails_app_name` to work correctly across different Rails versions
11
+
8
12
  ## [v0.12.0] - 2020-12-17
9
13
  ### Added
10
14
  - Bump version to fix incorrect tag
@@ -162,7 +162,7 @@ module We
162
162
 
163
163
  def rails_app_name
164
164
  if (defined? ::Rails) && !::Rails.application.nil?
165
- ::Rails.application.class.parent_name.underscore.dasherize
165
+ ::Rails.application.class.name.deconstantize.underscore.dasherize
166
166
  end
167
167
  end
168
168
  end
@@ -1,5 +1,5 @@
1
1
  module We
2
2
  module Call
3
- VERSION = '0.12.0'
3
+ VERSION = '0.12.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we-call
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - WeWork Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-17 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus