angular_xss 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/test.yml +58 -0
  3. data/.rspec +1 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +78 -0
  6. data/Gemfile +1 -0
  7. data/Gemfile.lock +1 -0
  8. data/Gemfile.rails-3.2 +9 -0
  9. data/Gemfile.rails-3.2.lock +91 -0
  10. data/Gemfile.rails-4.2.haml-4 +8 -0
  11. data/Gemfile.rails-4.2.haml-4.lock +88 -0
  12. data/Gemfile.rails-4.2.haml-5 +8 -0
  13. data/Gemfile.rails-4.2.haml-5.lock +90 -0
  14. data/Gemfile.rails-5.1.haml-4 +8 -0
  15. data/Gemfile.rails-5.1.haml-4.lock +85 -0
  16. data/Gemfile.rails-5.1.haml-5 +8 -0
  17. data/Gemfile.rails-5.1.haml-5.lock +87 -0
  18. data/Gemfile.rails-6.1.haml-5 +8 -0
  19. data/Gemfile.rails-6.1.haml-5.lock +90 -0
  20. data/Gemfile.rails-7.0.haml-5 +8 -0
  21. data/Gemfile.rails-7.0.haml-5.lock +86 -0
  22. data/README.md +2 -1
  23. data/Rakefile +3 -66
  24. data/angular_xss.gemspec +1 -0
  25. data/lib/angular_xss/action_view.rb +2 -1
  26. data/lib/angular_xss/erb.rb +2 -1
  27. data/lib/angular_xss/haml.rb +27 -10
  28. data/lib/angular_xss/safe_buffer.rb +31 -6
  29. data/lib/angular_xss/version.rb +1 -1
  30. data/spec/{shared/tests → angular_xss}/erb_spec.rb +1 -1
  31. data/spec/{shared/tests → angular_xss}/haml_spec.rb +1 -1
  32. data/spec/{shared/tests → angular_xss}/safe_buffer_spec.rb +0 -0
  33. data/spec/spec_helper.rb +37 -0
  34. data/spec/{shared/support → support}/engine_preventing_angular_xss.rb +14 -2
  35. data/spec/{shared/app_root/app/views/test → templates}/_test_erb.erb +0 -0
  36. data/spec/{shared/app_root/app/views/test → templates}/_test_haml.haml +5 -3
  37. metadata +82 -205
  38. data/.travis.yml +0 -15
  39. data/spec/rails-2.3/Gemfile +0 -12
  40. data/spec/rails-2.3/Gemfile.lock +0 -62
  41. data/spec/rails-2.3/Rakefile +0 -11
  42. data/spec/rails-2.3/app_root/config/boot.rb +0 -129
  43. data/spec/rails-2.3/app_root/config/database.yml +0 -4
  44. data/spec/rails-2.3/app_root/config/environment.rb +0 -14
  45. data/spec/rails-2.3/app_root/config/environments/test.rb +0 -28
  46. data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -20
  47. data/spec/rails-2.3/app_root/config/routes.rb +0 -4
  48. data/spec/rails-2.3/app_root/lib/console_with_fixtures.rb +0 -4
  49. data/spec/rails-2.3/app_root/log/.gitignore +0 -1
  50. data/spec/rails-2.3/app_root/script/console +0 -7
  51. data/spec/rails-2.3/rcov.opts +0 -2
  52. data/spec/rails-2.3/spec/spec_helper.rb +0 -20
  53. data/spec/rails-2.3/spec.opts +0 -4
  54. data/spec/rails-3.2/.rspec +0 -2
  55. data/spec/rails-3.2/Gemfile +0 -10
  56. data/spec/rails-3.2/Gemfile.lock +0 -129
  57. data/spec/rails-3.2/Rakefile +0 -10
  58. data/spec/rails-3.2/app_root/.gitignore +0 -4
  59. data/spec/rails-3.2/app_root/config/application.rb +0 -32
  60. data/spec/rails-3.2/app_root/config/boot.rb +0 -13
  61. data/spec/rails-3.2/app_root/config/database.yml +0 -4
  62. data/spec/rails-3.2/app_root/config/environment.rb +0 -5
  63. data/spec/rails-3.2/app_root/config/environments/test.rb +0 -35
  64. data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
  65. data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -10
  66. data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -5
  67. data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -7
  68. data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -8
  69. data/spec/rails-3.2/app_root/config/routes.rb +0 -58
  70. data/spec/rails-3.2/app_root/lib/tasks/.gitkeep +0 -0
  71. data/spec/rails-3.2/app_root/log/.gitkeep +0 -0
  72. data/spec/rails-3.2/app_root/script/rails +0 -6
  73. data/spec/rails-3.2/rcov.opts +0 -2
  74. data/spec/rails-3.2/spec/spec_helper.rb +0 -20
  75. data/spec/rails-4.2/.rspec +0 -2
  76. data/spec/rails-4.2/Gemfile +0 -10
  77. data/spec/rails-4.2/Gemfile.lock +0 -157
  78. data/spec/rails-4.2/Rakefile +0 -10
  79. data/spec/rails-4.2/app_root/.gitignore +0 -4
  80. data/spec/rails-4.2/app_root/config/application.rb +0 -34
  81. data/spec/rails-4.2/app_root/config/boot.rb +0 -13
  82. data/spec/rails-4.2/app_root/config/database.yml +0 -4
  83. data/spec/rails-4.2/app_root/config/environment.rb +0 -5
  84. data/spec/rails-4.2/app_root/config/environments/test.rb +0 -35
  85. data/spec/rails-4.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
  86. data/spec/rails-4.2/app_root/config/initializers/inflections.rb +0 -10
  87. data/spec/rails-4.2/app_root/config/initializers/mime_types.rb +0 -5
  88. data/spec/rails-4.2/app_root/config/initializers/secret_token.rb +0 -7
  89. data/spec/rails-4.2/app_root/config/initializers/session_store.rb +0 -8
  90. data/spec/rails-4.2/app_root/config/routes.rb +0 -3
  91. data/spec/rails-4.2/app_root/lib/tasks/.gitkeep +0 -0
  92. data/spec/rails-4.2/app_root/log/.gitkeep +0 -0
  93. data/spec/rails-4.2/app_root/script/rails +0 -6
  94. data/spec/rails-4.2/rcov.opts +0 -2
  95. data/spec/rails-4.2/spec/spec_helper.rb +0 -27
  96. data/spec/shared/app_root/app/controllers/application_controller.rb +0 -2
  97. data/spec/shared/app_root/app/helpers/application_helper.rb +0 -3
  98. data/spec/shared/app_root/app/models/.gitkeep +0 -0
  99. data/spec/shared/app_root/config/database.yml +0 -4
  100. data/spec/shared/app_root/db/migrate/.gitkeep +0 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: eb1a0c1e8ae803433d1bd66dcde3646143295fd909faed0000e4c901d06c2b2c
