Skip to content

Commit a932d99

Browse files
author
Robert Pawlas
committed
Integrate with travis
1 parent 6d78780 commit a932d99

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sudo: false
2+
language: ruby
3+
rvm:
4+
- 2.4
5+
before_install:
6+
- gem update --system
7+
- gem --version
8+
rspec:
9+
- bundle exec rspec

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ gem 'graphql'
77

88
group :test do
99
gem 'rspec'
10+
gem 'rake'
1011
end

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
shared_arguments (0.1.0)
4+
shared-arguments (0.1.0)
55

66
GEM
77
remote: https://rubygems.org/
@@ -31,7 +31,7 @@ DEPENDENCIES
3131
graphql
3232
rake (~> 10.0)
3333
rspec
34-
shared_arguments!
34+
shared-arguments!
3535

3636
RUBY VERSION
3737
ruby 2.4.1p111

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# shared-arguments
2+
3+
[![Build Status](https://travis-ci.org/hedselu/shared-arguments.svg?branch=master)](https://travis-ci.org/hedselu/shared-arguments)
4+
25
Ruby gem for GraphQL arguments sharing within fields
36

47
**Sponsored by**
@@ -21,9 +24,9 @@ Sometimes you want to use the same arguments for multiple fields in custom objec
2124
To avoid repeating those declarations and DRY-up your schema, I introduce you shared_arguments field.
2225

2326
This gem is mostly usable when you have:
24-
- many fields with few repeating arguments in each field
25-
- few fields with many repeating arguments in each field
26-
- many fields with many repeating arguments in each field
27+
- many fields with few repeating arguments
28+
- few fields with many repeating arguments
29+
- many fields with many repeating arguments
2730

2831
## Installation
2932

0 commit comments

Comments
 (0)