doppelserver 0.2.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +6 -6
- data/.travis.yml +5 -5
- data/README.md +15 -9
- data/appveyor.yml +18 -0
- data/bin/server +3 -0
- data/bin/setup +8 -8
- data/doppelserver.gemspec +4 -5
- data/lib/doppelserver/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4a3d986a23043595f710f3e936d015db53958202601dd8a609cc6c8734480ac
|
4
|
+
data.tar.gz: 790559c7e271aa596b2820009feed9d72f20cbab3767025b70f2692ec56e62c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46007a28857cde5ae9613b617b34d340edc5e074f5cb5e6db7e9a1e6407c9d7e729c299e1236ce4e9ae2b3f3f3c7bba04d6718512cc2287052d71bf6dc00de8
|
7
|
+
data.tar.gz: 43df8ba6f069df20bfa4f7a1730269f83b5d93f580691de116a711b34490f090c5df7c1aed6da4cd0cf0b01eb792febd4c7aec324d4d59083a7c6aedd8ea7477
|
data/.rspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
--format documentation
|
2
|
-
--color
|
3
|
-
--order random
|
4
|
-
--profile
|
5
|
-
--warnings
|
6
|
-
--backtrace
|
1
|
+
--format documentation
|
2
|
+
--color
|
3
|
+
--order random
|
4
|
+
--profile
|
5
|
+
--warnings
|
6
|
+
--backtrace
|
data/.travis.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.3.1
|
5
|
-
before_install: gem install bundler -v 1.13.6
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- 2.3.1
|
5
|
+
before_install: gem install bundler -v 1.13.6
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![TravisCI](https://api.travis-ci.org/drewcoo/doppelserver.svg)](https://travis-ci.org/drewcoo/doppelserver)
|
4
4
|
[![CircleCI](https://circleci.com/gh/drewcoo/doppelserver.svg?style=shield)](https://circleci.com/gh/drewcoo/doppelserver)
|
5
|
+
[![AppVeyor](https://ci.appveyor.com/api/projects/status/ho7j5joad8hk867s?svg=true)](https://ci.appveyor.com/project/drewcoo/doppelserver)
|
5
6
|
[![Coverage Status](https://coveralls.io/repos/github/drewcoo/doppelserver/badge.svg?branch=master)](https://coveralls.io/github/drewcoo/doppelserver?branch=master)
|
6
7
|
[![Gem Version](https://badge.fury.io/rb/doppelserver.svg)](https://badge.fury.io/rb/doppelserver)
|
7
8
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/dd50d7ee18ae46c38ad053cf3dc59794)](https://www.codacy.com/app/drewcoo/doppelserver?utm_source=github.com&utm_medium=referral&utm_content=drewcoo/doppelserver&utm_campaign=Badge_Grade)
|
@@ -16,17 +17,11 @@ TODO: Explain mocks, dups, and fakes. This is a fake. Explain why fakes.
|
|
16
17
|
|
17
18
|
Also, all the cool names were taken on RubyGems.
|
18
19
|
|
19
|
-
### Alternatives
|
20
|
-
|
21
|
-
TODO: Table of alternatives.
|
22
|
-
|
23
20
|
## Installation
|
24
21
|
|
25
22
|
Add this line to your application's Gemfile:
|
26
23
|
|
27
|
-
```ruby
|
28
24
|
gem 'doppelserver'
|
29
|
-
```
|
30
25
|
|
31
26
|
And then execute:
|
32
27
|
|
@@ -54,12 +49,23 @@ Scenarios this should cover:
|
|
54
49
|
* Others? (WSDL?)
|
55
50
|
* Client bindings? Not sure that makes sense unless it's POROs or x-language.
|
56
51
|
|
57
|
-
|
58
52
|
## Development
|
59
53
|
|
60
|
-
After checking out the repo, run `
|
54
|
+
After checking out the repo, run `bundle` to install dependencies. Then, run `bundle exec rake` to run the tests.
|
55
|
+
|
56
|
+
To install this gem onto your local machine, run
|
57
|
+
|
58
|
+
bundle exec rake install
|
59
|
+
|
60
|
+
To release a new version, update the version number in `version.rb` like so
|
61
|
+
|
62
|
+
bundle exec gem bump -v [major|minor|patch|pre|release]
|
63
|
+
|
64
|
+
and then run
|
65
|
+
|
66
|
+
bundle exec rake release
|
61
67
|
|
62
|
-
|
68
|
+
which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
63
69
|
|
64
70
|
## Contributing
|
65
71
|
|
data/appveyor.yml
ADDED
data/bin/server
ADDED
data/bin/setup
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
set -euo pipefail
|
3
|
-
IFS=$'\n\t'
|
4
|
-
set -vx
|
5
|
-
|
6
|
-
bundle install
|
7
|
-
|
8
|
-
# Do any other automated setup that you need to do here
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
set -euo pipefail
|
3
|
+
IFS=$'\n\t'
|
4
|
+
set -vx
|
5
|
+
|
6
|
+
bundle install
|
7
|
+
|
8
|
+
# Do any other automated setup that you need to do here
|
data/doppelserver.gemspec
CHANGED
@@ -21,11 +21,10 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.homepage = 'https://github.com/drewcoo/doppelserver'
|
22
22
|
spec.license = 'MIT'
|
23
23
|
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# section to allow pushing to any host.
|
24
|
+
# Odd. I had a typo here (doppelserver misspelled) and now it's needed
|
25
|
+
# to publish to Rubygems? Fix this.
|
27
26
|
if spec.respond_to?(:metadata)
|
28
|
-
spec.metadata['allowed_push_host'] = 'https://rubygems.org/gems/
|
27
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org/gems/doppelserver'
|
29
28
|
else
|
30
29
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
31
30
|
'public gem pushes.'
|
@@ -50,7 +49,7 @@ Gem::Specification.new do |spec|
|
|
50
49
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.3'
|
51
50
|
spec.add_development_dependency 'rubocop', '~> 0.55'
|
52
51
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.25'
|
53
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
52
|
+
spec.add_development_dependency 'simplecov', '~> 0.16'
|
54
53
|
spec.add_development_dependency 'sinatra', '~> 1.4'
|
55
54
|
spec.add_development_dependency 'sinatra-contrib', '~> 1.4'
|
56
55
|
end
|
data/lib/doppelserver/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doppelserver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Cooper
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0.
|
173
|
+
version: '0.16'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '0.
|
180
|
+
version: '0.16'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: sinatra
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,7 +227,9 @@ files:
|
|
227
227
|
- LICENSE.txt
|
228
228
|
- README.md
|
229
229
|
- Rakefile
|
230
|
+
- appveyor.yml
|
230
231
|
- bin/console
|
232
|
+
- bin/server
|
231
233
|
- bin/setup
|
232
234
|
- doppelserver.gemspec
|
233
235
|
- lib/doppelserver.rb
|
@@ -238,7 +240,7 @@ homepage: https://github.com/drewcoo/doppelserver
|
|
238
240
|
licenses:
|
239
241
|
- MIT
|
240
242
|
metadata:
|
241
|
-
allowed_push_host: https://rubygems.org/gems/
|
243
|
+
allowed_push_host: https://rubygems.org/gems/doppelserver
|
242
244
|
post_install_message:
|
243
245
|
rdoc_options: []
|
244
246
|
require_paths:
|
@@ -255,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
257
|
version: '0'
|
256
258
|
requirements: []
|
257
259
|
rubyforge_project:
|
258
|
-
rubygems_version: 2.7.
|
260
|
+
rubygems_version: 2.7.7
|
259
261
|
signing_key:
|
260
262
|
specification_version: 4
|
261
263
|
summary: DO NOT USE YET!!! EXPERIMENTAL. A REST server and a client that knows how
|