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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b34e3f63995b6b27940375acc31b570100070add
4
- data.tar.gz: b47a521e7e53551c2e431676a4ce041f15557f8f
3
+ metadata.gz: e9e0f1811ba11783a305eb83d0e6e098d67bddf2
4
+ data.tar.gz: 9c526f5c132627a99db72a4805b54950ce560116
5
5
  SHA512:
6
- metadata.gz: 5fe6056bd03d98aec44b7fd9a3c0bcdbceed5b7d787607de37fb8cc23ae5683d8c85ea2c0db0449a1398f6e2d045ff472254a663d50e7c8668300925afcd6cdf
7
- data.tar.gz: 1daf796330d1eebdddceb50049c6174f719325976238e5dbbff4abace3744dfcb233aa968d6a697c569aeb56f89a48bd75dbb9b64e5a0c24eceac1cb24e60ef3
6
+ metadata.gz: 31f399072b50218c1d5bc2b119f2e3d04531dad778ea2fa1b75a70821577b77f38f904b7efc20f124be66d8db1b0fd0f6f7ce05022039efcc4103ed303aa9d2c
7
+ data.tar.gz: 6079ee1e6a136bc99e012ba1df44317b395b16e4e15aa29bb13ca692a298c4ea9509cd1f5e6c0e5152b933ed20d94bf649d3497fdd0632701226a537d5baeb81
@@ -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
- def flash
9
- request.flash
10
- end
9
+ register Sinatra::Flash
11
10
 
12
11
  get '/feedback' do
13
12
  erb :index
@@ -1,3 +1,3 @@
1
1
  module QuickappsFeedback
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -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.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: bundler
56
+ name: sinatra-flash
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1.6'
62
- type: :development
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: '1.6'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: sinatra-flash
70
+ name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
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: '0'
82
+ version: '1.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement