curly-templates 2.6.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 548e059783b44b0ad9938e20cb5cd1578b3ec0bc18251b60df09fd2edac9a0d4
4
- data.tar.gz: 49b8beba4341b43ab4f0c7f06802ef2978ffa7d8d196cf2951a16e0ae34b2708
3
+ metadata.gz: edc9f2e7c8244a74ce43a4305cd33a8328f3e85b2a6d9a43c5a39b34470c6597
4
+ data.tar.gz: 71e670e239dd23b5794f375c7e597fc4675d6a6eb86f3542a270b982ef92b09a
5
5
  SHA512:
6
- metadata.gz: 0a4658de021b4ef984ed2be68f73723fb8dfe878b2ac6c935f9e5a5b2be63fed9a39bd8ab4d84266d39fd43c2b5c9a588d6dde208d20a3313a73a751e22558ba
7
- data.tar.gz: 7c77e535bb23d2397ae318cb54bcc5b4a322f14cd3422ccf89d9fc8df206a13f6d730025444381c1ab30a6fd1f437e5e9bb186455dcdf89d4943876899fcd183
6
+ metadata.gz: c1d2a5e354bf7974309e9531e7b0bdbab02f267c77cf80d92c58313e699b011cc00a3cf7a33634f985e3de7d24b9362f0a897efe7a41d27107f0f46575010dc3
7
+ data.tar.gz: c4796fb050c613eb9133a4dee0dd15fe94726392feb23add6970beab1299486c5625f0e22b1bb33ae6c484ea71ed9fff317e5731283b8eced4bb7f426e2c4d89
@@ -0,0 +1,27 @@
1
+ name: CI
2
+
3
+ on: push
4
+
5
+ jobs:
6
+ specs:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ gemfile:
12
+ - rails4.2
13
+ - rails5.1
14
+ - rails5.2
15
+ - rails6.0
16
+ - rails6.1
17
+ env:
18
+ BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
19
+ steps:
20
+ - uses: zendesk/checkout@v2
21
+ - name: Set up Ruby
22
+ uses: zendesk/setup-ruby@v1
23
+ with:
24
+ ruby-version: 2.6
25
+ bundler-cache: true
26
+ - run: bundle install
27
+ - run: bundle exec rspec
@@ -1,5 +1,10 @@
1
1
  ### Unreleased
2
2
 
3
+ ### Curly 3.0.0 (January 19, 2021)
4
+
5
+ * Add support for Rails 6.0 and 6.1.
6
+ * Remove support for Rails versions below 4.2.
7
+
3
8
  ### Curly 2.6.5 (May 23, 2018)
4
9
 
5
10
  * Add support for Rails 5.2.
data/Gemfile CHANGED
@@ -1,14 +1 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- platform :ruby do
6
- gem 'yard'
7
- gem 'yard-tomdoc'
8
- gem 'redcarpet'
9
- gem 'github-markup'
10
- gem 'rails', '~> 5.2.0', require: false
11
- gem 'rspec-rails', require: false
12
- gem 'benchmark-ips', require: false
13
- gem 'stackprof', require: false
14
- end
1
+ eval_gemfile 'gemfiles/rails5.2.gemfile'
data/README.md CHANGED
@@ -565,7 +565,7 @@ Gemfile. Given the following presenter:
565
565
  # app/presenters/posts/show_presenter.rb
566
566
  class Posts::ShowPresenter < Curly::Presenter
567
567
  presents :post
568
-
568
+
569
569
  def body
570
570
  Markdown.render(@post.body)
571
571
  end
