linear_api 0.3.1 → 0.3.2

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: 77b18d58cafd0b1bd82ff508b96655dfa6cc0150264d89540eb5dd71a83baf7f
4
- data.tar.gz: '004967e9d760e3b738347a51268210ca67a2ac67a5fc3944d76e5618da65775d'
3
+ metadata.gz: 8f5dbd45da7e5e461fd1f9c04b5b94d859b74a85f8be4b2818f2cb418597ed83
4
+ data.tar.gz: d082eb5a92d5343d8eb5be7e41ebefa1c17aa20ecb347139dbe98c1a9fb533d9
5
5
  SHA512:
6
- metadata.gz: 87570c47ade6f4009fd4bc139ba52d268ba7b099f5cc3ba8f75b80542482bcd8d432ac07bcdb493a495551542a7702f2a0737741e719ae8669cd5fe6932936d6
7
- data.tar.gz: eb2268025dbd7e0c33bd3b193b6bf9a414d9ed018ab9bed9aa4b47fefad68adbdf5c722ea9db6f1ee4ebd16933b4b4eb6a7ecc98041fd70f8f442d3d7fad3b48
6
+ metadata.gz: 01feecb156624a79c91954ba5527948e962ff6d64e9a8aaa2906e4afb633bf62e82527c8a6a9c75444782ec383b0918828c77ffb80e9ac68b08abe68c168859e
7
+ data.tar.gz: 861150c54a6f3af9964af691dce4a43bb7cfcc48a6f8963ba82f5f7e76762f0b7ee5d94193f6f76283978713e4968d0aae56ae8c93cbc87845bb0a329a7f1056
@@ -20,12 +20,5 @@ module LinearApi
20
20
  LinearApi.api_key ||= ENV['LINEAR_API_KEY']
21
21
  LinearApi.team_id ||= ENV['LINEAR_TEAM_ID']
22
22
  end
23
-
24
- # Eager load lib files in production
25
- # Note: Using eager_load_paths instead of eager_load_namespaces
26
- # because LinearApi module doesn't implement eager_load!
27
- initializer 'linear_api.add_eager_load_paths', before: :set_eager_load_paths do |app|
28
- app.config.eager_load_paths << root.join('lib').to_s
29
- end
30
23
  end
31
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LinearApi
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
data/lib/linear_api.rb CHANGED
@@ -37,5 +37,12 @@ module LinearApi
37
37
  def reset_client!
38
38
  @client = nil
39
39
  end
40
+
41
+ # Rails calls eager_load! on all registered eager_load_namespaces.
42
+ # LinearApi::Engine (a Rails::Engine) registers this module's namespace,
43
+ # so Rails expects it to respond to eager_load!. Without this, CI fails
44
+ # with NoMethodError when config.eager_load = true.
45
+ def eager_load!
46
+ end
40
47
  end
41
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linear_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TheOwnerStack