solidus_api 4.0.0 → 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: 889a03ceedfdc041802ee129c1be2a2aba750d8d6501757f09ecc5cf26da2662
4
- data.tar.gz: 912510a11207bda356602e8bf5d98780b95aaf88b556bfad714c1393392f3ada
3
+ metadata.gz: a97214d64027d4734f934b03b042905a78fe90c51c4f95a4dabb507731af4702
4
+ data.tar.gz: e36da5817842396ad1bcb51e37051c41677efe17846af51b44bedbe2876a6cf9
5
5
  SHA512:
6
- metadata.gz: 66890843cd4957ff345aec5ff633b28c5f7224d9171ec027062943ac0cdf2df43db1be12d861c73c5b5a6399330b62b5b70706791f097a09c0046e6ea99c3761
7
- data.tar.gz: 9fd9b5e9c7d8e774f31637e62177662c9fb1c597e1a085ce7192c2b0d52001486a83ce63050fbc9ecb24b71fe2f6a68d6bd440501b8d970f345388e8ef76b484
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.0
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-05-08 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.0
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.0
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: []