rails_xss 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,6 +11,12 @@ begin
11
11
  gem.homepage = "http://github.com/joloudov/rails_xss"
12
12
  gem.authors = ["joloudov"]
13
13
  gem.add_development_dependency "erubis", ">= 2.6.5"
14
+ gem.files = [
15
+ '[A-Z]*',
16
+ '*.rb',
17
+ 'lib/*.rb',
18
+ 'lib/**/*.rake',
19
+ ]
14
20
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
21
  end
16
22
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/init.rb ADDED
@@ -0,0 +1,7 @@
1
+ unless $gems_rake_task
2
+ if Rails.version <= "2.3.7"
3
+ $stderr.puts "rails_xss requires Rails 2.3.8 or later. Please upgrade to enable automatic HTML safety."
4
+ else
5
+ require 'rails_xss'
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :rails_xss do
3
+ # # Task goes here
4
+ # end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - joloudov
@@ -41,15 +41,13 @@ extra_rdoc_files:
41
41
  - LICENSE
42
42
  - README.rdoc
43
43
  files:
44
- - .document
45
- - .gitignore
46
44
  - LICENSE
47
45
  - README.rdoc
48
46
  - Rakefile
49
47
  - VERSION
48
+ - init.rb
50
49
  - lib/rails_xss.rb
51
- - test/helper.rb
52
- - test/test_rails_xss.rb
50
+ - lib/tasks/rails_xss_tasks.rake
53
51
  has_rdoc: true
54
52
  homepage: http://github.com/joloudov/rails_xss
55
53
  licenses: []
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC