solidus_api 4.0.2 → 4.1.1

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: e96f092a09dc62642b119b375edb504f507908558b03723c279288438cc0df79
4
+ data.tar.gz: ef1210dca9ddfd5f40e0a3f9a7c8d0a5c98fac201e5bc865b24dbf289a9a0395
5
5
  SHA512:
6
- metadata.gz: 896131afe0fd7b9a63dbe5da33850b32b7249262bcf74b215c3b2ec7a9fe1113f20d61f1ba29da137c19d7b0ec92e6fac9f86c23899ee733b09402795382c403
7
- data.tar.gz: fb9cf220be3fc98e501881f2df91f0227cd073563bf02e0929c1e46c9953840a58189bb42994fb363056d29def01c804b207b6da199f2dcbb9cb06341d4e6957
6
+ metadata.gz: e3eda50863b84c48ddcc3bee420649f9b62a37e9f647b0f704012971f0d20b8d8c1b0cd001a7e25b2ccf600e95026ec14dbb2f021933ab815684397c34923d95
7
+ data.tar.gz: 71b3d83348065a61aedf23ba72c0ad273140addb2184ef1f5f42a5c08717c181929028088bf5329416e9e6250e0d54c4561542e2217d0735f03ea41635e603a3
@@ -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,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
@@ -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.1
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.1
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