slim-rails 3.2.0 → 3.3.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: 85d2a7934c6ad9ff0ae65c4da40ee1a7f22de8c82cf457898e977153bb3f5fa6
4
- data.tar.gz: 6ae09a270eaed5a03d87eb2a7999ef7310030ece13167efe32290ae56088cfdd
3
+ metadata.gz: 4c09a72b540b1eeeb00a3fa4a3a35fa6cb34d064104a9a7155f14ecee5e7e39d
4
+ data.tar.gz: 2210937c961529642a2fc5ff485dd13de10f46694259d74d0521593182e095c0
5
5
  SHA512:
6
- metadata.gz: 5384a517144559f59493d78a1da1b5483680d89974495d91a58197b6fb5ff2655b2ca47a22e24b1e45fd074fa3f34abc00d47d727263ce7a8171ae3f80913835
7
- data.tar.gz: ac6118fbbe095c820280e0d12304d2443a9d18ca486f652a645c3ebaae57d0e06c8d4f610faaf755f4107548db2e6658ce6c9d07e820acf3201dab92d53467fc
6
+ metadata.gz: ef5677b920c4a940df436fbad90dbf8e6e97b074f4c6b498a6b9f2b323588280ba5fc6f708dddf4459cb5cb609ea4af0fad03350fd1a013b3bb25b55fa468638
7
+ data.tar.gz: f77d561a26be9f8967ebd2e7ead43e01c9b9219c1445d88c9c09ca0f271326ca30ab920cb202ecf3cdc90f21edd5d51089f60c2d4d9c739d05ebcf45d186846e
data/.travis.yml CHANGED
@@ -1,50 +1,45 @@
1
+ dist: focal
2
+
3
+ os: linux
4
+
1
5
  language: ruby
6
+
7
+ cache:
8
+ bundler: true
9
+
2
10
  before_install:
3
- - gem install bundler
11
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
12
+ - gem install bundler -v '< 2'
13
+
4
14
  rvm:
5
15
  - ruby-head
6
- - 2.5
7
- - 2.4
8
- - 2.3
9
- - 2.2
10
- - 2.1
11
- - 2.0
16
+ - 3.0
17
+ - 2.7
18
+ - 2.6
19
+
12
20
  gemfile:
13
- - gemfiles/rails_3.gemfile
14
- - gemfiles/rails_4.gemfile
15
- - gemfiles/rails_4.1.gemfile
16
- - gemfiles/rails_4.2.gemfile
17
- - gemfiles/rails_5.gemfile
18
- - gemfiles/rails_5.1.gemfile
21
+ - gemfiles/rails_edge.gemfile
22
+ - gemfiles/rails_6.1.gemfile
23
+ - gemfiles/rails_6.0.gemfile
19
24
  - gemfiles/rails_5.2.gemfile
20
- matrix:
25
+ - gemfiles/rails_5.1.gemfile
26
+ - gemfiles/rails_5.0.gemfile
27
+
28
+ jobs:
21
29
  allow_failures:
22
30
  - rvm: ruby-head
23
- - rvm: 2.4
24
- gemfile: gemfiles/rails_4.gemfile
25
- - rvm: 2.4
26
- gemfile: gemfiles/rails_4.1.gemfile
27
- - rvm: 2.4
28
- gemfile: gemfiles/rails_4.2.gemfile
29
- - rvm: 2.5
30
- gemfile: gemfiles/rails_4.gemfile
31
- - rvm: 2.5
32
- gemfile: gemfiles/rails_4.1.gemfile
33
- - rvm: 2.5
34
- gemfile: gemfiles/rails_4.2.gemfile
31
+ - gemfile: gemfiles/rails_edge.gemfile
32
+
35
33
  exclude:
36
- - rvm: 2.1
37
- gemfile: gemfiles/rails_5.gemfile
38
- - rvm: 2.1
39
- gemfile: gemfiles/rails_5.1.gemfile
40
- - rvm: 2.1
34
+ - rvm: 3.0
41
35
  gemfile: gemfiles/rails_5.2.gemfile
42
- - rvm: 2.0
43
- gemfile: gemfiles/rails_5.gemfile
44
- - rvm: 2.0
36
+ - rvm: 3.0
45
37
  gemfile: gemfiles/rails_5.1.gemfile
46
- - rvm: 2.0
47
- gemfile: gemfiles/rails_5.2.gemfile
38
+ - rvm: 3.0
39
+ gemfile: gemfiles/rails_5.0.gemfile
40
+
41
+ fast_finish: true
42
+
48
43
  addons:
