solidus_api 4.0.1 → 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: f9ee722a252be7d169281b542586278be330f1afe69d5e3e0718dd77423bc130
4
- data.tar.gz: a2f0ac79c053e2015b29c4edab6f844403efeccbb3421f0d2cdee3fced6c7eb7
3
+ metadata.gz: a97214d64027d4734f934b03b042905a78fe90c51c4f95a4dabb507731af4702
4
+ data.tar.gz: e36da5817842396ad1bcb51e37051c41677efe17846af51b44bedbe2876a6cf9
5
5
  SHA512:
6
- metadata.gz: 2d95bcc795294495c17bc5120520901f6d125f2a98669010aea3657a77b1412db5c1d46a4f57cbefe7589e3bab23634eccaea5015670fc028f88cf041e950da6
7
- data.tar.gz: '09183b5f01f4308e5110d50036cb5fa3d150759cc652a303360d2ba01cf1d7640e5ebef2d78e8eeb4391f6ddbaa37205ebfa11fd4fcec6b95ddbc89edf8e68b1'
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.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-30 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.1
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.1
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