curly-templates 3.0.0 → 3.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edc9f2e7c8244a74ce43a4305cd33a8328f3e85b2a6d9a43c5a39b34470c6597
4
- data.tar.gz: 71e670e239dd23b5794f375c7e597fc4675d6a6eb86f3542a270b982ef92b09a
3
+ metadata.gz: c66a7386e2cf94f19a47f42cf45921da5d6f1718d6ce96c1b8c827fec94adc2d
4
+ data.tar.gz: 228a56a02717629dcf4e1ed02aebc52d6c173130a8c1fe4b04ed593659fc3f07
5
5
  SHA512:
6
- metadata.gz: c1d2a5e354bf7974309e9531e7b0bdbab02f267c77cf80d92c58313e699b011cc00a3cf7a33634f985e3de7d24b9362f0a897efe7a41d27107f0f46575010dc3
7
- data.tar.gz: c4796fb050c613eb9133a4dee0dd15fe94726392feb23add6970beab1299486c5625f0e22b1bb33ae6c484ea71ed9fff317e5731283b8eced4bb7f426e2c4d89
6
+ metadata.gz: fc9d9de77feaaa8955c8a0afcaed37e7c33cc9f2791ef4b9d5e61a087705ecd7700374f8675939fee87a3f00fbebce486d5f4fec8898f38a0aac8867a4e4fc63
7
+ data.tar.gz: 6f9a8420265bf7ff3601a4a573d7eac0b48b18635e8ebf9930307e868e0512448f18f167e526138c2bde89c4706a2a046f03fca209e3c652822d66b6d7dfcd52
@@ -4,24 +4,55 @@ on: push
4
4
 
5
5
  jobs:
6
6
  specs:
7
+ name: Ruby ${{ matrix.ruby }} using ${{ matrix.gemfile }}
7
8
  runs-on: ubuntu-latest
9
+ env:
10
+ BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
8
11
  strategy:
9
12
  fail-fast: false
10
13
  matrix:
14
+ ruby:
15
+ - '2.6'
16
+ - '2.7'
17
+ - '3.0'
18
+ - '3.1'
11
19
  gemfile:
12
20
  - rails4.2
13
21
  - rails5.1
14
22
  - rails5.2
15
23
  - rails6.0
16
24
  - rails6.1
17
- env:
18
- BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
25
+ - rails7.0
26
+ exclude:
27
+ - {ruby: '2.6', gemfile: rails7.0}
28
+ - {ruby: '2.7', gemfile: rails4.2}
29
+ - {ruby: '3.0', gemfile: rails4.2}
30
+ - {ruby: '3.0', gemfile: rails5.1}
31
+ - {ruby: '3.0', gemfile: rails5.2}
32
+ - {ruby: '3.0', gemfile: rails6.0}
33
+ - {ruby: '3.1', gemfile: rails4.2}
34
+ - {ruby: '3.1', gemfile: rails5.1}
35
+ - {ruby: '3.1', gemfile: rails5.2}
36
+ - {ruby: '3.1', gemfile: rails6.0}
19
37
  steps:
20
- - uses: zendesk/checkout@v2
21
- - name: Set up Ruby
22
- uses: zendesk/setup-ruby@v1
38
+ - uses: zendesk/checkout@v3
39
+ - uses: zendesk/setup-ruby@v1
23
40
  with:
24
- ruby-version: 2.6
41
+ ruby-version: ${{ matrix.ruby }}
25
42
  bundler-cache: true
26
- - run: bundle install
27
43
  - run: bundle exec rspec
44
+
45
+ specs_successful:
46
+ name: Specs passing?
47
+ needs: specs
48
+ if: always()
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - run: |
52
+ if ${{ needs.specs.result == 'success' }}
53
+ then
54
+ echo "All specs pass"
55
+ else
56
+ echo "Some specs failed"
57
+ false
58
+ fi
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ### Unreleased
2
2
 
3
+ ### Curly 3.1.0 (November, 21, 2022)
4
+
5
+ * Add support for Ruby 3.0 & 3.1
6
+ * Add support for Rails 7.0
7
+
3
8
  ### Curly 3.0.0 (January 19, 2021)
4
9
 
5
10
  * Add support for Rails 6.0 and 6.1.
@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.rdoc_options = ["--charset=UTF-8"]
22
22
 
23
- s.add_dependency("actionpack", [">= 4.2", "< 6.2"])
23
+ s.add_dependency("actionpack", [">= 4.2", "< 7.1"])
24
+ s.add_dependency("sorted_set")
24
25
 
25
- s.add_development_dependency("railties", [">= 4.2", "< 6.2"])
26
+ s.add_development_dependency("railties", [">= 4.2", "< 7.1"])
26
27
  s.add_development_dependency("rake")
27
28
  s.add_development_dependency("rspec", ">= 3")
28
- s.add_development_dependency("rspec_junit_formatter")
29
29
 
30
30
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(perf|spec)/}) }
31
31
  s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- curly-templates (3.0.0)
5
- actionpack (>= 4.2, < 6.2)
4
+ curly-templates (3.1.0)
5
+ actionpack (>= 4.2, < 7.1)
6
+ sorted_set
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -42,32 +43,36 @@ GEM
42
43
  thread_safe (~> 0.3, >= 0.3.4)
43
44
  tzinfo (~> 1.1)
44
45
  arel (6.0.4)
45
- benchmark-ips (2.8.4)
46
+ benchmark-ips (2.10.0)
46
47
  builder (3.2.4)
47
- concurrent-ruby (1.1.7)
48
+ concurrent-ruby (1.1.10)
48
49
  crass (1.0.6)
49
- diff-lcs (1.4.4)
50
+ diff-lcs (1.5.0)
50
51
  erubis (2.7.0)
51
52
  genspec (0.3.2)
52
53
  rspec (>= 2, < 4)
53
54
  thor
54
- github-markup (3.0.5)
55
+ github-markup (4.0.1)
55
56
  globalid (0.4.2)
56
57
  activesupport (>= 4.2.0)
57
58
  i18n (0.9.5)
58
59
  concurrent-ruby (~> 1.0)
59
- loofah (2.9.0)
60
+ loofah (2.19.0)
60
61
  crass (~> 1.0.2)
61
62
  nokogiri (>= 1.5.9)
62
63
  mail (2.7.1)
63
64
  mini_mime (>= 0.1.1)
64
- mini_mime (1.0.2)
65
- mini_portile2 (2.5.0)
66
- minitest (5.14.3)
67
- nokogiri (1.11.1)
68
- mini_portile2 (~> 2.5.0)
65
+ mini_mime (1.1.2)
66
+ mini_portile2 (2.8.0)
67
+ minitest (5.16.3)
68
+ nokogiri (1.13.9)
69
+ mini_portile2 (~> 2.8.0)
69
70
  racc (~> 1.4)
70
- racc (1.5.2)
71
+ nokogiri (1.13.9-x86_64-darwin)
72
+ racc (~> 1.4)
73
+ nokogiri (1.13.9-x86_64-linux)
74
+ racc (~> 1.4)
75
+ racc (1.6.0)
71
76
  rack (1.6.13)
72
77
  rack-test (0.6.3)
73
78
  rack (>= 1.0)
@@ -82,34 +87,35 @@ GEM
82
87
  bundler (>= 1.3.0, < 2.0)
83
88
  railties (= 4.2.11.3)
84
89
  sprockets-rails
85
- rails-deprecated_sanitizer (1.0.3)
90
+ rails-deprecated_sanitizer (1.0.4)
86
91
  activesupport (>= 4.2.0.alpha)
87
92
  rails-dom-testing (1.0.9)
88
93
  activesupport (>= 4.2.0, < 5.0)
89
94
  nokogiri (~> 1.6)
90
95
  rails-deprecated_sanitizer (>= 1.0.1)
91
- rails-html-sanitizer (1.3.0)
96
+ rails-html-sanitizer (1.4.3)
92
97
  loofah (~> 2.3)
93
98
  railties (4.2.11.3)
94
99
  actionpack (= 4.2.11.3)
95
100
  activesupport (= 4.2.11.3)
96
101
  rake (>= 0.8.7)
97
102
  thor (>= 0.18.1, < 2.0)
98
- rake (13.0.3)
103
+ rake (13.0.6)
104
+ rbtree (0.4.5)
99
105
  redcarpet (3.5.1)
100
- rspec (3.10.0)
101
- rspec-core (~> 3.10.0)
102
- rspec-expectations (~> 3.10.0)
103
- rspec-mocks (~> 3.10.0)
104
- rspec-core (3.10.1)
105
- rspec-support (~> 3.10.0)
106
- rspec-expectations (3.10.1)
106
+ rspec (3.12.0)
107
+ rspec-core (~> 3.12.0)
108
+ rspec-expectations (~> 3.12.0)
109
+ rspec-mocks (~> 3.12.0)
110
+ rspec-core (3.12.0)
111
+ rspec-support (~> 3.12.0)
112
+ rspec-expectations (3.12.0)
107
113
  diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.10.0)
109
- rspec-mocks (3.10.1)
114
+ rspec-support (~> 3.12.0)
115
+ rspec-mocks (3.12.0)
110
116
  diff-lcs (>= 1.2.0, < 2.0)
111
- rspec-support (~> 3.10.0)
112
- rspec-rails (4.0.2)
117
+ rspec-support (~> 3.12.0)
118
+ rspec-rails (4.1.2)
113
119
  actionpack (>= 4.2)
114
120
  activesupport (>= 4.2)
115
121
  railties (>= 4.2)
@@ -117,29 +123,35 @@ GEM
117
123
  rspec-expectations (~> 3.10)
118
124
  rspec-mocks (~> 3.10)
119
125
  rspec-support (~> 3.10)
120
- rspec-support (3.10.1)
121
- rspec_junit_formatter (0.4.1)
122
- rspec-core (>= 2, < 4, != 2.12.0)
123
- sprockets (4.0.2)
126
+ rspec-support (3.12.0)
127
+ set (1.0.3)
128
+ sorted_set (1.0.3)
129
+ rbtree
130
+ set (~> 1.0)
131
+ sprockets (4.1.1)
124
132
  concurrent-ruby (~> 1.0)
125
133
  rack (> 1, < 3)
126
134
  sprockets-rails (3.2.2)
127
135
  actionpack (>= 4.0)
128
136
  activesupport (>= 4.0)
129
137
  sprockets (>= 3.0.0)
130
- stackprof (0.2.16)
131
- thor (1.0.1)
138
+ stackprof (0.2.22)
139
+ thor (1.2.1)
132
140
  thread_safe (0.3.6)
133
141
  tomparse (0.4.2)
134
- tzinfo (1.2.9)
142
+ tzinfo (1.2.10)
135
143
  thread_safe (~> 0.1)
136
- yard (0.9.26)
144
+ webrick (1.7.0)
145
+ yard (0.9.28)
146
+ webrick (~> 1.7.0)
137
147
  yard-tomdoc (0.7.1)
138
148
  tomparse (>= 0.4.0)
139
149
  yard
140
150
 
141
151
  PLATFORMS
142
152
  ruby
153
+ x86_64-darwin
154
+ x86_64-linux
143
155
 
144
156
  DEPENDENCIES
145
157
  benchmark-ips
@@ -147,12 +159,11 @@ DEPENDENCIES
147
159
  genspec (>= 0.3.0)
148
160
  github-markup
149
161
  rails (~> 4.2.0)
150
- railties (>= 4.2, < 6.2)
162
+ railties (>= 4.2, < 7.1)
151
163
  rake
152
164
  redcarpet
153
165
  rspec (>= 3)
154
166
  rspec-rails
155
- rspec_junit_formatter
156
167
  stackprof
157
168
  yard
158
169
  yard-tomdoc
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- curly-templates (3.0.0)
5
- actionpack (>= 4.2, < 6.2)
4
+ curly-templates (3.1.0)
5
+ actionpack (>= 4.2, < 7.1)
6
+ sorted_set
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -45,37 +46,41 @@ GEM
45
46
  minitest (~> 5.1)
46
47
  tzinfo (~> 1.1)
47
48
  arel (8.0.0)
48
- benchmark-ips (2.8.4)
49
+ benchmark-ips (2.10.0)
49
50
  builder (3.2.4)
50
- concurrent-ruby (1.1.7)
51
+ concurrent-ruby (1.1.10)
51
52
  crass (1.0.6)
52
- diff-lcs (1.4.4)
53
- erubi (1.10.0)
53
+ diff-lcs (1.5.0)
54
+ erubi (1.11.0)
54
55
  genspec (0.3.2)
55
56
  rspec (>= 2, < 4)
56
57
  thor
57
- github-markup (3.0.5)
58
- globalid (0.4.2)
59
- activesupport (>= 4.2.0)
60
- i18n (1.8.7)
58
+ github-markup (4.0.1)
59
+ globalid (1.0.0)
60
+ activesupport (>= 5.0)
61
+ i18n (1.12.0)
61
62
  concurrent-ruby (~> 1.0)
62
- loofah (2.9.0)
63
+ loofah (2.19.0)
63
64
  crass (~> 1.0.2)
64
65
  nokogiri (>= 1.5.9)
65
66
  mail (2.7.1)
66
67
  mini_mime (>= 0.1.1)
67
68
  method_source (1.0.0)
68
- mini_mime (1.0.2)
69
- minitest (5.14.3)
70
- nio4r (2.5.4)
71
- nokogiri (1.11.1-x86_64-darwin)
69
+ mini_mime (1.1.2)
70
+ mini_portile2 (2.8.0)
71
+ minitest (5.16.3)
72
+ nio4r (2.5.8)
73
+ nokogiri (1.13.9)
74
+ mini_portile2 (~> 2.8.0)
75
+ racc (~> 1.4)
76
+ nokogiri (1.13.9-x86_64-darwin)
72
77
  racc (~> 1.4)
73
- nokogiri (1.11.1-x86_64-linux)
78
+ nokogiri (1.13.9-x86_64-linux)
74
79
  racc (~> 1.4)