@@ -788,8 +788,7 @@ Thanks to [Zendesk](http://zendesk.com/) for sponsoring the work on Curly.
788
788
  Build Status
789
789
  ------------
790
790
 
791
- [![Build Status](https://circleci.com/gh/zendesk/curly.png?circle-token=:circle-tok)](https://circleci.com/gh/zendesk/curly.png)
792
-
791
+ [![Build Status](https://github.com/zendesk/curly/workflows/CI/badge.svg)](https://github.com/zendesk/curly/actions?query=workflow%3ACI)
793
792
 
794
793
  Copyright and License
795
794
  ---------------------
@@ -20,13 +20,12 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.rdoc_options = ["--charset=UTF-8"]
22
22
 
23
- s.add_dependency("actionpack", [">= 3.1", "< 6.0"])
23
+ s.add_dependency("actionpack", [">= 4.2", "< 6.2"])
24
24
 
25
- s.add_development_dependency("railties", [">= 3.1", "< 6.0"])
25
+ s.add_development_dependency("railties", [">= 4.2", "< 6.2"])
26
26
  s.add_development_dependency("rake")
27
27
  s.add_development_dependency("rspec", ">= 3")
28
28
  s.add_development_dependency("rspec_junit_formatter")
29
- s.add_development_dependency("genspec", ">= 0.3.0")
30
29
 
31
30
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(perf|spec)/}) }
32
31
  s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ platform :ruby do
6
+ gem 'yard'
7
+ gem 'yard-tomdoc'
8
+ gem 'redcarpet'
9
+ gem 'github-markup'
10
+ gem 'rspec-rails', require: false
11
+ gem 'benchmark-ips', require: false
12
+ gem 'stackprof', require: false
13
+ end
@@ -0,0 +1,4 @@
1
+ eval_gemfile 'common.rb'
2
+
3
+ gem 'rails', '~> 4.2.0'
4
+ gem 'genspec', '>= 0.3.0'
@@ -0,0 +1,161 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ curly-templates (3.0.0)
5
+ actionpack (>= 4.2, < 6.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (4.2.11.3)
11
+ actionpack (= 4.2.11.3)
12
+ actionview (= 4.2.11.3)
13
+ activejob (= 4.2.11.3)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ actionpack (4.2.11.3)
17
+ actionview (= 4.2.11.3)
18
+ activesupport (= 4.2.11.3)
19
+ rack (~> 1.6)
20
+ rack-test (~> 0.6.2)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.11.3)
24
+ activesupport (= 4.2.11.3)
25
+ builder (~> 3.1)
26
+ erubis (~> 2.7.0)
27
+ rails-dom-testing (~> 1.0, >= 1.0.5)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
+ activejob (4.2.11.3)
30
+ activesupport (= 4.2.11.3)
31
+ globalid (>= 0.3.0)
32
+ activemodel (4.2.11.3)
33
+ activesupport (= 4.2.11.3)
34
+ builder (~> 3.1)
35
+ activerecord (4.2.11.3)
36
+ activemodel (= 4.2.11.3)
37
+ activesupport (= 4.2.11.3)
38
+ arel (~> 6.0)
39
+ activesupport (4.2.11.3)
40
+ i18n (~> 0.7)
41
+ minitest (~> 5.1)
42
+ thread_safe (~> 0.3, >= 0.3.4)
43
+ tzinfo (~> 1.1)
44
+ arel (6.0.4)
45
+ benchmark-ips (2.8.4)
46
+ builder (3.2.4)
47
+ concurrent-ruby (1.1.7)
48
+ crass (1.0.6)
49
+ diff-lcs (1.4.4)
50
+ erubis (2.7.0)
51
+ genspec (0.3.2)
52
+ rspec (>= 2, < 4)
53
+ thor
54
+ github-markup (3.0.5)
55
+ globalid (0.4.2)
56
+ activesupport (>= 4.2.0)
57
+ i18n (0.9.5)
58
+ concurrent-ruby (~> 1.0)
59
+ loofah (2.9.0)
60
+ crass (~> 1.0.2)
61
+ nokogiri (>= 1.5.9)
62
+ mail (2.7.1)
63
+ 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)
69
+ racc (~> 1.4)
70
+ racc (1.5.2)
71
+ rack (1.6.13)
72
+ rack-test (0.6.3)
73
+ rack (>= 1.0)
74
+ rails (4.2.11.3)
75
+ actionmailer (= 4.2.11.3)
76
+ actionpack (= 4.2.11.3)
77
+ actionview (= 4.2.11.3)
78
+ activejob (= 4.2.11.3)
79
+ activemodel (= 4.2.11.3)
80
+ activerecord (= 4.2.11.3)
81
+ activesupport (= 4.2.11.3)
82
+ bundler (>= 1.3.0, < 2.0)
83
+ railties (= 4.2.11.3)
84
+ sprockets-rails
85
+ rails-deprecated_sanitizer (1.0.3)
86
+ activesupport (>= 4.2.0.alpha)
87
+ rails-dom-testing (1.0.9)
88
+ activesupport (>= 4.2.0, < 5.0)
89
+ nokogiri (~> 1.6)
90
+ rails-deprecated_sanitizer (>= 1.0.1)
91
+ rails-html-sanitizer (1.3.0)
92
+ loofah (~> 2.3)
93
+ railties (4.2.11.3)
94
+ actionpack (= 4.2.11.3)
95
+ activesupport (= 4.2.11.3)
96
+ rake (>= 0.8.7)
97
+ thor (>= 0.18.1, < 2.0)
98
+ rake (13.0.3)
99
+ 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)
107
+ diff-lcs (>= 1.2.0, < 2.0)
108
+ rspec-support (~> 3.10.0)
109
+ rspec-mocks (3.10.1)
110
+ diff-lcs (>= 1.2.0, < 2.0)
111
+ rspec-support (~> 3.10.0)
112
+ rspec-rails (4.0.2)
113
+ actionpack (>= 4.2)
114
+ activesupport (>= 4.2)
115
+ railties (>= 4.2)
116
+ rspec-core (~> 3.10)
117
+ rspec-expectations (~> 3.10)
118
+ rspec-mocks (~> 3.10)
119
+ 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)
124
+ concurrent-ruby (~> 1.0)
125
+ rack (> 1, < 3)
126
+ sprockets-rails (3.2.2)
127
+ actionpack (>= 4.0)
128
+ activesupport (>= 4.0)
129
+ sprockets (>= 3.0.0)
130
+ stackprof (0.2.16)
131
+ thor (1.0.1)
132
+ thread_safe (0.3.6)
133
+ tomparse (0.4.2)
134
+ tzinfo (1.2.9)
135
+ thread_safe (~> 0.1)
136
+ yard (0.9.26)
137
+ yard-tomdoc (0.7.1)
138
+ tomparse (>= 0.4.0)
139
+ yard
140
+
141
+ PLATFORMS
142
+ ruby
143
+
144
+ DEPENDENCIES
145
+ benchmark-ips
146
+ curly-templates!
147
+ genspec (>= 0.3.0)
148
+ github-markup
149
+ rails (~> 4.2.0)
150
+ railties (>= 4.2, < 6.2)
151
+ rake
152
+ redcarpet
153
+ rspec (>= 3)
154
+ rspec-rails
155
+ rspec_junit_formatter
156
+ stackprof
157
+ yard
158
+ yard-tomdoc
159
+
160
+ BUNDLED WITH
161
+ 1.17.3
@@ -0,0 +1,4 @@
1
+ eval_gemfile 'common.rb'
2
+
3
+ gem 'rails', '~> 5.1.0'
4
+ gem 'genspec', '>= 0.3.0'
@@ -0,0 +1,169 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ curly-templates (3.0.0)
5
+ actionpack (>= 4.2, < 6.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.7)
11
+ actionpack (= 5.1.7)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.7)
15
+ actionpack (= 5.1.7)
16
+ actionview (= 5.1.7)
17
+ activejob (= 5.1.7)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.7)
21
+ actionview (= 5.1.7)
22
+ activesupport (= 5.1.7)
23
+ rack (~> 2.0)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.1.7)
28
+ activesupport (= 5.1.7)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.1.7)
34
+ activesupport (= 5.1.7)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.7)
37
+ activesupport (= 5.1.7)
38
+ activerecord (5.1.7)
39
+ activemodel (= 5.1.7)
40
+ activesupport (= 5.1.7)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.7)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ arel (8.0.0)
48
+ benchmark-ips (2.8.4)
49
+ builder (3.2.4)
50
+ concurrent-ruby (1.1.7)
51
+ crass (1.0.6)
52
+ diff-lcs (1.4.4)
53
+ erubi (1.10.0)
54
+ genspec (0.3.2)
55
+ rspec (>= 2, < 4)
56
+ thor
57
+ github-markup (3.0.5)
58
+ globalid (0.4.2)
59
+ activesupport (>= 4.2.0)
60
+ i18n (1.8.7)
61
+ concurrent-ruby (~> 1.0)
62
+ loofah (2.9.0)
63
+ crass (~> 1.0.2)
64
+ nokogiri (>= 1.5.9)
65
+ mail (2.7.1)
66
+ mini_mime (>= 0.1.1)
67
+ 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)
72
+ racc (~> 1.4)
73
+ nokogiri (1.11.1-x86_64-linux)
74
+ racc (~> 1.4)
75
+ racc (1.5.2)
76
+ rack (2.2.3)
77
+ rack-test (1.1.0)
78
+ rack (>= 1.0, < 3)
79
+ rails (5.1.7)
80
+ actioncable (= 5.1.7)
81
+ actionmailer (= 5.1.7)
82
+ actionpack (= 5.1.7)
83
+ actionview (= 5.1.7)
84
+ activejob (= 5.1.7)
85
+ activemodel (= 5.1.7)
86
+ activerecord (= 5.1.7)
87
+ activesupport (= 5.1.7)
88
+ bundler (>= 1.3.0)
89
+ railties (= 5.1.7)
90
+ sprockets-rails (>= 2.0.0)
91
+ rails-dom-testing (2.0.3)
92
+ activesupport (>= 4.2.0)
93
+ nokogiri (>= 1.6)
94
+ rails-html-sanitizer (1.3.0)
95
+ loofah (~> 2.3)
96
+ railties (5.1.7)
97
+ actionpack (= 5.1.7)
98
+ activesupport (= 5.1.7)
99
+ method_source
100
+ rake (>= 0.8.7)
101
+ thor (>= 0.18.1, < 2.0)
102
+ rake (13.0.3)
103
+ 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)
111
+ diff-lcs (>= 1.2.0, < 2.0)
112
+ rspec-support (~> 3.10.0)
113
+ rspec-mocks (3.10.1)
114
+ diff-lcs (>= 1.2.0, < 2.0)
115
+ rspec-support (~> 3.10.0)
116
+ rspec-rails (4.0.2)
117
+ actionpack (>= 4.2)
118
+ activesupport (>= 4.2)
119
+ railties (>= 4.2)
120
+ rspec-core (~> 3.10)
121
+ rspec-expectations (~> 3.10)
122
+ rspec-mocks (~> 3.10)
123
+ 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)
128
+ concurrent-ruby (~> 1.0)
129
+ rack (> 1, < 3)
130
+ sprockets-rails (3.2.2)
131
+ actionpack (>= 4.0)
132
+ activesupport (>= 4.0)
133
+ sprockets (>= 3.0.0)
134
+ stackprof (0.2.16)
135
+ thor (1.0.1)
136
+ thread_safe (0.3.6)
137
+ tomparse (0.4.2)
138
+ tzinfo (1.2.9)
139
+ thread_safe (~> 0.1)
140
+ websocket-driver (0.6.5)
141
+ websocket-extensions (>= 0.1.0)
142
+ websocket-extensions (0.1.5)
143
+ yard (0.9.26)
144
+ yard-tomdoc (0.7.1)
145
+ tomparse (>= 0.4.0)
146
+ yard
147
+
148
+ PLATFORMS
149
+ x86_64-darwin-19
150
+ x86_64-linux
151
+
152
+ DEPENDENCIES
153
+ benchmark-ips
154
+ curly-templates!
155
+ genspec (>= 0.3.0)
156
+ github-markup
157
+ rails (~> 5.1.0)
158
+ railties (>= 4.2, < 6.2)
159
+ rake
160
+ redcarpet
161
+ rspec (>= 3)
162
+ rspec-rails
163
+ rspec_junit_formatter
164
+ stackprof
165
+ yard
166
+ yard-tomdoc
167
+
168
+ BUNDLED WITH
169
+ 2.2.5
@@ -0,0 +1,4 @@
1
+ eval_gemfile 'common.rb'
2
+
3
+ gem 'rails', '~> 5.2.0'
4
+ gem 'genspec', '>= 0.3.0'
@@ -0,0 +1,177 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ curly-templates (3.0.0)
5
+ actionpack (>= 4.2, < 6.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.4.4)
11
+ actionpack (= 5.2.4.4)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.4.4)
15
+ actionpack (= 5.2.4.4)
16
+ actionview (= 5.2.4.4)
17
+ activejob (= 5.2.4.4)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.4.4)
21
+ actionview (= 5.2.4.4)
22
+ activesupport (= 5.2.4.4)
23
+ rack (~> 2.0, >= 2.0.8)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.2.4.4)
28
+ activesupport (= 5.2.4.4)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.2.4.4)
34
+ activesupport (= 5.2.4.4)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.4.4)
37
+ activesupport (= 5.2.4.4)
38
+ activerecord (5.2.4.4)
39
+ activemodel (= 5.2.4.4)
40
+ activesupport (= 5.2.4.4)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.4.4)
43
+ actionpack (= 5.2.4.4)
44
+ activerecord (= 5.2.4.4)
45
+ marcel (~> 0.3.1)
46
+ activesupport (5.2.4.4)
47
+ concurrent-ruby (~> 1.0, >= 1.0.2)
48
+ i18n (>= 0.7, < 2)
49
+ minitest (~> 5.1)
50
+ tzinfo (~> 1.1)
51
+ arel (9.0.0)
52
+ benchmark-ips (2.8.4)
53
+ builder (3.2.4)
54
+ concurrent-ruby (1.1.7)
55
+ crass (1.0.6)
56
+ diff-lcs (1.4.4)
57
+ erubi (1.10.0)
58
+ genspec (0.3.2)
59
+ rspec (>= 2, < 4)
60
+ thor
61
+ github-markup (3.0.5)
62
+ globalid (0.4.2)
63
+ activesupport (>= 4.2.0)
64
+ i18n (1.8.7)
65
+ concurrent-ruby (~> 1.0)
66
+ loofah (2.9.0)
67
+ crass (~> 1.0.2)
68
+ nokogiri (>= 1.5.9)
69
+ mail (2.7.1)
70
+ mini_mime (>= 0.1.1)
71
+ marcel (0.3.3)
72
+ mimemagic (~> 0.3.2)
73
+ method_source (1.0.0)
74
+ mimemagic (0.3.5)
75
+ mini_mime (1.0.2)
76
+ minitest (5.14.3)
77
+ nio4r (2.5.4)
78
+ nokogiri (1.11.1-x86_64-darwin)
79
+ racc (~> 1.4)
80
+ nokogiri (1.11.1-x86_64-linux)
81
+ racc (~> 1.4)
82
+ racc (1.5.2)
83
+ rack (2.2.3)
84
+ rack-test (1.1.0)
85
+ rack (>= 1.0, < 3)
86
+ rails (5.2.4.4)
87
+ actioncable (= 5.2.4.4)
88
+ actionmailer (= 5.2.4.4)
89
+ actionpack (= 5.2.4.4)
90
+ actionview (= 5.2.4.4)
91
+ activejob (= 5.2.4.4)
92
+ activemodel (= 5.2.4.4)
93
+ activerecord (= 5.2.4.4)
94
+ activestorage (= 5.2.4.4)
95
+ activesupport (= 5.2.4.4)
96
+ bundler (>= 1.3.0)
97
+ railties (= 5.2.4.4)
98
+ sprockets-rails (>= 2.0.0)
99
+ rails-dom-testing (2.0.3)
100
+ activesupport (>= 4.2.0)
101
+ nokogiri (>= 1.6)
102
+ rails-html-sanitizer (1.3.0)
103
+ loofah (~> 2.3)
104
+ railties (5.2.4.4)
105
+ actionpack (= 5.2.4.4)
106
+ activesupport (= 5.2.4.4)
107
+ method_source
108
+ rake (>= 0.8.7)
109
+ thor (>= 0.19.0, < 2.0)
110
+ rake (13.0.3)
111
+ redcarpet (3.5.1)
112
+ rspec (3.10.0)
113
+ rspec-core (~> 3.10.0)
114
+ rspec-expectations (~> 3.10.0)
115
+ rspec-mocks (~> 3.10.0)
116
+ rspec-core (3.10.1)
117
+ rspec-support (~> 3.10.0)
118
+ rspec-expectations (3.10.1)
119
+ diff-lcs (>= 1.2.0, < 2.0)
120
+ rspec-support (~> 3.10.0)
121
+ rspec-mocks (3.10.1)
122
+ diff-lcs (>= 1.2.0, < 2.0)
123
+ rspec-support (~> 3.10.0)
124
+ rspec-rails (4.0.2)
125
+ actionpack (>= 4.2)
126
+ activesupport (>= 4.2)
127
+ railties (>= 4.2)
128
+ rspec-core (~> 3.10)
129
+ rspec-expectations (~> 3.10)
130
+ rspec-mocks (~> 3.10)
131
+ rspec-support (~> 3.10)
132
+ rspec-support (3.10.1)
133
+ rspec_junit_formatter (0.4.1)
134
+ rspec-core (>= 2, < 4, != 2.12.0)
135
+ sprockets (4.0.2)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (3.2.2)
139
+ actionpack (>= 4.0)
140
+ activesupport (>= 4.0)
141
+ sprockets (>= 3.0.0)
142
+ stackprof (0.2.16)
143
+ thor (1.0.1)
144
+ thread_safe (0.3.6)
145
+ tomparse (0.4.2)
146
+ tzinfo (1.2.9)
147
+ thread_safe (~> 0.1)
148
+ websocket-driver (0.7.3)
149
+ websocket-extensions (>= 0.1.0)
150
+ websocket-extensions (0.1.5)
151
+ yard (0.9.26)
152
+ yard-tomdoc (0.7.1)
153
+ tomparse (>= 0.4.0)
154
+ yard
155
+
156
+ PLATFORMS
157
+ x86_64-darwin-19
158
+ x86_64-linux
159
+
160
+ DEPENDENCIES
161
+ benchmark-ips
162
+ curly-templates!
163
+ genspec (>= 0.3.0)
164
+ github-markup
165
+ rails (~> 5.2.0)
166
+ railties (>= 4.2, < 6.2)
167
+ rake
168
+ redcarpet
169
+ rspec (>= 3)
170
+ rspec-rails
171
+ rspec_junit_formatter
172
+ stackprof
173
+ yard
174
+ yard-tomdoc
175
+
176
+ BUNDLED WITH
177
+ 2.2.5
@@ -0,0 +1,4 @@
1
+ eval_gemfile 'common.rb'
2
+
3
+ gem 'rails', '~> 6.0.0'
4
+ gem 'genspec', github: 'bquorning/genspec', branch: 'rails-6'
@@ -0,0 +1,199 @@
1
+ GIT
2
+ remote: https://github.com/bquorning/genspec.git
3
+ revision: ff33bec9df252a6340582676a471c574153abd71
4
+ branch: rails-6
5
+ specs:
6
+ genspec (0.3.2)
7
+ rspec (>= 2, < 4)
8
+ thor
9
+
10
+ PATH
11
+ remote: ..
12
+ specs:
13
+ curly-templates (3.0.0)
14
+ actionpack (>= 4.2, < 6.2)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (6.0.3.4)
20
+ actionpack (= 6.0.3.4)
21
+ nio4r (~> 2.0)
22
+ websocket-driver (>= 0.6.1)
23
+ actionmailbox (6.0.3.4)
24
+ actionpack (= 6.0.3.4)
25
+ activejob (= 6.0.3.4)
26
+ activerecord (= 6.0.3.4)
27
+ activestorage (= 6.0.3.4)
28
+ activesupport (= 6.0.3.4)
29
+ mail (>= 2.7.1)
30
+ actionmailer (6.0.3.4)
31
+ actionpack (= 6.0.3.4)
32
+ actionview (= 6.0.3.4)
33
+ activejob (= 6.0.3.4)
34
+ mail (~> 2.5, >= 2.5.4)
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (6.0.3.4)
37
+ actionview (= 6.0.3.4)
38
+ activesupport (= 6.0.3.4)
39
+ rack (~> 2.0, >= 2.0.8)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (6.0.3.4)
44
+ actionpack (= 6.0.3.4)
45
+ activerecord (= 6.0.3.4)
46
+ activestorage (= 6.0.3.4)
47
+ activesupport (= 6.0.3.4)
48
+ nokogiri (>= 1.8.5)
49
+ actionview (6.0.3.4)
50
+ activesupport (= 6.0.3.4)
51
+ builder (~> 3.1)
52
+ erubi (~> 1.4)
53
+ rails-dom-testing (~> 2.0)
54
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
+ activejob (6.0.3.4)
56
+ activesupport (= 6.0.3.4)
57
+ globalid (>= 0.3.6)
58
+ activemodel (6.0.3.4)
59
+ activesupport (= 6.0.3.4)
60
+ activerecord (6.0.3.4)
61
+ activemodel (= 6.0.3.4)
62
+ activesupport (= 6.0.3.4)
63
+ activestorage (6.0.3.4)
64
+ actionpack (= 6.0.3.4)
65
+ activejob (= 6.0.3.4)
66
+ activerecord (= 6.0.3.4)
67
+ marcel (~> 0.3.1)
68
+ activesupport (6.0.3.4)
69
+ concurrent-ruby (~> 1.0, >= 1.0.2)
70
+ i18n (>= 0.7, < 2)
71
+ minitest (~> 5.1)
72
+ tzinfo (~> 1.1)
73
+ zeitwerk (~> 2.2, >= 2.2.2)
74
+ benchmark-ips (2.8.4)
75
+ builder (3.2.4)
76
+ concurrent-ruby (1.1.7)
77
+ crass (1.0.6)
78
+ diff-lcs (1.4.4)
79
+ erubi (1.10.0)
80
+ github-markup (3.0.5)
81
+ globalid (0.4.2)
82
+ activesupport (>= 4.2.0)
83
+ i18n (1.8.7)
84
+ concurrent-ruby (~> 1.0)
85
+ loofah (2.9.0)
86
+ crass (~> 1.0.2)
87
+ nokogiri (>= 1.5.9)
88
+ mail (2.7.1)
89
+ mini_mime (>= 0.1.1)
90
+ marcel (0.3.3)
91
+ mimemagic (~> 0.3.2)
92
+ method_source (1.0.0)
93
+ mimemagic (0.3.5)
94
+ mini_mime (1.0.2)
95
+ minitest (5.14.3)
96
+ nio4r (2.5.4)
97
+ nokogiri (1.11.1-x86_64-darwin)
98
+ racc (~> 1.4)
99
+ nokogiri (1.11.1-x86_64-linux)
100
+ racc (~> 1.4)
101
+ racc (1.5.2)
102
+ rack (2.2.3)
103
+ rack-test (1.1.0)
104
+ rack (>= 1.0, < 3)
105
+ rails (6.0.3.4)
106
+ actioncable (= 6.0.3.4)
107
+ actionmailbox (= 6.0.3.4)
108
+ actionmailer (= 6.0.3.4)
109
+ actionpack (= 6.0.3.4)
110
+ actiontext (= 6.0.3.4)
111
+ actionview (= 6.0.3.4)
112
+ activejob (= 6.0.3.4)
113
+ activemodel (= 6.0.3.4)
114
+ activerecord (= 6.0.3.4)
115
+ activestorage (= 6.0.3.4)
116
+ activesupport (= 6.0.3.4)
117
+ bundler (>= 1.3.0)
118
+ railties (= 6.0.3.4)
119
+ sprockets-rails (>= 2.0.0)
120
+ rails-dom-testing (2.0.3)
121
+ activesupport (>= 4.2.0)
122
+ nokogiri (>= 1.6)
123
+ rails-html-sanitizer (1.3.0)
124
+ loofah (~> 2.3)
125
+ railties (6.0.3.4)
126
+ actionpack (= 6.0.3.4)
127
+ activesupport (= 6.0.3.4)
128
+ method_source
129
+ rake (>= 0.8.7)
130
+ thor (>= 0.20.3, < 2.0)
131
+ rake (13.0.3)
132
+ redcarpet (3.5.1)
133
+ rspec (3.10.0)
134
+ rspec-core (~> 3.10.0)
135
+ rspec-expectations (~> 3.10.0)
136
+ rspec-mocks (~> 3.10.0)
137
+ rspec-core (3.10.1)
138
+ rspec-support (~> 3.10.0)
139
+ rspec-expectations (3.10.1)
140
+ diff-lcs (>= 1.2.0, < 2.0)
141
+ rspec-support (~> 3.10.0)
142
+ rspec-mocks (3.10.1)
143
+ diff-lcs (>= 1.2.0, < 2.0)
144
+ rspec-support (~> 3.10.0)
145
+ rspec-rails (4.0.2)
146
+ actionpack (>= 4.2)
147
+ activesupport (>= 4.2)
148
+ railties (>= 4.2)
149
+ rspec-core (~> 3.10)
150
+ rspec-expectations (~> 3.10)
151
+ rspec-mocks (~> 3.10)
152
+ rspec-support (~> 3.10)
153
+ rspec-support (3.10.1)
154
+ rspec_junit_formatter (0.4.1)
155
+ rspec-core (>= 2, < 4, != 2.12.0)
156
+ sprockets (4.0.2)
157
+ concurrent-ruby (~> 1.0)
158
+ rack (> 1, < 3)
159
+ sprockets-rails (3.2.2)
160
+ actionpack (>= 4.0)
161
+ activesupport (>= 4.0)
162
+ sprockets (>= 3.0.0)
163
+ stackprof (0.2.16)
164
+ thor (1.0.1)
165
+ thread_safe (0.3.6)
166
+ tomparse (0.4.2)
167
+ tzinfo (1.2.9)
168
+ thread_safe (~> 0.1)
169
+ websocket-driver (0.7.3)
170
+ websocket-extensions (>= 0.1.0)
171
+ websocket-extensions (0.1.5)
172
+ yard (0.9.26)
173
+ yard-tomdoc (0.7.1)
174
+ tomparse (>= 0.4.0)
175
+ yard
176
+ zeitwerk (2.4.2)
177
+
178
+ PLATFORMS
179
+ x86_64-darwin-19
180
+ x86_64-linux
181
+
182
+ DEPENDENCIES
183
+ benchmark-ips
184
+ curly-templates!
185
+ genspec!
186
+ github-markup
187
+ rails (~> 6.0.0)
188
+ railties (>= 4.2, < 6.2)
189
+ rake
190
+ redcarpet
191
+ rspec (>= 3)
192
+ rspec-rails
193
+ rspec_junit_formatter
194
+ stackprof
195
+ yard
196
+ yard-tomdoc
197
+
198
+ BUNDLED WITH
199
+ 2.2.5
@@ -0,0 +1,4 @@
1
+ eval_gemfile 'common.rb'
2
+
3
+ gem 'rails', '~> 6.1.0'
4
+ gem 'genspec', github: 'bquorning/genspec', branch: 'rails-6'
@@ -0,0 +1,202 @@
1
+ GIT
2
+ remote: https://github.com/bquorning/genspec.git
3
+ revision: ff33bec9df252a6340582676a471c574153abd71
4
+ branch: rails-6
5
+ specs:
6
+ genspec (0.3.2)
7
+ rspec (>= 2, < 4)
8
+ thor
9
+
10
+ PATH
11
+ remote: ..
12
+ specs:
13
+ curly-templates (3.0.0)
14
+ actionpack (>= 4.2, < 6.2)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (6.1.1)
20
+ actionpack (= 6.1.1)
21
+ activesupport (= 6.1.1)
22
+ nio4r (~> 2.0)
23
+ websocket-driver (>= 0.6.1)
24
+ actionmailbox (6.1.1)
25
+ actionpack (= 6.1.1)
26
+ activejob (= 6.1.1)
27
+ activerecord (= 6.1.1)
28
+ activestorage (= 6.1.1)
29
+ activesupport (= 6.1.1)
30
+ mail (>= 2.7.1)
31
+ actionmailer (6.1.1)
32
+ actionpack (= 6.1.1)
33
+ actionview (= 6.1.1)
34
+ activejob (= 6.1.1)
35
+ activesupport (= 6.1.1)
36
+ mail (~> 2.5, >= 2.5.4)
37
+ rails-dom-testing (~> 2.0)
38
+ actionpack (6.1.1)
39
+ actionview (= 6.1.1)
40
+ activesupport (= 6.1.1)
41
+ rack (~> 2.0, >= 2.0.9)
42
+ rack-test (>= 0.6.3)
43
+ rails-dom-testing (~> 2.0)
44
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
+ actiontext (6.1.1)
46
+ actionpack (= 6.1.1)
47
+ activerecord (= 6.1.1)
48
+ activestorage (= 6.1.1)
49
+ activesupport (= 6.1.1)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (6.1.1)
52
+ activesupport (= 6.1.1)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.4)
55
+ rails-dom-testing (~> 2.0)
56
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
+ activejob (6.1.1)
58
+ activesupport (= 6.1.1)
59
+ globalid (>= 0.3.6)
60
+ activemodel (6.1.1)
61
+ activesupport (= 6.1.1)
62
+ activerecord (6.1.1)
63
+ activemodel (= 6.1.1)
64
+ activesupport (= 6.1.1)
65
+ activestorage (6.1.1)
66
+ actionpack (= 6.1.1)
67
+ activejob (= 6.1.1)
68
+ activerecord (= 6.1.1)
69
+ activesupport (= 6.1.1)
70
+ marcel (~> 0.3.1)
71
+ mimemagic (~> 0.3.2)
72
+ activesupport (6.1.1)
73
+ concurrent-ruby (~> 1.0, >= 1.0.2)
74
+ i18n (>= 1.6, < 2)
75
+ minitest (>= 5.1)
76
+ tzinfo (~> 2.0)
77
+ zeitwerk (~> 2.3)
78
+ benchmark-ips (2.8.4)
79
+ builder (3.2.4)
80
+ concurrent-ruby (1.1.7)
81
+ crass (1.0.6)
82
+ diff-lcs (1.4.4)
83
+ erubi (1.10.0)
84
+ github-markup (3.0.5)
85
+ globalid (0.4.2)
86
+ activesupport (>= 4.2.0)
87
+ i18n (1.8.7)
88
+ concurrent-ruby (~> 1.0)
89
+ loofah (2.9.0)
90
+ crass (~> 1.0.2)
91
+ nokogiri (>= 1.5.9)
92
+ mail (2.7.1)
93
+ mini_mime (>= 0.1.1)
94
+ marcel (0.3.3)
95
+ mimemagic (~> 0.3.2)
96
+ method_source (1.0.0)
97
+ mimemagic (0.3.5)
98
+ mini_mime (1.0.2)
99
+ minitest (5.14.3)
100
+ nio4r (2.5.4)
101
+ nokogiri (1.11.1-x86_64-darwin)
102
+ racc (~> 1.4)
103
+ nokogiri (1.11.1-x86_64-linux)
104
+ racc (~> 1.4)
105
+ racc (1.5.2)
106
+ rack (2.2.3)
107
+ rack-test (1.1.0)
108
+ rack (>= 1.0, < 3)
109
+ rails (6.1.1)
110
+ actioncable (= 6.1.1)
111
+ actionmailbox (= 6.1.1)
112
+ actionmailer (= 6.1.1)
113
+ actionpack (= 6.1.1)
114
+ actiontext (= 6.1.1)
115
+ actionview (= 6.1.1)
116
+ activejob (= 6.1.1)
117
+ activemodel (= 6.1.1)
118
+ activerecord (= 6.1.1)
119
+ activestorage (= 6.1.1)
120
+ activesupport (= 6.1.1)
121
+ bundler (>= 1.15.0)
122
+ railties (= 6.1.1)
123
+ sprockets-rails (>= 2.0.0)
124
+ rails-dom-testing (2.0.3)
125
+ activesupport (>= 4.2.0)
126
+ nokogiri (>= 1.6)
127
+ rails-html-sanitizer (1.3.0)
128
+ loofah (~> 2.3)
129
+ railties (6.1.1)
130
+ actionpack (= 6.1.1)
131
+ activesupport (= 6.1.1)
132
+ method_source
133
+ rake (>= 0.8.7)
134
+ thor (~> 1.0)
135
+ rake (13.0.3)
136
+ redcarpet (3.5.1)
137
+ rspec (3.10.0)
138
+ rspec-core (~> 3.10.0)
139
+ rspec-expectations (~> 3.10.0)
140
+ rspec-mocks (~> 3.10.0)
141
+ rspec-core (3.10.1)
142
+ rspec-support (~> 3.10.0)
143
+ rspec-expectations (3.10.1)
144
+ diff-lcs (>= 1.2.0, < 2.0)
145
+ rspec-support (~> 3.10.0)
146
+ rspec-mocks (3.10.1)
147
+ diff-lcs (>= 1.2.0, < 2.0)
148
+ rspec-support (~> 3.10.0)
149
+ rspec-rails (4.0.2)
150
+ actionpack (>= 4.2)
151
+ activesupport (>= 4.2)
152
+ railties (>= 4.2)
153
+ rspec-core (~> 3.10)
154
+ rspec-expectations (~> 3.10)
155
+ rspec-mocks (~> 3.10)
156
+ rspec-support (~> 3.10)
157
+ rspec-support (3.10.1)
158
+ rspec_junit_formatter (0.4.1)
159
+ rspec-core (>= 2, < 4, != 2.12.0)
160
+ sprockets (4.0.2)
161
+ concurrent-ruby (~> 1.0)
162
+ rack (> 1, < 3)
163
+ sprockets-rails (3.2.2)
164
+ actionpack (>= 4.0)
165
+ activesupport (>= 4.0)
166
+ sprockets (>= 3.0.0)
167
+ stackprof (0.2.16)
168
+ thor (1.0.1)
169
+ tomparse (0.4.2)
170
+ tzinfo (2.0.4)
171
+ concurrent-ruby (~> 1.0)
172
+ websocket-driver (0.7.3)
173
+ websocket-extensions (>= 0.1.0)
174
+ websocket-extensions (0.1.5)
175
+ yard (0.9.26)
176
+ yard-tomdoc (0.7.1)
177
+ tomparse (>= 0.4.0)
178
+ yard
179
+ zeitwerk (2.4.2)
180
+
181
+ PLATFORMS
182
+ x86_64-darwin-19
183
+ x86_64-linux
184
+
185
+ DEPENDENCIES
186
+ benchmark-ips
187
+ curly-templates!
188
+ genspec!
189
+ github-markup
190
+ rails (~> 6.1.0)
191
+ railties (>= 4.2, < 6.2)
192
+ rake
193
+ redcarpet
194
+ rspec (>= 3)
195
+ rspec-rails
196
+ rspec_junit_formatter
197
+ stackprof
198
+ yard
199
+ yard-tomdoc
200
+
201
+ BUNDLED WITH
202
+ 2.2.5
@@ -13,9 +13,17 @@ class Curly::TemplateHandler
13
13
  # template - The ActionView::Template template that should be compiled.
