padrino 0.13.1.beta1 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/test/ext/minitest-spec.rb +4 -2
  3. metadata +23 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bef9f32b5f5b42ca351a9f7691b9914ece74b2f
4
- data.tar.gz: 4dc3adba918e37936b56b7a95d262f303563f4f0
3
+ metadata.gz: 4e9128543bfe11b93a9707707d50c3d97fd8087e
4
+ data.tar.gz: 78147223cfa997822c0ef2ef3614ce9fc452d6e6
5
5
  SHA512:
6
- metadata.gz: dddc1df509287dfd8ce40a413641270b0fb5db6579f024318ad2aa52ba573cfee4e0ca171719bd49ba5b91b93bde8415cf9ce8ad3bcd5641b49bf76949409f33
7
- data.tar.gz: 31985302af53b1b868a7814ff9ad92f720c56edb168ed56b3861c7bf6fdbd90b363b590647bcff171bf7b01a56e96f8ee79b20bd5d0ac2c78b21de87b80a1769
6
+ metadata.gz: bdd0c9d952ed817b0c996579e0b4d4c4bf51a4f775e900cc73cb4100803786b82bf55c5956eddce9519c24618ab62734c5b72b57f08f57e35488fec58bd5c5f4
7
+ data.tar.gz: 14eba0c928f44c7daf7b2351330ebb75106e4f5295f918d5913806d956a64b470dec9617b6ff992b3135e418ecf9362295bee16d151a76a0d85765d2667c683f
@@ -3,7 +3,6 @@ class MiniTest::Spec
3
3
  # In this case, block is the html to evaluate
4
4
  def assert_has_tag(name, attributes = {})
5
5
  html = yield if block_given?
6
- fail "Please specify a block" if html.blank?
7
6
  assert html.html_safe?, 'output in not #html_safe?'
8
7
  matcher = HaveSelector.new(name, attributes)
9
8
  assert matcher.matches?(html), matcher.failure_message
@@ -12,7 +11,10 @@ class MiniTest::Spec
12
11
  # assert_has_no_tag(:h1, :content => "yellow") { "<h1>green</h1>" }
13
12
  # In this case, block is the html to evaluate
14
13
  def assert_has_no_tag(name, attributes = {}, &block)
15
- assert_has_tag(name, attributes.merge(:count => 0), &block)
14
+ html = yield if block_given?
15
+ assert html.html_safe?, 'output in not #html_safe?'
16
+ matcher = HaveSelector.new(name, attributes)
17
+ assert !matcher.matches?(html), matcher.negative_failure_message
16
18
  end
17
19
 
18
20
  # Assert_file_exists('/tmp/app')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1.beta1
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-10-18 00:00:00.000000000 Z
14
+ date: 2016-01-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-support
@@ -19,98 +19,98 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.13.1.beta1
22
+ version: 0.13.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.13.1.beta1
29
+ version: 0.13.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: padrino-core
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.13.1.beta1
36
+ version: 0.13.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.13.1.beta1
43
+ version: 0.13.1
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: padrino-helpers
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.13.1.beta1
50
+ version: 0.13.1
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 0.13.1.beta1
57
+ version: 0.13.1
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: padrino-cache
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - '='
63
63
  - !ruby/object:Gem::Version
64
- version: 0.13.1.beta1
64
+ version: 0.13.1
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - '='
70
70
  - !ruby/object:Gem::Version
71
- version: 0.13.1.beta1
71
+ version: 0.13.1
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: padrino-mailer
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: 0.13.1.beta1
78
+ version: 0.13.1
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 0.13.1.beta1
85
+ version: 0.13.1
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: padrino-gen
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - '='
91
91
  - !ruby/object:Gem::Version
92
- version: 0.13.1.beta1
92
+ version: 0.13.1
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - '='
98
98
  - !ruby/object:Gem::Version
99
- version: 0.13.1.beta1
99
+ version: 0.13.1
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: padrino-admin
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - '='
105
105
  - !ruby/object:Gem::Version
106
- version: 0.13.1.beta1
106
+ version: 0.13.1
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - '='
112
112
  - !ruby/object:Gem::Version
113
- version: 0.13.1.beta1
113
+ version: 0.13.1
114
114
  description: The Godfather of Sinatra provides a full-stack agnostic framework on
115
115
  top of Sinatra
116
116
  email: padrinorb@gmail.com
@@ -119,9 +119,9 @@ extensions: []
119
119
  extra_rdoc_files:
120
120
  - README.rdoc
121
121
  files:
122
- - ".document"
123
- - ".gitignore"
124
- - ".yardopts"
122
+ - .document
123
+ - .gitignore
124
+ - .yardopts
125
125
  - LICENSE.txt
126
126
  - README.rdoc
127
127
  - Rakefile
@@ -137,19 +137,19 @@ licenses:
137
137
  metadata: {}
138
138
  post_install_message:
139
139
  rdoc_options:
140
- - "--charset=UTF-8"
140
+ - --charset=UTF-8
141
141
  require_paths:
142
142
  - lib
143
143
  required_ruby_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - ">="
145
+ - - '>='
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">"
150
+ - - '>='
151
151
  - !ruby/object:Gem::Version
152
- version: 1.3.1
152
+ version: 1.3.6
153
153
  requirements: []
154
154
  rubyforge_project: padrino
155
155
  rubygems_version: 2.4.8