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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4fb506357aa7259c3e772d93ef9fc3cf4cc20c371e60cb2cb538b0f84e411dd
4
- data.tar.gz: 1496b18d9226f9495245082bb965d8e921794f967af4391b552fddfd6e14b412
3
+ metadata.gz: f4a3d986a23043595f710f3e936d015db53958202601dd8a609cc6c8734480ac
4
+ data.tar.gz: 790559c7e271aa596b2820009feed9d72f20cbab3767025b70f2692ec56e62c7
5
5
  SHA512:
6
- metadata.gz: be6bb1e8d46817039433ec9709e2ca06c3e741d9112016b799782f13ec79bba4e1de721ac789b4a24e7be006c0fab40dec8edf73708358aa9321e76f980b5160
7
- data.tar.gz: 9eec62cc30242f0fc55a9dcdbcd0c9b33911b93501590b252759e9966d5fdf0503fa813e0eb79a516920a32b140a681d4396c6985f086737845510270d3e74b1
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 `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, 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).
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
@@ -0,0 +1,18 @@
1
+ version: 1.0.{build}-{branch}
2
+
3
+ cache:
4
+ - vendor/bundle
5
+
6
+ install:
7
+ - set PATH=C:\Ruby25-x64\bin;%PATH%
8
+ - bundle install
9
+
10
+ build: off
11
+
12
+ before_test:
13
+ - ruby -v
14
+ - gem -v
15
+ - bundle -v
16
+
17
+ test_script:
18
+ - bundle exec rake
data/bin/server ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require 'doppelserver'
3
+ Doppelserver::BaseServer.run!
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
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the
25
- # 'allowed_push_host' to allow pushing to a single host or delete this
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/doppleserver'
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.12'
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
@@ -1,3 +1,3 @@
1
1
  module Doppelserver
2
- VERSION = '0.2.8'.freeze
2
+ VERSION = '0.4.9'.freeze
3
3
  end
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.2.8
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-06-13 00:00:00.000000000 Z
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.12'
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.12'
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/doppleserver
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.6
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