pubsubstub 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 90b72c7935cf8e1f3f6320f1b6a4ea00844a4144
4
- data.tar.gz: 81620ee43f4d51c1dc06822c66864430b0196263
3
+ metadata.gz: 38d41c098792d6b1b14c0a9dddab5dc0bf01eea0
4
+ data.tar.gz: 5bdef86b12597f01c1e88e812c5dd2bb111f221c
5
5
  SHA512:
6
- metadata.gz: a9a40ad176ccb066f1d3fd2514e4d2b3e3402bf2e072a7540ae94a7283244c5ecbc4bbe9e8be63e9311db38668d275c466990b8c8de7655994cec9c5f95f03de
7
- data.tar.gz: 4420554341dd097571627040b898c40c8790722c0da008b7a9e6d9f370d2c02780ad186379d5fb36aba28625bc5350fdfe5103535341209807d749ce15392198
6
+ metadata.gz: b03ff4a5d49874b7b411bb11544cf55aefcbd01f8f0a756eddb881a87417db0c68efd0ee784fa6f482cdf795556df83092e4ca2141f44b9365a066816d3abf67
7
+ data.tar.gz: 668ed2d0fc55ce0500da60ffefe9c28067ffaf5c631d9bef95ed0461ca9696770cef4c63f21a08e54f166ec073e3788f93506c523756c6601171c0b9db6eaed9
@@ -1,6 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.2.2
4
+ gemfile:
5
+ - gemfiles/Gemfile.sinatra-1.x
6
+ - gemfiles/Gemfile.sinatra-2.x
4
7
  services:
5
8
  - redis-server
6
9
 
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in pubsubstub.gemspec
4
4
  gemspec
5
5
 
6
+ gem 'sinatra', github: 'sinatra/sinatra', ref: 'a5da6fa82c46436f59ae482d07c1752ab908c852'
6
7
  gem "rspec", "3.1.0"
7
8
  gem "pry-byebug"
8
9
  gem "puma", "~> 3.4"