75
- racc (1.5.2)
76
- rack (2.2.3)
77
- rack-test (1.1.0)
78
- rack (>= 1.0, < 3)
80
+ racc (1.6.0)
81
+ rack (2.2.4)
82
+ rack-test (2.0.2)
83
+ rack (>= 1.3)
79
84
  rails (5.1.7)
80
85
  actioncable (= 5.1.7)
81
86
  actionmailer (= 5.1.7)
@@ -91,7 +96,7 @@ GEM
91
96
  rails-dom-testing (2.0.3)
92
97
  activesupport (>= 4.2.0)
93
98
  nokogiri (>= 1.6)
94
- rails-html-sanitizer (1.3.0)
99
+ rails-html-sanitizer (1.4.3)
95
100
  loofah (~> 2.3)
96
101
  railties (5.1.7)
97
102
  actionpack (= 5.1.7)
@@ -99,21 +104,22 @@ GEM
99
104
  method_source
100
105
  rake (>= 0.8.7)
101
106
  thor (>= 0.18.1, < 2.0)
102
- rake (13.0.3)
107
+ rake (13.0.6)
108
+ rbtree (0.4.5)
103
109
  redcarpet (3.5.1)
104
- rspec (3.10.0)
105
- rspec-core (~> 3.10.0)
106
- rspec-expectations (~> 3.10.0)
107
- rspec-mocks (~> 3.10.0)
108
- rspec-core (3.10.1)
109
- rspec-support (~> 3.10.0)
110
- rspec-expectations (3.10.1)
110
+ rspec (3.12.0)
111
+ rspec-core (~> 3.12.0)
112
+ rspec-expectations (~> 3.12.0)
113
+ rspec-mocks (~> 3.12.0)
114
+ rspec-core (3.12.0)
115
+ rspec-support (~> 3.12.0)
116
+ rspec-expectations (3.12.0)
111
117
  diff-lcs (>= 1.2.0, < 2.0)
112
- rspec-support (~> 3.10.0)
113
- rspec-mocks (3.10.1)
118
+ rspec-support (~> 3.12.0)
119
+ rspec-mocks (3.12.0)
114
120
  diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.10.0)
116
- rspec-rails (4.0.2)
121
+ rspec-support (~> 3.12.0)
122
+ rspec-rails (4.1.2)
117
123
  actionpack (>= 4.2)
118
124
  activesupport (>= 4.2)
119
125
  railties (>= 4.2)
@@ -121,32 +127,37 @@ GEM
121
127
  rspec-expectations (~> 3.10)
122
128
  rspec-mocks (~> 3.10)
123
129
  rspec-support (~> 3.10)
124
- rspec-support (3.10.1)
125
- rspec_junit_formatter (0.4.1)
126
- rspec-core (>= 2, < 4, != 2.12.0)
127
- sprockets (4.0.2)
130
+ rspec-support (3.12.0)
131
+ set (1.0.3)
132
+ sorted_set (1.0.3)
133
+ rbtree
134
+ set (~> 1.0)
135
+ sprockets (4.1.1)
128
136
  concurrent-ruby (~> 1.0)
129
137
  rack (> 1, < 3)
130
138
  sprockets-rails (3.2.2)
131
139
  actionpack (>= 4.0)
132
140
  activesupport (>= 4.0)
133
141
  sprockets (>= 3.0.0)
134
- stackprof (0.2.16)
135
- thor (1.0.1)
142
+ stackprof (0.2.22)
143
+ thor (1.2.1)
136
144
  thread_safe (0.3.6)
137
145
  tomparse (0.4.2)
138
- tzinfo (1.2.9)
146
+ tzinfo (1.2.10)
139
147
  thread_safe (~> 0.1)
148
+ webrick (1.7.0)
140
149
  websocket-driver (0.6.5)
141
150
  websocket-extensions (>= 0.1.0)
142
151
  websocket-extensions (0.1.5)
143
- yard (0.9.26)
152
+ yard (0.9.28)
153
+ webrick (~> 1.7.0)
144
154
  yard-tomdoc (0.7.1)
145
155
  tomparse (>= 0.4.0)
146
156
  yard
147
157
 
148
158
  PLATFORMS
149
- x86_64-darwin-19
159
+ ruby
160
+ x86_64-darwin
150
161
  x86_64-linux
151
162
 
152
163
  DEPENDENCIES
@@ -155,15 +166,14 @@ DEPENDENCIES
155
166
  genspec (>= 0.3.0)
156
167
  github-markup
157
168
  rails (~> 5.1.0)
158
- railties (>= 4.2, < 6.2)
169
+ railties (>= 4.2, < 7.1)
159
170
  rake
160
171
  redcarpet
161
172
  rspec (>= 3)
162
173
  rspec-rails
163
- rspec_junit_formatter
164
174
  stackprof
165
175
  yard
166
176
  yard-tomdoc
167
177
 
168
178
  BUNDLED WITH
169
- 2.2.5
179
+ 2.3.25