apollo-federation 0.2.0 → 0.3.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: 4cb2c9ccf550442d466468618bc9656f3fcdd11dc945583ad8fcf4ffd9ab2101
4
- data.tar.gz: ee79a0157e41dd292ab53d39a8edae5f220aac31abf9d69bfb6711c9dd16b7d4
3
+ metadata.gz: 78250716f4ca8ead46572a0e0f88dba69c6260b9ccb828db7c891c79113d8804
4
+ data.tar.gz: de914adecf481e70ca697e1da5b3a6844ff64043008fe4f4986e870f43264502
5
5
  SHA512:
6
- metadata.gz: 5004bc11baa692fc1a900f30ada8210bdaef68ea55eb40b22c67db11257bd2890c186958e411f3fea7fc678ee3556301ab606de1a67b5a6f64e5ac165e180c3d
7
- data.tar.gz: 1e2fa18db2eb2f92997724a7c60fafec104fad63d0e3ad84ba72202c70221d32f342e3df96164b6c5619cb02b42c231912407ce17591de72856385a77f000b79
6
+ metadata.gz: 904190652009ec6b366668e1df7eaadb3703071a8593aec6672ebaefceb588c24f19a0399f4870119c3f37acdbd04383b7b0cfc460ea12e2d2ba738cc536968c
7
+ data.tar.gz: 4cdb851b44879fcd8cedfbc20e27fcd39c9faec4071f012d01a9c04be90691d7ca5e97b408490b69acc7a7f4d47fb021e4ba42262372d1d3a988bec2fcf3d5a0
@@ -1,13 +1,15 @@
1
- ## 0.2.0 (Aug 1, 2019)
1
+ ## [0.2.0](https://github.com/Gusto/apollo-federation-ruby/compare/v0.1.0...v0.2.0) (2019-08-01)
2
+
2
3
 
3
4
  ### Features
4
5
 
5
- * Add a description to the `_Service` type ([#10](https://github.com/Gusto/apollo-federation-ruby/pull/10))
6
+ * Add a description to the `_Service` type ([b7f19b9](https://github.com/Gusto/apollo-federation-ruby/commit/b7f19b99c385e94d29bed8dd34cc06383ce01ea2))
7
+
8
+ ### Bug Fixes
6
9
 
7
- ### Bug fixes
10
+ * Fix an issue coercing the `_Any` scalar in a Rails app ([39e9213](https://github.com/Gusto/apollo-federation-ruby/commit/39e9213d90bb18c7f218085e1dcaed8f2b6fa835))
8
11
 
9
- * Fix an issue coercing the `_Any` scalar in a Rails app ([#13](https://github.com/Gusto/apollo-federation-ruby/pull/13))
12
+ ## 0.1.0 (2019-06-21)
10
13
 
11
- ## 0.1.0 (Jun 21, 2019)
12
14
 
13
15
  * First release
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ def set_version
4
+ new_version = ARGV[0]
5
+
6
+ contents = File.read('lib/apollo-federation/version.rb')
7
+
8
+ new_contents = contents.gsub(/VERSION = '[0-9.]*'/, "VERSION = '#{new_version}'")
9
+ File.write('lib/apollo-federation/version.rb', new_contents)
10
+ end
11
+
12
+ def bundle_install
13
+ system('bundle install')
14
+ end
15
+
16
+ def build_gem
17
+ system('gem build apollo-federation.gemspec')
18
+ end
19
+
20
+ set_version
21
+ bundle_install
22
+ build_gem
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ new_version = ARGV[0]
4
+ gem_name = "apollo-federation-#{new_version}.gem"
5
+ system("gem push #{gem_name}")
6
+ File.delete(gem_name)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApolloFederation
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo-federation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noa Elad
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-01 00:00:00.000000000 Z
12
+ date: 2019-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphql
@@ -134,6 +134,8 @@ files:
134
134
  - CHANGELOG.md
135
135
  - LICENSE
136
136
  - README.md
137
+ - bin/prepare.rb
138
+ - bin/publish.rb
137
139
  - lib/apollo-federation.rb
138
140
  - lib/apollo-federation/any.rb
139
141
  - lib/apollo-federation/entities_field.rb
@@ -169,7 +171,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
171
  - !ruby/object:Gem::Version
170
172
  version: '0'
171
173
  requirements: []
172
- rubygems_version: 3.0.3
174
+ rubyforge_project:
175
+ rubygems_version: 2.7.9
173
176
  signing_key:
174
177
  specification_version: 4
175
178
  summary: A Ruby implementation of Apollo Federation