pbbuilder 0.1.0 → 0.2.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: 95c1a8225cbe27f9523fe58f6e0a706108ae12839d1b091b6a2a70d02d5363cc
4
- data.tar.gz: b133c221d7f27e76626632c488309c4c1d8c929e1725d34298847c42ad5f7350
3
+ metadata.gz: 91b9708fb9269602e7f35f2a36e2491c1598e9d7968608912e58fb285d6c2c8a
4
+ data.tar.gz: '089f9118be245c4a979bb10da5483b1b7f7d4136a8db8771a903581c226c1918'
5
5
  SHA512:
6
- metadata.gz: 033030a337a7b3a7e334719d564dfe098c7e1f7b54e8cea18ace761d51adb091c7fbe0b6b42d527ebc1e3b622e8d3332f4400a1444e263b55c2a95cf9a8e92fd
7
- data.tar.gz: 76f971940ae26fcd1360552cec8e5e9bb3160f21a39e36184d2bc700524f480c1b5261781dd760be5d33d702c4e2a95739e5f32d890d348f6f698dc0ee1a315f
6
+ metadata.gz: a235c7d38a1f38a98668bc2ceb68fe3d6b468196fa0d5e5cf668b9dfafa199ec875b3c769370a6b1a1db9b1c3e24b22f6ca247105d87bdf5b4358c33d5404e91
7
+ data.tar.gz: 747cf5e267268b2d05e64e297b41e0d181a0af6a01885521a734fd20845513914b4ba92d7a02fbd669dd2f8463cbb15eb5c6804978ce4d062d299fd1a2839957
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  /test/dummy/tmp/
11
11
  .byebug_history
12
12
  Gemfile.lock
13
+ *.gem
data/Gemfile CHANGED
@@ -2,3 +2,6 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in pbbuilder.gemspec.
4
4
  gemspec
5
+
6
+ gem "rake"
7
+ gem "rails"
data/lib/pbbuilder.rb CHANGED
@@ -21,7 +21,7 @@
21
21
  # It basically works exactly like jbuilder. The main difference is that it can use introspection to figure out what kind
22
22
  # of protobuf message it needs to create.
23
23
 
24
- class Pbbuilder
24
+ class Pbbuilder < BasicObject
25
25
  def initialize(message)
26
26
  @message = message
27
27
 
data/pbbuilder.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "pbbuilder"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["Bouke van der Bijl"]
5
5
  spec.email = ["bouke@cheddar.me"]
6
6
  spec.homepage = "https://github.com/cheddar-me/pbbuilder"
@@ -10,6 +10,5 @@ Gem::Specification.new do |spec|
10
10
  spec.files = `git ls-files`.split("\n")
11
11
  spec.test_files = `git ls-files -- test/*`.split("\n")
12
12
 
13
- spec.add_dependency "rails", "~> 6.1.3"
14
13
  spec.add_dependency "google-protobuf", "~> 3.15.5"
15
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pbbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bouke van der Bijl
@@ -10,20 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 6.1.3
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 6.1.3
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: google-protobuf
29
15
  requirement: !ruby/object:Gem::Requirement