omniauth-lastfm 1.0.2 → 1.0.3

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: bb2d3144abae35d52e0d7a0d10a7924c37833ca0623a37b751ba27529f2137c7
4
- data.tar.gz: b0a1e1c56464dfd7ff05afb23f9717ca60491869c3dc9d870ca1a3b495d7cbcc
3
+ metadata.gz: 4669ea9ca70a4e4a7c7f08279a588fafafd35c032af578d9020629037f4d2dbb
4
+ data.tar.gz: a7067d4983190aa84f6bc68e18792363efb8d260f6e66c0341efc87cc9cf83d3
5
5
  SHA512:
6
- metadata.gz: eade64290017a6a6914be62b2fb2c29067ea364a231dfd077c1971380f9bbb003ac5b842ead9d9531f174be92494f1924ae8b831d242c591cf8376059a0cbd47
7
- data.tar.gz: 91541cdd1b0c60c41d9ff1bb0ce5e4a13e86441678df463969948316d4a7d3ee7785e472d6b3ba43b8b2892ffbf443f71307c710878f5e795937bca7b0b901b8
6
+ metadata.gz: 198f79d10470feb34693e1043ddcfa6acca8a1081993ffc2b594cf92e7cbd8b77520aa0cf4cd2b643083c6f7d661fde32165fcc8771004b136afc5ecccbbec4a
7
+ data.tar.gz: ef16eb5143daff1c2fe542d7c7a4d0ea9ca3250a3d7d432c8882742705289ac3f2dac5680c7d52f075f1d9d29d82e0b2b5cd6f57a85e206209e8dc69c8fb7ecb
data/README.md CHANGED
@@ -29,10 +29,18 @@ Rails.application.config.middleware.use OmniAuth::Builder do
29
29
  end
30
30
  ```
31
31
 
32
- Set callback URL in the Last.fm API application settings:
32
+ ## Provider App Setup
33
+
34
+ - Last.fm API applications: <https://www.last.fm/api/account/create>
35
+ - Set callback URL in the Last.fm API application settings:
33
36
 
34
37
  - `https://your-app.example.com/auth/lastfm/callback`
35
38
 
39
+ ## Options
40
+
41
+ - `api_timeout` (default `10`)
42
+ - `callback_url`
43
+
36
44
  ## Auth Hash
37
45
 
38
46
  Example payload available in `request.env['omniauth.auth']` (real flow shape, anonymized):
@@ -111,7 +119,21 @@ Run Rails integration tests explicitly:
111
119
  RAILS_VERSION='~> 7.2.0' bundle exec rake test_rails_integration
112
120
  ```
113
121
 
114
- ## Tested Matrix
122
+ ## Test Structure
123
+
124
+ - `test/omniauth_lastfm_test.rb`: strategy/unit behavior
125
+ - `test/rails_integration_test.rb`: full Rack/Rails request+callback flow
126
+ - `test/test_helper.rb`: shared test bootstrap
127
+
128
+ ## Compatibility
115
129
 
116
130
  - Ruby: 3.2, 3.3, 3.4, 4.0
117
131
  - Rails integration: 7.1, 7.2, 8.0, 8.1
132
+
133
+ ## Release
134
+
135
+ Tag releases as `vX.Y.Z`; GitHub Actions publishes the gem to RubyGems.
136
+
137
+ ## License
138
+
139
+ MIT
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Lastfm
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-lastfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Poli