bbq-rails 0.3.0 → 0.4.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: fd0caa0a02094191f18c2205ed1dc410a204286c5a7b78a5487ec6452186c0c1
4
- data.tar.gz: 59f1db4707fca3399699e1ccfbc78b7b26145307b85035baf98c3ad6ddc82ada
3
+ metadata.gz: 664a7df58eeeca4cd3d72ceaddcb580262dd86c35ff42d99123d43e3c2e7e4cf
4
+ data.tar.gz: 003452f3dce235e3d59788d37549cf1caf6e9a683b50808d9abd7d641eb31b59
5
5
  SHA512:
6
- metadata.gz: 5b5078597acca0c8a25a1dc51458353ec7ff03e2f25d7ea298037fa5419055e64257412b30d4db2db70969706dfb03cfb9823d158bd1d83b6b0254bc66b02229
7
- data.tar.gz: 11fd3d2c626fe28eca1147988f95d52946743b5daf12950b66676ff94d64487da88315a0037683ad17173e2394defeac150ae618a3272937a0a3efb06d3309a0
6
+ metadata.gz: 43a645bd54306691eba8d0ebf0b5add9a8fbbaa7eb18a7b3d15f8eaa17ac9c6d096ede9d4d7b7f083584b1ec01f8dfaadf74cc81380763c32dca17ab3c10dc82
7
+ data.tar.gz: 8170bc8eb4641d07381b860eefd7202493d42b53c7e4b44e0472ded07b11815471b0d268d31743df20b86c455a2c161f9880053f49035373a1a51f9932222172
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ gem 'bbq-core', path: '../bbq-core'
6
+ gem 'rails', '~> 5.0'
7
+ gem 'capybara', '~> 3.31'
@@ -0,0 +1,8 @@
1
+ GEM_VERSION = $(shell cat ../BBQ_VERSION)
2
+ GEM_NAME = bbq-rails
3
+ REQUIRE = $(GEM_NAME)
4
+
5
+ include ../support/make/install.mk
6
+ include ../support/make/test.mk
7
+ include ../support/make/gem.mk
8
+ include ../support/make/help.mk
@@ -18,10 +18,9 @@ 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 "bbq-core", ">= 0.0"
21
+ spec.add_dependency "bbq-core", "= 0.4.0"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.7"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rails", ">= 3.0"
26
- spec.add_development_dependency "minitest", ">= 4.0"
23
+ spec.add_development_dependency "rake"
24
+ spec.add_development_dependency "rails", ">= 5.0"
25
+ spec.add_development_dependency "minitest", "~> 5.0"
27
26
  end
@@ -1,5 +1,5 @@
1
1
  module Bbq
2
2
  module Rails
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
  require 'bbq/core/test_user'
3
3
 
4
- class RailsIntegration < TestCase
4
+ class RailsIntegration < Minitest::Test
5
5
 
6
6
  def test_rails_integration
7
7
  user = Bbq::Core::TestUser.new
@@ -2,11 +2,6 @@ require 'minitest/autorun'
2
2
  require 'bbq/rails'
3
3
  require 'action_controller/railtie'
4
4
 
5
- TestCase = begin
6
- Minitest::Test
7
- rescue NameError
8
- MiniTest::Unit::TestCase
9
- end
10
5
 
11
6
  class DummyApplication < ::Rails::Application
12
7
  config.eager_load = false
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
  require 'bbq/core/test_user'
3
3
  require 'bbq/rails/routes'
4
4
 
5
- class TestUserRoutesTest < TestCase
5
+ class TestUserRoutesTest < Minitest::Test
6
6
  class TestUserWithRoutes < Bbq::Core::TestUser
7
7
  include ::Bbq::Rails::Routes
8
8
 
metadata CHANGED
@@ -1,85 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbq-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DRUG - Dolnośląska Grupa Użytkowników Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bbq-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0.0'
19
+ version: 0.4.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '0.0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.7'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.7'
26
+ version: 0.4.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - "~>"
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: '10.0'
33
+ version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - "~>"
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
- version: '10.0'
40
+ version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rails
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: '3.0'
47
+ version: '5.0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: '3.0'
54
+ version: '5.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: minitest
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ">="
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '4.0'
61
+ version: '5.0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ">="
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '4.0'
68
+ version: '5.0'
83
69
  description: Rails integration for Bbq.
84
70
  email:
85
71
  - all@drug.org.pl
@@ -88,14 +74,8 @@ extensions: []
88
74
  extra_rdoc_files: []
89
75
  files:
90
76
  - ".gitignore"
91
- - ".travis.yml"
92
- - Gemfile.rails3_0
93
- - Gemfile.rails3_1
94
- - Gemfile.rails3_2
95
- - Gemfile.rails4_0
96
- - Gemfile.rails4_1
97
- - Gemfile.rails4_2
98
- - LICENSE.txt
77
+ - Gemfile
78
+ - Makefile
99
79
  - README.md
100
80
  - Rakefile
101
81
  - bbq-rails.gemspec
@@ -1,13 +0,0 @@
1
- rvm:
2
- - 1.9.3
3
- - 2.0.0
4
- - 2.1.4
5
- - rbx-19mode
6
-
7
- gemfile:
8
- - Gemfile.rails3_0
9
- - Gemfile.rails3_1
10
- - Gemfile.rails3_2
11
- - Gemfile.rails4_0
12
- - Gemfile.rails4_1
13
- - Gemfile.rails4_2
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 3.0.0'
6
- gem 'minitest', '~> 4.0'
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 3.1.0'
6
- gem 'minitest', '~> 4.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 4.0.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 4.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 4.1.0'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
- gem 'bbq-core', github: 'drugpl/bbq-core'
5
- gem 'rails', '~> 4.2.0'
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Paweł Pacana
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.