14
14
  #
15
15
  # Returns a String containing the Ruby code representing the template.
16
- def call(template)
17
- instrument(template) do
18
- compile(template)
16
+ if ActionView::VERSION::MAJOR < 6
17
+ def call(template)
18
+ instrument(template) do
19
+ compile_for_actionview5(template)
20
+ end
21
+ end
22
+ else
23
+ def call(template, source)
24
+ instrument(template) do
25
+ compile(template, source)
26
+ end
19
27
  end
20
28
  end
21
29
 
@@ -40,16 +48,20 @@ class Curly::TemplateHandler
40
48
 
41
49
  private
42
50
 
43
- def compile(template)
44
- # Template is empty, so there's no need to initialize a presenter.
45
- return %("") if template.source.empty?
51
+ def compile_for_actionview5(template)
52
+ compile(template, template.source)
53
+ end
54
+
55
+ def compile(template, source)
56
+ # Template source is empty, so there's no need to initialize a presenter.
57
+ return %("") if source.empty?
46
58
 
47
59
  path = template.virtual_path
48
60
  presenter_class = Curly::Presenter.presenter_for_path(path)
49
61
 
50
62
  raise Curly::PresenterNotFound.new(path) if presenter_class.nil?
51
63
 
52
- source = Curly.compile(template.source, presenter_class)
64
+ compiled_source = Curly.compile(source, presenter_class)
53
65
 
