forked from leonid-shevtsov/unobtrusive_flash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunobtrusive_flash.gemspec
36 lines (32 loc) · 1.51 KB
/
unobtrusive_flash.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'unobtrusive_flash/version'
Gem::Specification.new do |spec|
spec.name = "unobtrusive_flash"
spec.version = UnobtrusiveFlash::VERSION
spec.authors = ["Leonid Shevtsov"]
spec.email = ["leonid@shevtsov.me"]
spec.summary = "Unobtrusive flash messages for Rails"
spec.description = <<EOT
unobtrusive_flash takes your flash messages for the backend and automagically passes them to the frontend via HTTP cookies.
This works with both regular page loads and AJAX requests, does not tamper with the page body and requires about 3 extra
lines of code in your app - how's that for unobtrusive?
EOT
spec.homepage = "https://github.com/leonid-shevtsov/unobtrusive_flash"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "railties"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", '~>2.99.0'
spec.add_development_dependency "rspec-mocks", '~>2.99.2'
spec.add_development_dependency "appraisal"
spec.add_development_dependency "capybara", '>=2.3'
# for local tests
spec.add_development_dependency 'selenium-webdriver'
# for Travis CI
spec.add_development_dependency 'poltergeist'
end