49
44
  code_climate:
50
45
  repo_token: 294f0ec8183176c0259b75eb21b38414508616985a7b39fc48fec9dfcf40a52e
data/Appraisals CHANGED
@@ -1,29 +1,25 @@
1
- appraise "rails-3" do
2
- gem "rails", "~> 3.2"
3
- gem 'minitest'
4
- gem 'test-unit', '~> 3.0'
1
+ appraise "rails-5.0" do
2
+ gem "rails", "~> 5.0.0"
3
+ gem "sprockets", "~> 3.7"
5
4
  end
6
5
 
7
- appraise "rails-4" do
8
- gem "rails", "~> 4.0.0"
9
- end
10
-
11
- appraise "rails-4.1" do
12
- gem "rails", "~> 4.1.0"
6
+ appraise "rails-5.1" do
7
+ gem "rails", "~> 5.1.0"
8
+ gem "sprockets", "~> 3.7"
13
9
  end
14
10
 
15
- appraise "rails-4.2" do
16
- gem "rails", "~> 4.2.0"
11
+ appraise "rails-5.2" do
12
+ gem "rails", "~> 5.2.0"
17
13
  end
18
14
 
19
- appraise "rails-5" do
20
- gem "rails", "~> 5.0.0"
15
+ appraise "rails-6.0" do
16
+ gem "rails", "~> 6.0.3"
21
17
  end
22
18
 
23
- appraise "rails-5.1" do
24
- gem "rails", "~> 5.1.0"
19
+ appraise "rails-6.1" do
20
+ gem "rails", "~> 6.1.3"
25
21
  end
26
22
 
27
- appraise "rails-5.2" do
28
- gem "rails", "~> 5.2.0"
23
+ appraise "rails-edge" do
24
+ gem "rails", github: 'rails/rails'
29
25
  end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 3.3.0 (July 19, 2021)
2
+
3
+ * Enabled asset helpers in precompiled templates (#135)
4
+ * Tested with Rails 6.0, 6.1 and Ruby 3.0
5
+ * Improved CI and tests with Sprockets 4
6
+
7
+
1
8
  ## 3.2.0 (October 7, 2018)
2
9
 
3
10
  * Support for Slim 4
data/README.md CHANGED
@@ -18,6 +18,8 @@ gem "slim-rails"
18
18
 
19
19
  And that's it.
20
20
 
21
+ If you have existing `.erb` templates, check out [our guide](https://github.com/slim-template/slim/wiki/Template-Converters-ERB-to-SLIM) on how to achieve this.
22
+
21
23
  From the version 0.2.0, there is no need to include gem "slim" in your Gemfile.
22
24
 
23
25
  Every time you generate a controller or scaffold, you'll get Slim templates.
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 5.0.0"
6
+ gem "sprockets", "~> 3.7"
6
7
 
7
8
  gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 5.1.0"
6
+ gem "sprockets", "~> 3.7"
6
7
 
7
8
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.1.0"
5
+ gem "rails", "~> 6.0.3"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.2.0"
5
+ gem "rails", "~> 6.1.3"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.0.0"
5
+ gem "rails", github: "rails/rails"
6
6
 
7
7
  gemspec path: "../"
@@ -1,2 +1,2 @@
1
1
  h1 <%= class_name %>#<%= @action %>
2
- p = @greeting + ", find me in <%= @path %>"
2
+ p = "#{@greeting}, find me in <%= @path %>"
@@ -1,3 +1,3 @@
1
1
  ' <%= class_name %>#<%= @action %>
2
2
  = "\r\n" * 2
3
- ' #{@greeting + ", find me in <%= @path %>"}
3
+ ' #{@greeting}, find me in <%= @path %>
@@ -1,7 +1,7 @@
1
1
  = form_for @<%= singular_table_name %> do |f|
2
2
  - if @<%= singular_table_name %>.errors.any?
3
3
  #error_explanation
4
- h2 = "#{pluralize(@<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:"
4
+ h2 = "#{pluralize(@<%= singular_table_name %>.errors.count, 'error')} prohibited this <%= singular_table_name %> from being saved:"
5
5
  ul
6
6
  - @<%= singular_table_name %>.errors.full_messages.each do |message|
7
7
  li = message
@@ -5,4 +5,3 @@ h1 Editing <%= singular_table_name %>
5
5
  => link_to 'Show', @<%= singular_table_name %>
6
6
  '|
7
7
  =< link_to 'Back', <%= index_helper %>_path
8
-
@@ -1,6 +1,6 @@
1
1
  p#notice = notice
2
-
3
2
  <% attributes.each do |attribute| -%>
3
+
4
4
  p
5
5
  strong <%= attribute.human_name %>:
6
6
  = @<%= singular_table_name %>.<%= attribute.name %>
@@ -3,7 +3,8 @@ module Slim
3
3
  module RegisterEngine
4
4
  class Transformer
5
5
  def self.call(input)
6
- Slim::Template.new(input[:name]) { input[:data] }.render(nil)
6
+ context = input[:environment].context_class.new(input)
7
+ Slim::Template.new(input[:name]) { input[:data] }.render(context)
7
8
  end
8
9
  end
9
10
 
@@ -1,5 +1,5 @@
1
1
  module Slim
2
2
  module Rails
3
- VERSION = '3.2.0'
3
+ VERSION = '3.3.0'
4
4
  end
5
5
  end
data/slim-rails.gemspec CHANGED
@@ -6,11 +6,11 @@ require 'slim-rails/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'slim-rails'
8
8
  spec.version = Slim::Rails::VERSION
9
- spec.authors = ["Leonardo Almeida"]
10
- spec.email = ["lalmeida08@gmail.com"]
9
+ spec.authors = ["Leonardo Almeida", "Janusz Mordarski"]
10
+ spec.email = ["lalmeida08@gmail.com", "janusz.m@gmail.com"]
11
11
 
12
- spec.summary = 'Slim templates generator for Rails 3+'
13
- spec.description = 'Provides the generator settings required for Rails 3+ to use Slim'
12
+ spec.summary = 'Slim templates generator for Rails'
13
+ spec.description = 'Provides the generator settings required for Rails to use Slim'
14
14
  spec.homepage = 'https://github.com/slim-template/slim-rails'
15
15
  spec.license = 'MIT'
16
16
 
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_runtime_dependency 'slim', ['>= 3.0', '< 5.0']
27
27
 
28
28
  spec.add_development_dependency 'sprockets-rails'
29
+ spec.add_development_dependency 'slim_lint', '~> 0.21.0'
29
30
  spec.add_development_dependency 'rocco'
30
31
  spec.add_development_dependency 'redcarpet'
31
32
  spec.add_development_dependency 'awesome_print'
@@ -2,6 +2,8 @@ require 'test_helper'
2
2
  require 'lib/generators/slim/testing_helper'
3
3
 
4
4
  class Slim::Generators::ControllerGeneratorTest < Rails::Generators::TestCase
5
+ include SlimLintHelpers
6
+
5
7
  destination File.join(Rails.root)
6
8
  tests Rails::Generators::ControllerGenerator
7
9
  arguments %w(Account foo bar --template-engine slim)
@@ -14,4 +16,10 @@ class Slim::Generators::ControllerGeneratorTest < Rails::Generators::TestCase
14
16
  assert_file File.join("app", "views", "account", "foo.html.slim"), %r(app/views/account/foo\.html\.slim)
15
17
  assert_file File.join("app", "views", "account", "bar.html.slim"), %r(app/views/account/bar\.html\.slim)
16
18
  end
19
+
20
+ test "should generate SlimLint valid templates" do
21
+ run_generator
22
+ templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
23
+ assert_empty lint(templates)
24
+ end
17
25
  end
@@ -2,6 +2,8 @@ require 'test_helper'
2
2
  require 'lib/generators/slim/testing_helper'
3
3
 
4
4
  class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
5
+ include SlimLintHelpers
6
+
5
7
  destination File.join(Rails.root)
6
8
  tests Rails::Generators::MailerGenerator
7
9
  arguments %w(notifier foo bar --template-engine slim)
@@ -17,12 +19,12 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
17
19
  if rails_version >= '5.0'
18
20
  assert_file "app/views/notifier_mailer/foo.html.slim" do |view|
19
21
  assert_match %r(app/views/notifier_mailer/foo\.html\.slim), view
20
- assert_match(/\= @greeting/, view)
22
+ assert_match(/\#\{@greeting/, view)
21
23
  end
22
24
 
23
25
  assert_file "app/views/notifier_mailer/bar.html.slim" do |view|
24
26
  assert_match %r(app/views/notifier_mailer/bar\.html\.slim), view
25
- assert_match(/\= @greeting/, view)
27
+ assert_match(/\#\{@greeting/, view)
26
28
  end
27
29
 
28
30
  assert_file "app/views/notifier_mailer/foo.text.slim" do |view|
@@ -46,12 +48,12 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
46
48
 
47
49
  assert_file "app/views/notifier/foo.html.slim" do |view|
48
50
  assert_match %r(app/views/notifier/foo\.html\.slim), view
49
- assert_match(/\= @greeting/, view)
51
+ assert_match(/\#\{@greeting/, view)
50
52
  end
51
53
 
52
54
  assert_file "app/views/notifier/bar.html.slim" do |view|
53
55
  assert_match %r(app/views/notifier/bar\.html\.slim), view
54
- assert_match(/\= @greeting/, view)
56
+ assert_match(/\#\{@greeting/, view)
55
57
  end
56
58
 
57
59
  end
@@ -67,4 +69,10 @@ class Slim::Generators::MailerGeneratorTest < Rails::Generators::TestCase
67
69
  end
68
70
  end
69
71
  end
72
+
73
+ test "should generate SlimLint valid templates" do
74
+ run_generator
75
+ templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
76
+ assert_empty lint(templates)
77
+ end
70
78
  end
@@ -2,6 +2,8 @@ require 'test_helper'
2
2
  require 'lib/generators/slim/testing_helper'
3
3
 
4
4
  class Slim::Generators::ScaffoldGeneratorTest < Rails::Generators::TestCase
5
+ include SlimLintHelpers
6
+
5
7
  destination File.join(Rails.root)
6
8
  tests Rails::Generators::ScaffoldGenerator
7
9
  arguments %w(product_line title:string price:integer --template-engine slim --orm active-record)
@@ -23,4 +25,10 @@ class Slim::Generators::ScaffoldGeneratorTest < Rails::Generators::TestCase
23
25
  assert_no_file File.join "app", "views", "product_lines"
24
26
  assert_no_file File.join "app", "views", "layouts", "product_lines.html.slim"
25
27
  end
28
+
29
+ test "should generate SlimLint valid templates" do
30
+ run_generator
31
+ templates = Dir[File.join(Rails.root, 'app', 'views', '**', '*.slim')]
32
+ assert_empty lint(templates)
33
+ end
26
34
  end
@@ -1 +1,11 @@
1
+ require 'slim_lint'
2
+
3
+ module SlimLintHelpers
4
+ EXCLUDED_LINTERS = %w[LineLength]
5
+
6
+ def lint(templates)
7
+ SlimLint::Runner.new.run(files: templates, excluded_linters: EXCLUDED_LINTERS).lints.map(&:message)
8
+ end
9
+ end
10
+
1
11
  require_generators slim: ['scaffold', 'controller', 'mailer']
@@ -1,9 +1,14 @@
1
+ require 'sprockets'
1
2
  require 'test_helper'
2
3
  require 'tmpdir'
3
4
 
4
5
  class Slim::Rails::AssetsTest < ActiveSupport::TestCase
5
6
  def with_app(use_sprockets, code)
6
7
  Dir.mktmpdir do |dir|
8
+ manifest_path = File.join(dir, 'app', 'assets', 'config', 'manifest.js')
9
+ FileUtils.mkdir_p(File.dirname(manifest_path))
10
+ File.write(manifest_path, '//= link_tree ../html .slim')
11
+
7
12
  app_path = File.join(dir, 'app.rb')
8
13
  File.write(app_path, <<-APP)
9
14
  require 'rails'
@@ -18,17 +23,50 @@ class Slim::Rails::AssetsTest < ActiveSupport::TestCase
18
23
  #{code}
19
24
  APP
20
25
 
26
+ if use_sprockets && Sprockets::VERSION.to_i >= 4
27
+ manifest_path = File.join(dir, 'app', 'assets', 'config', 'manifest.js')
28
+ FileUtils.mkdir_p(File.dirname(manifest_path))
29
+ File.write(manifest_path, '')
30
+ end
31
+
21
32
  asset_path = File.join(dir, 'app', 'assets', 'html', 'test.slim')
22
33
  FileUtils.mkdir_p(File.dirname(asset_path))
23
34
  File.write(asset_path, ".test\n | hi")
24
35
 
36
+ asset_path = File.join(dir, 'app', 'assets', 'html', 'test_helpers.slim')
37
+ File.write(asset_path, '= logical_path')
38
+
25
39
  `BUNDLE_GEMFILE=#{ENV['BUNDLE_GEMFILE']} bundle exec ruby #{app_path}`
26
40
  end
27
41
  end
28
42
 
29
- test 'compile slim view' do
30
- assert_equal 'ok', with_app(false, 'print DummyApp.assets || "ok"')
31
- assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test.slim"].to_s')
32
- assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test", accept: "text/html"].to_s')
43
+ test "should work without Sprockets" do
44
+ assert_equal '', with_app(false, 'DummyApp.assets')
45
+ end
46
+
47
+ test "should return HTML version when passing 'text/html' content type" do
48
+ assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test", accept: "text/html"]')
49
+ end
50
+
51
+ if Sprockets::VERSION.to_i < 4
52
+ test "should return HTML version when passing '.slim' extension" do
53
+ assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test.slim"]')
54
+ end
55
+ end
56
+
57
+ if Sprockets::VERSION.to_i >= 3
58
+ test "should return HTML version when passing '.html' extension" do
59
+ assert_equal '<div class="test">hi</div>', with_app(true, 'print DummyApp.assets["test.html"]')
60
+ end
61
+ end
62
+
63
+ if Sprockets::VERSION.to_i >= 4
64
+ test "should return Slim version when passing '.slim' extension" do
65
+ assert_equal ".test\n | hi", with_app(true, 'print DummyApp.assets["test.slim"]')
66
+ end
67
+ end
68
+
69
+ test "should work with asset helpers" do
70
+ assert_equal 'test_helpers', with_app(true, 'print DummyApp.assets["test_helpers", accept: "text/html"]')
33
71
  end
34
72
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Almeida
8
- autorequire:
8
+ - Janusz Mordarski
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-10-07 00:00:00.000000000 Z
12
+ date: 2021-07-19 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: actionpack
@@ -72,6 +73,20 @@ dependencies:
72
73
  - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
76
+ - !ruby/object:Gem::Dependency
77
+ name: slim_lint
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.21.0
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.21.0
75
90
  - !ruby/object:Gem::Dependency
76
91
  name: rocco
77
92
  requirement: !ruby/object:Gem::Requirement
@@ -142,9 +157,10 @@ dependencies:
142
157
  - - ">="
143
158
  - !ruby/object:Gem::Version
144
159
  version: '0'
145
- description: Provides the generator settings required for Rails 3+ to use Slim
160
+ description: Provides the generator settings required for Rails to use Slim
146
161
  email:
147
162
  - lalmeida08@gmail.com
163
+ - janusz.m@gmail.com
148
164
  executables: []
149
165
  extensions: []
150
166
  extra_rdoc_files: []
@@ -157,13 +173,12 @@ files:
157
173
  - LICENSE
158
174
  - README.md
159
175
  - Rakefile
160
- - gemfiles/rails_3.gemfile
161
- - gemfiles/rails_4.1.gemfile
162
- - gemfiles/rails_4.2.gemfile
163
- - gemfiles/rails_4.gemfile
176
+ - gemfiles/rails_5.0.gemfile
164
177
  - gemfiles/rails_5.1.gemfile
165
178
  - gemfiles/rails_5.2.gemfile
166
- - gemfiles/rails_5.gemfile
179
+ - gemfiles/rails_6.0.gemfile
180
+ - gemfiles/rails_6.1.gemfile
181
+ - gemfiles/rails_edge.gemfile
167
182
  - lib/generators/slim/controller/controller_generator.rb
168
183
  - lib/generators/slim/controller/templates/view.html.slim
169
184
  - lib/generators/slim/mailer/mailer_generator.rb
@@ -192,7 +207,7 @@ homepage: https://github.com/slim-template/slim-rails
192
207
  licenses:
193
208
  - MIT
194
209
  metadata: {}
195
- post_install_message:
210
+ post_install_message:
196
211
  rdoc_options: []
197
212
  require_paths:
198
213
  - lib
@@ -207,11 +222,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
222
  - !ruby/object:Gem::Version
208
223
  version: '0'
209
224
  requirements: []
210
- rubyforge_project:
211
- rubygems_version: 2.7.6
212
- signing_key:
225
+ rubygems_version: 3.1.6
226
+ signing_key:
213
227
  specification_version: 4
214
- summary: Slim templates generator for Rails 3+
228
+ summary: Slim templates generator for Rails
215
229
  test_files:
216
230
  - test/fixtures/routes.rb
217
231
  - test/lib/generators/slim/controller_generator_test.rb
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 3.2"
6
- gem "minitest"
7
- gem "test-unit", "~> 3.0"
8
-
9
- gemspec path: "../"