54
66
  <<-RUBY
55
67
  if local_assigns.empty?
@@ -64,7 +76,7 @@ class Curly::TemplateHandler
64
76
  @output_buffer = output_buffer || ActiveSupport::SafeBuffer.new
65
77
 
66
78
  Curly::TemplateHandler.cache_if_key_is_not_nil(self, presenter) do
67
- result = #{source}
79
+ result = #{compiled_source}
68
80
  safe_concat(result)
69
81
  end
70
82
 
@@ -1,3 +1,3 @@
1
1
  module Curly
2
- VERSION = "2.6.5"
2
+ VERSION = "3.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curly-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.5
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2021-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.0'
22
+ version: '6.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '3.1'
29
+ version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.0'
32
+ version: '6.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: railties
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '3.1'
39
+ version: '4.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.0'
42
+ version: '6.2'
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '3.1'
49
+ version: '4.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '6.0'
52
+ version: '6.2'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rake
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -92,26 +92,13 @@ dependencies:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
- - !ruby/object:Gem::Dependency
96
- name: genspec
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: 0.3.0
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: 0.3.0
109
95
  description: A view layer for your Rails apps that separates structure and logic.
110
96
  email: daniel.schierbeck@gmail.com
111
97
  executables: []
112
98
  extensions: []
113
99
  extra_rdoc_files: []
