quickapps_feedback 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quickapps_feedback.rb +2 -3
- data/lib/quickapps_feedback/version.rb +1 -1
- data/quickapps_feedback.gemspec +1 -1
- data/test/app_test.rb +0 -7
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9e0f1811ba11783a305eb83d0e6e098d67bddf2
|
4
|
+
data.tar.gz: 9c526f5c132627a99db72a4805b54950ce560116
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f399072b50218c1d5bc2b119f2e3d04531dad778ea2fa1b75a70821577b77f38f904b7efc20f124be66d8db1b0fd0f6f7ce05022039efcc4103ed303aa9d2c
|
7
|
+
data.tar.gz: 6079ee1e6a136bc99e012ba1df44317b395b16e4e15aa29bb13ca692a298c4ea9509cd1f5e6c0e5152b933ed20d94bf649d3497fdd0632701226a537d5baeb81
|
data/lib/quickapps_feedback.rb
CHANGED
@@ -2,12 +2,11 @@ require 'quickapps_feedback/version'
|
|
2
2
|
require 'quickapps_feedback/feedback'
|
3
3
|
require 'quickapps_feedback/send_feedback_to_uservoice'
|
4
4
|
require 'sinatra/base'
|
5
|
+
require 'sinatra/flash'
|
5
6
|
|
6
7
|
module QuickappsFeedback
|
7
8
|
class App < Sinatra::Base
|
8
|
-
|
9
|
-
request.flash
|
10
|
-
end
|
9
|
+
register Sinatra::Flash
|
11
10
|
|
12
11
|
get '/feedback' do
|
13
12
|
erb :index
|
data/quickapps_feedback.gemspec
CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'sinatra', '~> 1.4'
|
22
22
|
spec.add_dependency 'uservoice-ruby', '~> 0.0.11'
|
23
23
|
spec.add_dependency 'excon', '>= 0.39.0'
|
24
|
+
spec.add_dependency 'sinatra-flash'
|
24
25
|
|
25
26
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
26
|
-
spec.add_development_dependency 'sinatra-flash'
|
27
27
|
spec.add_development_dependency 'rake'
|
28
28
|
spec.add_development_dependency 'rubocop'
|
29
29
|
spec.add_development_dependency 'minitest'
|
data/test/app_test.rb
CHANGED
@@ -2,13 +2,6 @@ require 'minitest/autorun'
|
|
2
2
|
ENV['RACK_ENV'] = 'test'
|
3
3
|
|
4
4
|
require '../lib/quickapps_feedback'
|
5
|
-
require 'sinatra/flash'
|
6
|
-
module QuickappsFeedback
|
7
|
-
class App < Sinatra::Base
|
8
|
-
enable :sessions
|
9
|
-
register Sinatra::Flash
|
10
|
-
end
|
11
|
-
end
|
12
5
|
require 'capybara'
|
13
6
|
require 'capybara/dsl'
|
14
7
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickapps_feedback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Speelman
|
@@ -53,33 +53,33 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.39.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: sinatra-flash
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
62
|
-
type: :
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.6'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.6'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|