4
+ data.tar.gz: 2a712de0b5d20e9bbdc6eba1a361ba5ab7d8b3a817df18ec16ed3f9c5f505e7f
5
+ SHA512:
6
+ metadata.gz: d802e1bb79a3dc3ff5a7b51ee4ec11303a28c68920d6f4f456145360376672f67a16ff55de9761f1ae88e1a86a350296ebb8b02b684ed83ac0a355b75fa0961b
7
+ data.tar.gz: 974517dfd01363d23bec8c776e4198da2e510eea042396c59de17e9d1872e075d4a8ba06d10e73099f018e1c0ca4501cbbc7c9524d49dd277fe396c4ee6a034e
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: Tests
3
+ 'on':
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+ jobs:
11
+ test:
12
+ runs-on: ubuntu-20.04
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ include:
17
+ - ruby: 2.5.9
18
+ gemfile: Gemfile.rails-3.2
19
+ - ruby: 2.5.9
20
+ gemfile: Gemfile.rails-4.2.haml-4
21
+ - ruby: 2.5.9
22
+ gemfile: Gemfile.rails-4.2.haml-5
23
+ - ruby: 2.5.9
24
+ gemfile: Gemfile.rails-5.1.haml-4
25
+ - ruby: 2.5.9
26
+ gemfile: Gemfile.rails-5.1.haml-5
27
+
28
+ - ruby: 2.7.2
29
+ gemfile: Gemfile.rails-5.1.haml-4
30
+ - ruby: 2.7.2
31
+ gemfile: Gemfile.rails-5.1.haml-5
32
+ - ruby: 2.7.2
33
+ gemfile: Gemfile.rails-6.1.haml-5
34
+ - ruby: 2.7.2
35
+ gemfile: Gemfile.rails-7.0.haml-5
36
+
37
+ - ruby: 3.0.1
38
+ gemfile: Gemfile.rails-5.1.haml-4
39
+ - ruby: 3.0.1
40
+ gemfile: Gemfile.rails-5.1.haml-5
41
+ - ruby: 3.0.1
42
+ gemfile: Gemfile.rails-6.1.haml-5
43
+ - ruby: 3.0.1
44
+ gemfile: Gemfile.rails-7.0.haml-5
45
+ env:
46
+ BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
47
+ steps:
48
+ - uses: actions/checkout@v2
49
+ - name: Install ruby
50
+ uses: ruby/setup-ruby@v1
51
+ with:
52
+ ruby-version: "${{ matrix.ruby }}"
53
+ - name: Bundle
54
+ run: |
55
+ gem install bundler:2.1.4
56
+ bundle install --no-deployment
57
+ - name: Run tests
58
+ run: bundle exec rspec
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.2
data/CHANGELOG.md ADDED
@@ -0,0 +1,78 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
+
6
+ ## Unreleased
7
+
8
+ ### Compatible changes
9
+
10
+ ### Breaking changes
11
+
12
+
13
+ ## 0.4.1 2022-03-16
14
+
15
+ ### Compatible changes
16
+
17
+ - Add compatibility with Rails 7
18
+ - Require MFA for RubyGems
19
+
20
+ ## 0.4.0 2021-08-23
21
+
22
+ ### Compatible changes
23
+
24
+ - Add compatibility with Rails 6
25
+ - Add compatibility with Haml > 5.2
26
+ - Add compatibility with Ruby 2.7 and Ruby 3
27
+
28
+ ## 0.3.1 2017-11-21
29
+
30
+ ### Compatible Changes
31
+
32
+ - Add compatibility with Rails 5
33
+ - Add compatibility with Haml 5
34
+
35
+ ## 0.3.0 2017-07-31
36
+
37
+ ### Breaking changes
38
+
39
+ - Changed the way Angular XSS escapes double braces from ` { { ` to
40
+ `{{ $root.DOUBLE_LEFT_CURLY_BRACE }}`. This requires a change in the
41
+ application code. Check the [README](https://github.com/makandra/angular_xss/blob/master/README.md#installation)
42
+ for details.
43
+
44
+ ## 0.2.3 2015-04-17
45
+
46
+ ### Compatible changes
47
+
48
+ - Fix a bug where an unexpected nil value would cause problems
49
+
50
+ ## 0.2.2 2015-04-17
51
+
52
+ ### Compatible changes
53
+
54
+ - Support Rails 4.2
55
+
56
+ ## 0.2.1 2015-04-13
57
+
58
+ ### Compatible changes
59
+
60
+ - Fix escaping of precompiled attributes in Haml templates
61
+
62
+ ## 0.2.0 2015-04-13
63
+
64
+ ### Compatible changes
65
+
66
+ - Add option to disable escaping temporarily via `AngularXss.disable do ... end`
67
+
68
+ ## 0.1.1 2014-01-04
69
+
70
+ ### Compatible changes
71
+
72
+ - Require Haml >= 3.1.5 (lower Hamls don't escape element attribute values)
73
+
74
+ ## 0.1.0 2014-01-03
75
+
76
+ ### Compatible changes
77
+
78
+ - First version.
data/Gemfile ADDED
@@ -0,0 +1 @@
1
+ Gemfile.rails-5.1.haml-5
data/Gemfile.lock ADDED
@@ -0,0 +1 @@
1
+ Gemfile.rails-5.1.haml-5.lock
data/Gemfile.rails-3.2 ADDED
@@ -0,0 +1,9 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'railties', '~>3.2'
4
+ gem 'actionpack', '~>3.2'
5
+ gem 'rspec'
6
+ gem 'haml', '=4.0.2'
7
+ gem 'angular_xss', :path => '.'
8
+ gem 'gemika'
9
+ gem 'rake'
@@ -0,0 +1,91 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ angular_xss (0.4.1)
5
+ activesupport
6
+ haml (>= 3.1.5)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionpack (3.2.22.5)
12
+ activemodel (= 3.2.22.5)
13
+ activesupport (= 3.2.22.5)
14
+ builder (~> 3.0.0)
15
+ erubis (~> 2.7.0)
16
+ journey (~> 1.0.4)
17
+ rack (~> 1.4.5)
18
+ rack-cache (~> 1.2)
19
+ rack-test (~> 0.6.1)
20
+ sprockets (~> 2.2.1)
21
+ activemodel (3.2.22.5)
22
+ activesupport (= 3.2.22.5)
23
+ builder (~> 3.0.0)
24
+ activesupport (3.2.22.5)
25
+ i18n (~> 0.6, >= 0.6.4)
26
+ multi_json (~> 1.0)
27
+ builder (3.0.4)
28
+ concurrent-ruby (1.0.5)
29
+ diff-lcs (1.3)
30
+ erubis (2.7.0)
31
+ gemika (0.6.1)
32
+ haml (4.0.2)
33
+ tilt
34
+ hike (1.2.3)
35
+ i18n (0.9.1)
36
+ concurrent-ruby (~> 1.0)
37
+ journey (1.0.4)
38
+ json (1.8.6)
39
+ multi_json (1.12.2)
40
+ rack (1.4.7)
41
+ rack-cache (1.7.1)
42
+ rack (>= 0.4)
43
+ rack-ssl (1.3.4)
44
+ rack
45
+ rack-test (0.6.3)
46
+ rack (>= 1.0)
47
+ railties (3.2.22.5)
48
+ actionpack (= 3.2.22.5)
49
+ activesupport (= 3.2.22.5)
50
+ rack-ssl (~> 1.3.2)
51
+ rake (>= 0.8.7)
52
+ rdoc (~> 3.4)
53
+ thor (>= 0.14.6, < 2.0)
54
+ rake (12.3.0)
55
+ rdoc (3.12.2)
56
+ json (~> 1.4)
57
+ rspec (3.7.0)
58
+ rspec-core (~> 3.7.0)
59
+ rspec-expectations (~> 3.7.0)
60
+ rspec-mocks (~> 3.7.0)
61
+ rspec-core (3.7.0)
62
+ rspec-support (~> 3.7.0)
63
+ rspec-expectations (3.7.0)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.7.0)
66
+ rspec-mocks (3.7.0)
67
+ diff-lcs (>= 1.2.0, < 2.0)
68
+ rspec-support (~> 3.7.0)
69
+ rspec-support (3.7.0)
70
+ sprockets (2.2.3)
71
+ hike (~> 1.2)
72
+ multi_json (~> 1.0)
73
+ rack (~> 1.0)
74
+ tilt (~> 1.1, != 1.3.0)
75
+ thor (0.20.0)
76
+ tilt (1.4.1)
77
+
78
+ PLATFORMS
79
+ ruby
80
+
81
+ DEPENDENCIES
82
+ actionpack (~> 3.2)
83
+ angular_xss!
84
+ gemika
85
+ haml (= 4.0.2)
86
+ railties (~> 3.2)
87
+ rake
88
+ rspec
89
+
90
+ BUNDLED WITH
91
+ 1.17.3
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'actionpack', '~>4.2'
4
+ gem 'rspec'
5
+ gem 'haml', '<5'
6
+ gem 'angular_xss', :path => '.'
7
+ gem 'gemika'
8
+ gem 'rake'
@@ -0,0 +1,88 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ angular_xss (0.4.1)
5
+ activesupport
6
+ haml (>= 3.1.5)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionpack (4.2.10)
12
+ actionview (= 4.2.10)
13
+ activesupport (= 4.2.10)
14
+ rack (~> 1.6)
15
+ rack-test (~> 0.6.2)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (4.2.10)
19
+ activesupport (= 4.2.10)
20
+ builder (~> 3.1)
21
+ erubis (~> 2.7.0)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activesupport (4.2.10)
25
+ i18n (~> 0.7)
26
+ minitest (~> 5.1)
27
+ thread_safe (~> 0.3, >= 0.3.4)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.3)
30
+ concurrent-ruby (1.0.5)
31
+ crass (1.0.3)
32
+ diff-lcs (1.3)
33
+ erubis (2.7.0)
34
+ gemika (0.6.1)
35
+ haml (4.0.7)
36
+ tilt
37
+ i18n (0.9.1)
38
+ concurrent-ruby (~> 1.0)
39
+ loofah (2.1.1)
40
+ crass (~> 1.0.2)
41
+ nokogiri (>= 1.5.9)
42
+ mini_portile2 (2.3.0)
43
+ minitest (5.10.3)
44
+ nokogiri (1.8.1)
45
+ mini_portile2 (~> 2.3.0)
46
+ rack (1.6.8)
47
+ rack-test (0.6.3)
48
+ rack (>= 1.0)
49
+ rails-deprecated_sanitizer (1.0.3)
50
+ activesupport (>= 4.2.0.alpha)
51
+ rails-dom-testing (1.0.8)
52
+ activesupport (>= 4.2.0.beta, < 5.0)
53
+ nokogiri (~> 1.6)
54
+ rails-deprecated_sanitizer (>= 1.0.1)
55
+ rails-html-sanitizer (1.0.3)
56
+ loofah (~> 2.0)
57
+ rake (12.3.0)
58
+ rspec (3.7.0)
59
+ rspec-core (~> 3.7.0)
60
+ rspec-expectations (~> 3.7.0)
61
+ rspec-mocks (~> 3.7.0)
62
+ rspec-core (3.7.0)
63
+ rspec-support (~> 3.7.0)
64
+ rspec-expectations (3.7.0)
65
+ diff-lcs (>= 1.2.0, < 2.0)
66
+ rspec-support (~> 3.7.0)
67
+ rspec-mocks (3.7.0)
68
+ diff-lcs (>= 1.2.0, < 2.0)
69
+ rspec-support (~> 3.7.0)
70
+ rspec-support (3.7.0)
71
+ thread_safe (0.3.6)
72
+ tilt (2.0.8)
73
+ tzinfo (1.2.4)
74
+ thread_safe (~> 0.1)
75
+
76
+ PLATFORMS
77
+ ruby
78
+
79
+ DEPENDENCIES
80
+ actionpack (~> 4.2)
81
+ angular_xss!
82
+ gemika
83
+ haml (< 5)
84
+ rake
85
+ rspec
86
+
87
+ BUNDLED WITH
88
+ 1.17.3
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'actionpack', '~>4.2'
4
+ gem 'rspec'
5
+ gem 'haml', '~> 5'
6
+ gem 'angular_xss', :path => '.'
7
+ gem 'gemika'
8
+ gem 'rake'
@@ -0,0 +1,90 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ angular_xss (0.4.1)
5
+ activesupport
6
+ haml (>= 3.1.5)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionpack (4.2.10)
12
+ actionview (= 4.2.10)
13
+ activesupport (= 4.2.10)
14
+ rack (~> 1.6)
15
+ rack-test (~> 0.6.2)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (4.2.10)
19
+ activesupport (= 4.2.10)
20
+ builder (~> 3.1)
21
+ erubis (~> 2.7.0)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activesupport (4.2.10)
25
+ i18n (~> 0.7)
26
+ minitest (~> 5.1)
27
+ thread_safe (~> 0.3, >= 0.3.4)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.3)
30
+ concurrent-ruby (1.0.5)
31
+ crass (1.0.3)
32
+ diff-lcs (1.3)
33
+ erubis (2.7.0)
34
+ gemika (0.6.1)
35
+ haml (5.0.4)
36
+ temple (>= 0.8.0)
37
+ tilt
38
+ i18n (0.9.1)
39
+ concurrent-ruby (~> 1.0)
40
+ loofah (2.1.1)
41
+ crass (~> 1.0.2)
42
+ nokogiri (>= 1.5.9)
43
+ mini_portile2 (2.3.0)
44
+ minitest (5.10.3)
45
+ nokogiri (1.8.1)
46
+ mini_portile2 (~> 2.3.0)
47
+ rack (1.6.8)
48
+ rack-test (0.6.3)
49
+ rack (>= 1.0)
50
+ rails-deprecated_sanitizer (1.0.3)
51
+ activesupport (>= 4.2.0.alpha)
52
+ rails-dom-testing (1.0.8)
53
+ activesupport (>= 4.2.0.beta, < 5.0)
54
+ nokogiri (~> 1.6)
55
+ rails-deprecated_sanitizer (>= 1.0.1)
56
+ rails-html-sanitizer (1.0.3)
57
+ loofah (~> 2.0)
58
+ rake (12.3.0)
59
+ rspec (3.7.0)
60
+ rspec-core (~> 3.7.0)
61
+ rspec-expectations (~> 3.7.0)
62
+ rspec-mocks (~> 3.7.0)
63
+ rspec-core (3.7.0)
64
+ rspec-support (~> 3.7.0)
65
+ rspec-expectations (3.7.0)
66
+ diff-lcs (>= 1.2.0, < 2.0)
67
+ rspec-support (~> 3.7.0)
68
+ rspec-mocks (3.7.0)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.7.0)
71
+ rspec-support (3.7.0)
72
+ temple (0.8.0)
73
+ thread_safe (0.3.6)
74
+ tilt (2.0.8)
75
+ tzinfo (1.2.4)
76
+ thread_safe (~> 0.1)
77
+
78
+ PLATFORMS
79
+ ruby
80
+
81
+ DEPENDENCIES
82
+ actionpack (~> 4.2)
83
+ angular_xss!
84
+ gemika
85
+ haml (~> 5)
86
+ rake
87
+ rspec
88
+
89
+ BUNDLED WITH
90
+ 1.17.3
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'actionpack', '~>5.1'
4
+ gem 'rspec'
5
+ gem 'haml', '< 5'
6
+ gem 'angular_xss', :path => '.'
7
+ gem 'gemika'
8
+ gem 'rake'
@@ -0,0 +1,85 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ angular_xss (0.4.1)
5
+ activesupport
6
+ haml (>= 3.1.5)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionpack (5.1.4)
12
+ actionview (= 5.1.4)
13
+ activesupport (= 5.1.4)
14
+ rack (~> 2.0)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (5.1.4)
19
+ activesupport (= 5.1.4)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activesupport (5.1.4)
25
+ concurrent-ruby (~> 1.0, >= 1.0.2)
26
+ i18n (~> 0.7)
27
+ minitest (~> 5.1)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.3)
30
+ concurrent-ruby (1.0.5)
31
+ crass (1.0.3)
32
+ diff-lcs (1.3)
33
+ erubi (1.7.0)
34
+ gemika (0.6.1)
35
+ haml (4.0.7)
36
+ tilt
37
+ i18n (0.9.1)
38
+ concurrent-ruby (~> 1.0)
39
+ loofah (2.1.1)
40
+ crass (~> 1.0.2)
41
+ nokogiri (>= 1.5.9)
42
+ mini_portile2 (2.3.0)
43
+ minitest (5.10.3)
44
+ nokogiri (1.8.1)
45
+ mini_portile2 (~> 2.3.0)
46
+ rack (2.0.3)
47
+ rack-test (0.8.2)
48
+ rack (>= 1.0, < 3)
49
+ rails-dom-testing (2.0.3)
50
+ activesupport (>= 4.2.0)
51
+ nokogiri (>= 1.6)
52
+ rails-html-sanitizer (1.0.3)
53
+ loofah (~> 2.0)
54
+ rake (12.3.0)
55
+ rspec (3.10.0)
56
+ rspec-core (~> 3.10.0)
57
+ rspec-expectations (~> 3.10.0)
58
+ rspec-mocks (~> 3.10.0)
59
+ rspec-core (3.10.1)
60
+ rspec-support (~> 3.10.0)
61
+ rspec-expectations (3.10.1)
62
+ diff-lcs (>= 1.2.0, < 2.0)
63
+ rspec-support (~> 3.10.0)
64
+ rspec-mocks (3.10.2)
65
+ diff-lcs (>= 1.2.0, < 2.0)
66
+ rspec-support (~> 3.10.0)
67
+ rspec-support (3.10.2)
68
+ thread_safe (0.3.6)
69
+ tilt (2.0.8)
70
+ tzinfo (1.2.4)
71
+ thread_safe (~> 0.1)
72
+
73
+ PLATFORMS
74
+ ruby
75
+
76
+ DEPENDENCIES
77
+ actionpack (~> 5.1)
78
+ angular_xss!
79
+ gemika
80
+ haml (< 5)
81
+ rake
82
+ rspec
83
+
84
+ BUNDLED WITH
85
+ 2.2.20
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'actionpack', '~>5.1'
4
+ gem 'rspec'
5
+ gem 'haml', '~> 5'
6
+ gem 'angular_xss', :path => '.'
7
+ gem 'gemika'
8
+ gem 'rake'
@@ -0,0 +1,87 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ angular_xss (0.4.1)
5
+ activesupport
6
+ haml (>= 3.1.5)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionpack (5.1.4)
12
+ actionview (= 5.1.4)
13
+ activesupport (= 5.1.4)
14
+ rack (~> 2.0)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (5.1.4)
19
+ activesupport (= 5.1.4)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activesupport (5.1.4)
25
+ concurrent-ruby (~> 1.0, >= 1.0.2)
26
+ i18n (~> 0.7)
27
+ minitest (~> 5.1)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.3)
30
+ concurrent-ruby (1.0.5)
31
+ crass (1.0.3)
32
+ diff-lcs (1.3)
33
+ erubi (1.7.0)
34
+ gemika (0.6.1)
35
+ haml (5.0.4)
36
+ temple (>= 0.8.0)
37
+ tilt
38
+ i18n (0.9.1)
39
+ concurrent-ruby (~> 1.0)
40
+ loofah (2.1.1)
41
+ crass (~> 1.0.2)
42
+ nokogiri (>= 1.5.9)
43
+ mini_portile2 (2.3.0)
44
+ minitest (5.10.3)
45
+ nokogiri (1.8.1)
46
+ mini_portile2 (~> 2.3.0)
47
+ rack (2.0.3)
48
+ rack-test (0.8.2)
49
+ rack (>= 1.0, < 3)
50
+ rails-dom-testing (2.0.3)
51
+ activesupport (>= 4.2.0)
52
+ nokogiri (>= 1.6)
53
+ rails-html-sanitizer (1.0.3)
54
+ loofah (~> 2.0)
55
+ rake (12.3.0)
56
+ rspec (3.10.0)
57
+ rspec-core (~> 3.10.0)
58
+ rspec-expectations (~> 3.10.0)
59
+ rspec-mocks (~> 3.10.0)
60
+ rspec-core (3.10.1)
61
+ rspec-support (~> 3.10.0)
62
+ rspec-expectations (3.10.1)
63
+ diff-lcs (>= 1.2.0, < 2.0)
64
+ rspec-support (~> 3.10.0)
65
+ rspec-mocks (3.10.2)
66
+ diff-lcs (>= 1.2.0, < 2.0)
67
+ rspec-support (~> 3.10.0)
68
+ rspec-support (3.10.2)
69
+ temple (0.8.0)
70
+ thread_safe (0.3.6)
71
+ tilt (2.0.8)
72
+ tzinfo (1.2.4)
73
+ thread_safe (~> 0.1)
74
+
75
+ PLATFORMS
76
+ ruby
77
+
78
+ DEPENDENCIES
79
+ actionpack (~> 5.1)
80
+ angular_xss!
81
+ gemika
82
+ haml (~> 5)
83
+ rake
84
+ rspec
85
+
86
+ BUNDLED WITH
87
+ 2.2.20
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'actionpack', '~>6.1'
4
+ gem 'rspec'
5
+ gem 'haml', '~> 5'
6
+ gem 'angular_xss', :path => '.'
7
+ gem 'gemika'
8
+ gem 'rake'