114
100
  files:
101
+ - ".github/workflows/ci.yml"
115
102
  - ".gitignore"
116
103
  - ".rspec"
117
104
  - ".travis.yml"
@@ -121,8 +108,18 @@ files:
121
108
  - Gemfile
122
109
  - README.md
123
110
  - Rakefile
124
- - circle.yml
125
111
  - curly-templates.gemspec
112
+ - gemfiles/common.rb
113
+ - gemfiles/rails4.2.gemfile
114
+ - gemfiles/rails4.2.gemfile.lock
115
+ - gemfiles/rails5.1.gemfile
116
+ - gemfiles/rails5.1.gemfile.lock
117
+ - gemfiles/rails5.2.gemfile
118
+ - gemfiles/rails5.2.gemfile.lock
119
+ - gemfiles/rails6.0.gemfile
120
+ - gemfiles/rails6.0.gemfile.lock
121
+ - gemfiles/rails6.1.gemfile
122
+ - gemfiles/rails6.1.gemfile.lock
126
123
  - lib/curly-templates.rb
127
124
  - lib/curly.rb
128
125
  - lib/curly/attribute_scanner.rb
@@ -167,7 +164,7 @@ homepage: https://github.com/zendesk/curly
167
164
  licenses:
168
165
  - apache2
169
166
  metadata: {}
170
- post_install_message:
167
+ post_install_message:
171
168
  rdoc_options:
172
169
  - "--charset=UTF-8"
173
170
  require_paths:
@@ -183,9 +180,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
180
  - !ruby/object:Gem::Version
184
181
  version: '0'
185
182
  requirements: []
186
- rubyforge_project:
187
- rubygems_version: 2.7.6
188
- signing_key:
183
+ rubygems_version: 3.2.2
184
+ signing_key:
189
185
  specification_version: 2
190
186
  summary: Free your views!
191
187
  test_files: []
data/circle.yml DELETED
@@ -1,9 +0,0 @@
1
- machine:
2
- ruby:
3
- version: 2.2.3
4
- dependencies:
5
- post:
6
- - bundle install
7
- test:
8
- override:
9
- - bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml