pbbuilder 0.13.3 → 0.14.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: 10736ed13e1665f1bf45095973eb464ab2bcef87f3d69fe4bb8f89e3f35e0474
4
- data.tar.gz: a2a8522c756cdf99638d7aef7f3ad7ed9d009ab24b46e499f2f7e0d4a3427b5e
3
+ metadata.gz: 8d829e7e9831b4b7190db4aa3d426a68b6073156895479d243321692bd653fea
4
+ data.tar.gz: 72498247f4a3ee30e403e01ed01be4cd68b17c369e5c10ca83a6be97b0397b6a
5
5
  SHA512:
6
- metadata.gz: 366ce4bf8ef0195f67f9961cd15b5ebc8311b3c15c192d54a5a064a33a34e9e7696a2114afab7f4734bb1e89d61769ae823a91567562741bfc4bb0e9a41a4d3d
7
- data.tar.gz: 88d5bc81285ac6e48531328b03a2194b5939dd40ca8bfe003502486f7009c22bb55f1a18c2767f28153942801c7f913526d5a5c18294373a00fcffbfd6daeef4
6
+ metadata.gz: fbe8929f56b70421a55902c8b30248740e5bfb68b2f14f1017b384a2a5ce9202ed0bed89ae3c4e8aea011e83e2d7ef36856f1d069f3179cad5e71c5b572b1a1e
7
+ data.tar.gz: 04dd8c8f46b1f1120e5d3e964cd28efd101dbf44f7f2f08381d7e3e614270b5dc042ff365d944239c9776cdd040ac7add6511c58ab738499f76f9d4e6df2f533
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  This format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## 0.14.0
7
+ ### Added
8
+ - Adding `frozen_string_literal: true` to all files.
9
+
6
10
  ## 0.13.2 2023.02.3
7
11
  ### Fixed
8
12
  - In case ActiveSupport::Cache::FileStore in Rails is used as a cache, File.atomic_write can have a race condition and fail to rename temporary file. We're attempting to recover from that, by catching this specific error and returning a value.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  # Specify your gem's dependencies in pbbuilder.gemspec.
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/setup"
2
4
  require "bundler/gem_tasks"
3
5
  require "rake/testtask"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'pbbuilder'
2
4
 
3
5
  class Pbbuilder
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "pbbuilder/template"
2
4
 
3
5
  # Basically copied and pasted from JbuilderHandler, except it uses Pbbuilder
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Pbbuilder = Class.new(begin
2
4
  require 'active_support/proxy_object'
3
5
  ActiveSupport::ProxyObject
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "google/protobuf/message_exts"
2
4
 
3
5
  module Google::Protobuf::MessageExts::ClassMethods
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails'
2
4
  require "pbbuilder/handler"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # PbbuilderTemplate is an extension of Pbbuilder to be used as a Rails template
2
4
  # It adds support for partials.
3
5
  class PbbuilderTemplate < Pbbuilder
data/lib/pbbuilder.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "pbbuilder/pbbuilder"
2
4
  require 'pbbuilder/errors'
3
5
  require "pbbuilder/protobuf_extension"
data/pbbuilder.gemspec CHANGED
@@ -1,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Gem::Specification.new do |spec|
2
4
  spec.name = "pbbuilder"
3
- spec.version = "0.13.3"
5
+ spec.version = "0.14.0"
4
6
  spec.authors = ["Bouke van der Bijl"]
5
7
  spec.email = ["bouke@cheddar.me"]
6
8
  spec.homepage = "https://github.com/cheddar-me/pbbuilder"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "test_helper"
2
4
  require "action_view/testing/resolvers"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "test_helper"
2
4
 
3
5
  class PbbuilderTest < ActiveSupport::TestCase
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "test_helper"
2
4
 
3
5
  class ProtobufExtensionTest < ActiveSupport::TestCase
data/test/test_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/setup"
2
4
 
3
5
  require "rails"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pbbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bouke van der Bijl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf