solidus_api 4.0.4 → 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: 9a7292aced90616bc40e59230201d2aa85a9676ad8fa92345ab3c3eab446d301
4
- data.tar.gz: ddf78caf1837b6e266cf2b1147f44b3ce0a29d386fa4283659cb0475351cb8f7
3
+ metadata.gz: a97214d64027d4734f934b03b042905a78fe90c51c4f95a4dabb507731af4702
4
+ data.tar.gz: e36da5817842396ad1bcb51e37051c41677efe17846af51b44bedbe2876a6cf9
5
5
  SHA512:
6
- metadata.gz: 9e0ddb77c2110a1fb13a9470b47cfede08528c3037c8fb75cbcfb16da9fc7a975895c0cfd54876ddccc95652662ea387c76f376961be4b9efc833b618d38fda0
7
- data.tar.gz: f468a33270bc20568293da7cbc3212025a63598aa48d00d9eb636437189e51377816a99e0d4482f131374c43a6e9b0a7c8053a68ba80d49659001f7846a58488
6
+ metadata.gz: 6ed952ae7ea7590f404e3a054412ac68abf7d4e6e95f17e12cc9d9f49c0f287fa131a782250f98bf54469bbdcb11cb23b654e50990c4370275bf4832f4fbf798
7
+ data.tar.gz: 245f1bdc399517f408c19874c6b3100b52bcc923d57f180273eb3cb3a191a6831c685a8c576727a4d96067b4a3ae7dd743316eb506a1259ccd14375543913964
data/Rakefile CHANGED
@@ -5,7 +5,6 @@ require 'rake'
5
5
  require 'rake/testtask'
6
6
  require 'rspec/core/rake_task'
7
7
  require 'spree/testing_support/dummy_app/rake_tasks'
8
- require 'bundler/gem_tasks'
9
8
 
10
9
  RSpec::Core::RakeTask.new
11
10
  task default: :spec
@@ -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.4
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-11-02 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.4
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.4
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
@@ -272,7 +273,7 @@ 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.17
276
+ rubygems_version: 3.3.7
276
277
  signing_key:
277
278
  specification_version: 4
278
279
  summary: REST API for the Solidus e-commerce framework.