solidus_api 4.0.2 → 4.1.0

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: b19e4f8f50d059967ea504d762051de9ec99f6be078bf24da65a7bf7ba3c63b1
4
- data.tar.gz: a0c1f65ab23891e4517943e4fdd94ebb5190d15d85b84ea690e894faa7f4a542
3
+ metadata.gz: a97214d64027d4734f934b03b042905a78fe90c51c4f95a4dabb507731af4702
4
+ data.tar.gz: e36da5817842396ad1bcb51e37051c41677efe17846af51b44bedbe2876a6cf9
5
5
  SHA512:
6
- metadata.gz: 896131afe0fd7b9a63dbe5da33850b32b7249262bcf74b215c3b2ec7a9fe1113f20d61f1ba29da137c19d7b0ec92e6fac9f86c23899ee733b09402795382c403
7
- data.tar.gz: fb9cf220be3fc98e501881f2df91f0227cd073563bf02e0929c1e46c9953840a58189bb42994fb363056d29def01c804b207b6da199f2dcbb9cb06341d4e6957
6
+ metadata.gz: 6ed952ae7ea7590f404e3a054412ac68abf7d4e6e95f17e12cc9d9f49c0f287fa131a782250f98bf54469bbdcb11cb23b654e50990c4370275bf4832f4fbf798
7
+ data.tar.gz: 245f1bdc399517f408c19874c6b3100b52bcc923d57f180273eb3cb3a191a6831c685a8c576727a4d96067b4a3ae7dd743316eb506a1259ccd14375543913964
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  json.nil!
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  attrs = [:id, :month, :year, :cc_type, :last_digits, :name]
2
4
  if @current_user_roles.include?("admin")
3
5
  attrs += [:gateway_customer_profile_id, :gateway_payment_profile_id]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  json.(payment_source, :id, :memo, :created_at)
2
4
  json.created_by payment_source.created_by.email
3
5
  json.category payment_source.category, :id, :name
data/bin/rails ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails gems
3
+ # installed from the root of your application.
4
+
5
+ ENGINE_ROOT = File.expand_path('..', __dir__)
6
+ ENGINE_PATH = File.expand_path('../lib/spree/api/engine', __dir__)
7
+
8
+ # Set up gems listed in the Gemfile.
9
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)
10
+ require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
11
+
12
+ require "rails/all"
13
+ require "rails/engine/commands"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-14 00:00:00.000000000 Z
11
+ date: 2023-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jbuilder
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.0.2
61
+ version: 4.1.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.0.2
68
+ version: 4.1.0
69
69
  description: REST API for the Solidus e-commerce framework.
70
70
  email: contact@solidus.io
71
71
  executables: []
@@ -224,6 +224,7 @@ files:
224
224
  - app/views/spree/api/zones/_zone.json.jbuilder
225
225
  - app/views/spree/api/zones/index.json.jbuilder
226
226
  - app/views/spree/api/zones/show.json.jbuilder
227
+ - bin/rails
227
228
  - config/i18n-tasks.yml
228
229
  - config/locales/en.yml
229
230
  - config/routes.rb
@@ -257,7 +258,7 @@ licenses:
257
258
  - BSD-3-Clause
258
259
  metadata:
259
260
  rubygems_mfa_required: 'true'
260
- post_install_message:
261
+ post_install_message:
261
262
  rdoc_options: []
262
263
  require_paths:
263
264
  - lib
@@ -272,8 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
273
  - !ruby/object:Gem::Version
273
274
  version: 1.8.23
274
275
  requirements: []
275
- rubygems_version: 3.4.9
276
- signing_key:
276
+ rubygems_version: 3.3.7
277
+ signing_key:
277
278
  specification_version: 4
278
279
  summary: REST API for the Solidus e-commerce framework.
279
280
  test_files: []