safemode 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +2 -2
- data/VERSION +1 -1
- data/lib/safemode/core_jails.rb +1 -1
- data/safemode.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17583eb75412f52a6f4aa691f05eacb1444914c1
|
|
4
|
+
data.tar.gz: 1fdc4a69be5bd7ba3c8a7d86131880172ddc4bf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37754a69766f504bf4fd9f6de5f78d1c822aaf98931191188964860835731330bd9aea5e387e0141892d96e81f1805556f8d9e20fd08984c138a9ee3cef86b2d
|
|
7
|
+
data.tar.gz: 633222599593f909e1c7ac14a0796113c230a247c73cff83f46bbe5c17a23724b8bb16744cf1d057bcd692d7986248c8a68137d9eb04d9f309ede44da97950a6
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -11,7 +11,7 @@ group :development do
|
|
|
11
11
|
gem "bundler", "~> 1.0"
|
|
12
12
|
gem "jeweler", RUBY_VERSION.start_with?("1.8") ? "~> 1.0" : ">= 0"
|
|
13
13
|
gem "rcov", :platforms => :ruby_18
|
|
14
|
-
gem "simplecov", :platforms => [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24, :jruby]
|
|
15
|
-
gem "test-unit", :platforms => [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24, :jruby]
|
|
14
|
+
gem "simplecov", :platforms => [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24, :ruby_25, :jruby]
|
|
15
|
+
gem "test-unit", :platforms => [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24, :ruby_25, :jruby]
|
|
16
16
|
gem "rake", RUBY_VERSION.start_with?("1.8") ? "< 11" : ">= 0"
|
|
17
17
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.5
|
data/lib/safemode/core_jails.rb
CHANGED
|
@@ -41,7 +41,7 @@ module Safemode
|
|
|
41
41
|
# these methods are allowed in all classes if they are present
|
|
42
42
|
@@default_methods = %w( % & * ** + +@ - -@ / < << <= <=> ! != == === > >= >> ^ | ~
|
|
43
43
|
eql? equal? new methods is_a? kind_of? nil?
|
|
44
|
-
[] []= to_a to_jail to_s inspect to_param not)
|
|
44
|
+
[] []= to_a to_jail to_s inspect to_param not freeze)
|
|
45
45
|
|
|
46
46
|
# whitelisted methods for core classes ... kind of arbitrary selection
|
|
47
47
|
@@methods_whitelist = {
|
data/safemode.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: safemode 1.3.
|
|
5
|
+
# stub: safemode 1.3.5 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "safemode"
|
|
9
|
-
s.version = "1.3.
|
|
9
|
+
s.version = "1.3.5"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|