data/Rakefile CHANGED
@@ -4,3 +4,23 @@ require 'rspec/core/rake_task'
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task default: :spec
7
+
8
+ namespace :spec do
9
+ task :all do
10
+ Dir['gemfiles/*'].reject { |p| p.end_with?('.lock') }.each do |gemfile|
11
+ command = %(BUNDLE_GEMFILE=#{gemfile} bundle exec rspec)
12
+ puts command
13
+ system(command)
14
+ end
15
+ end
16
+ end
17
+
18
+ namespace :gemfiles do
19
+ task :update do
20
+ Dir['gemfiles/*'].reject { |p| p.end_with?('.lock') }.each do |gemfile|
21
+ command = %(BUNDLE_GEMFILE=#{gemfile} bundle update)
22
+ puts command
23
+ system(command)
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'sinatra', '< 2'
4
+ gem 'redis', '~> 3.0'
5
+ gem "rspec", "3.1.0"
6
+ gem "pry-byebug"
7
+ gem "puma", "~> 3.4"
8
+ gem "thin", "~> 1.6"
9
+ gem "rack-test"
10
+ gem "timecop"
11
+ gem "rake", "~> 10.0"
@@ -0,0 +1,64 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ byebug (9.0.5)
5
+ coderay (1.1.1)
6
+ daemons (1.2.3)
7
+ diff-lcs (1.2.5)
8
+ eventmachine (1.2.0.1)
9
+ method_source (0.8.2)
10
+ pry (0.10.4)
11
+ coderay (~> 1.1.0)
12
+ method_source (~> 0.8.1)
13
+ slop (~> 3.4)
14
+ pry-byebug (3.4.0)
15
+ byebug (~> 9.0)
16
+ pry (~> 0.10)
17
+ puma (3.5.0)
18
+ rack (1.6.4)
19
+ rack-protection (1.5.3)
20
+ rack
21
+ rack-test (0.6.3)
22
+ rack (>= 1.0)
23
+ rake (10.5.0)
24
+ redis (3.3.1)
25
+ rspec (3.1.0)
26
+ rspec-core (~> 3.1.0)
27
+ rspec-expectations (~> 3.1.0)
28
+ rspec-mocks (~> 3.1.0)
29
+ rspec-core (3.1.7)
30
+ rspec-support (~> 3.1.0)
31
+ rspec-expectations (3.1.2)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.1.0)
34
+ rspec-mocks (3.1.3)
35
+ rspec-support (~> 3.1.0)
36
+ rspec-support (3.1.2)
37
+ sinatra (1.4.7)
38
+ rack (~> 1.5)
39
+ rack-protection (~> 1.4)
40
+ tilt (>= 1.3, < 3)
41
+ slop (3.6.0)
42
+ thin (1.7.0)
43
+ daemons (~> 1.0, >= 1.0.9)
44
+ eventmachine (~> 1.0, >= 1.0.4)
45
+ rack (>= 1, < 3)
46
+ tilt (2.0.5)
47
+ timecop (0.8.1)
48
+
49
+ PLATFORMS
50
+ ruby
51
+
52
+ DEPENDENCIES
53
+ pry-byebug
54
+ puma (~> 3.4)
55
+ rack-test
56
+ rake (~> 10.0)
57
+ redis (~> 3.0)
58
+ rspec (= 3.1.0)
59
+ sinatra (< 2)
60
+ thin (~> 1.6)
61
+ timecop
62
+
63
+ BUNDLED WITH
64
+ 1.12.5
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'sinatra', github: 'sinatra/sinatra', ref: 'a5da6fa82c46436f59ae482d07c1752ab908c852'
4
+ gem 'redis', '~> 3.0'
5
+ gem "rspec", "3.1.0"
6
+ gem "pry-byebug"
7
+ gem "puma", "~> 3.4"
8
+ gem "thin", "~> 1.6"
9
+ gem "rack-test"
10
+ gem "timecop"
11
+ gem "rake", "~> 10.0"
@@ -0,0 +1,74 @@
1
+ GIT
2
+ remote: git://github.com/sinatra/sinatra.git
3
+ revision: a5da6fa82c46436f59ae482d07c1752ab908c852
4
+ ref: a5da6fa82c46436f59ae482d07c1752ab908c852
5
+ specs:
6
+ sinatra (2.0.0.pre.alpha)
7
+ mustermann (~> 0.4)
8
+ rack (~> 2.0)
9
+ rack-protection (~> 1.5)
10
+ tilt (~> 2.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ byebug (9.0.5)
16
+ coderay (1.1.1)
17
+ daemons (1.2.3)
18
+ diff-lcs (1.2.5)
19
+ eventmachine (1.2.0.1)
20
+ method_source (0.8.2)
21
+ mustermann (0.4.0)
22
+ tool (~> 0.2)
23
+ pry (0.10.4)
24
+ coderay (~> 1.1.0)
25
+ method_source (~> 0.8.1)
26
+ slop (~> 3.4)
27
+ pry-byebug (3.4.0)
28
+ byebug (~> 9.0)
29
+ pry (~> 0.10)
30
+ puma (3.5.0)
31
+ rack (2.0.1)
32
+ rack-protection (1.5.3)
33
+ rack
34
+ rack-test (0.6.3)
35
+ rack (>= 1.0)
36
+ rake (10.5.0)
37
+ redis (3.3.1)
38
+ rspec (3.1.0)
39
+ rspec-core (~> 3.1.0)
40
+ rspec-expectations (~> 3.1.0)
41
+ rspec-mocks (~> 3.1.0)
42
+ rspec-core (3.1.7)
43
+ rspec-support (~> 3.1.0)
44
+ rspec-expectations (3.1.2)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.1.0)
47
+ rspec-mocks (3.1.3)
48
+ rspec-support (~> 3.1.0)
49
+ rspec-support (3.1.2)
50
+ slop (3.6.0)
51
+ thin (1.7.0)
52
+ daemons (~> 1.0, >= 1.0.9)
53
+ eventmachine (~> 1.0, >= 1.0.4)
54
+ rack (>= 1, < 3)
55
+ tilt (2.0.5)
56
+ timecop (0.8.1)
57
+ tool (0.2.3)
58
+
59
+ PLATFORMS
60
+ ruby
61
+
62
+ DEPENDENCIES
63
+ pry-byebug
64
+ puma (~> 3.4)
65
+ rack-test
66
+ rake (~> 10.0)
67
+ redis (~> 3.0)
68
+ rspec (= 3.1.0)
69
+ sinatra!
70
+ thin (~> 1.6)
71
+ timecop
72
+
73
+ BUNDLED WITH
74
+ 1.12.5
@@ -1,3 +1,3 @@
1
1
  module Pubsubstub
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'sinatra', "~> 1.4"
22
- spec.add_dependency 'redis', "~> 3.0"
21
+ spec.add_dependency 'sinatra', '>= 1.4.7', '< 3'
22
+ spec.add_dependency 'redis', '~> 3.0'
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.5"
25
25
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubsubstub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Malette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-07 00:00:00.000000000 Z
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.4.7
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '1.4'
22
+ version: '3'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.7
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '1.4'
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: redis
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -74,6 +80,10 @@ files:
74
80
  - example/Gemfile
75
81
  - example/config.ru
76
82
  - example/puma_config.rb
83
+ - gemfiles/Gemfile.sinatra-1.x
84
+ - gemfiles/Gemfile.sinatra-1.x.lock
85
+ - gemfiles/Gemfile.sinatra-2.x
86
+ - gemfiles/Gemfile.sinatra-2.x.lock
77
87
  - lib/pubsubstub.rb
78
88
  - lib/pubsubstub/action.rb
79
89
  - lib/pubsubstub/application.rb