view_models 3.0.1 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 913d6b2c25993a7a3d83cecce105e0877900f86c
4
+ data.tar.gz: 223d7c01466d049b89e61b54b6631b4080aca583
5
+ SHA512:
6
+ metadata.gz: 952684fa5bf76abdc2017f32b230d0f47e3b537ae9f7b422a1915e5cf9660fa4919a58ab2976bafd5bb8e91961283359e04bfa9c6ce963920ddbbb78237f2075
7
+ data.tar.gz: 5d3423d5ece7d686d66750484f42cddd562f49ae0cfee3163c307cbfdbf11678eb2105174b0ca767359fd0a66fb50a2e38b47dcd775927eb64d92dc577e21bb7
data/.gitignore CHANGED
@@ -4,5 +4,10 @@ tmp
4
4
  coverage
5
5
  pkg
6
6
  .rbx
7
-
7
+ .gem
8
+ gemfiles/*.Gemfile
9
+ Gemfile.lock
10
+ .bundle/
11
+ /gemfiles/*
12
+ *.gem
8
13
  rails/log/*.log
@@ -1,19 +1,20 @@
1
1
  rvm:
2
- - 1.8.7
3
- - 1.9.2
4
2
  - 1.9.3
5
- - ree
6
- - rbx-18mode
7
- - rbx-19mode
8
- - jruby
3
+ - 2.0.0
4
+ - 2.1.0
5
+ - rbx
6
+ - jruby-19mode
7
+ - jruby-20mode
9
8
 
10
- script: "bundle exec rake spec cucumber"
9
+ script: "bundle install && bundle exec rake spec cucumber"
11
10
 
12
11
  gemfile:
12
+ - gemfiles/4.0.Gemfile
13
13
  - gemfiles/3.2.gemfile
14
14
  - gemfiles/3.1.Gemfile
15
- - gemfiles/3.0.Gemfile
16
15
 
17
16
  matrix:
18
17
  allow_failures:
19
- - rvm: jruby
18
+ - rvm: jruby-19mode
19
+ - rvm: jruby-20mode
20
+ - rvm: 2.1.0
data/Appraisals CHANGED
@@ -1,15 +1,11 @@
1
- appraise '3.0' do
2
- gem 'rails', '~> 3.0.0'
1
+ appraise '4.0' do
2
+ gem 'rails', '~> 4.0'
3
3
  end
4
4
 
5
- appraise '3.1' do
6
- gem 'rails', '~> 3.1.0'
7
- gem 'jquery-rails'
8
- gem 'sass-rails'
5
+ appraise '3.2' do
6
+ gem 'rails', '~> 3.2'
9
7
  end
10
8
 
11
- appraise '3.2' do
12
- gem 'rails', '~> 3.2.0'
13
- gem 'jquery-rails'
14
- gem 'sass-rails'
9
+ appraise '3.1' do
10
+ gem 'rails', '~> 3.1'
15
11
  end
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
@@ -1,12 +1,12 @@
1
- h1. View Models !https://secure.travis-ci.org/beatrichartz/view_models.png(Build Status)!:http://travis-ci.org/beatrichartz/view_models "!https://codeclimate.com/badge.png!":https://codeclimate.com/github/beatrichartz/view_models
1
+ h1. View Models !https://secure.travis-ci.org/beatrichartz/view_models.png(Build Status)!:http://travis-ci.org/beatrichartz/view_models "!https://codeclimate.com/github/beatrichartz/view_models.png!":https://codeclimate.com/github/beatrichartz/view_models
2
2
 
3
- A representer solution for Rails 3 inspired by Florian Hankes View Models for Rails 2 (http://florianhanke.com/view_models). For older versions of Rails please use versions up to 3. You may find view models useful (or not). Fact: They will keep code out of your views. Because view models do not like code in your view.
3
+ A representer solution for Rails 3 and 4 inspired by Florian Hankes View Models for Rails 2 (http://florianhanke.com/view_models). For older versions of Rails please use versions up to 3. You may find view models useful (or not). Fact: They will keep code out of your views. Because view models do not like code in your view.
4
4
 
5
5
  h2. Installing View Models
6
6
 
7
7
  Add this to your gemfile
8
8
 
9
- <pre><code>gem "view_models", ">= 3.0.0"
9
+ <pre><code>gem "view_models", "~> 4.0"
10
10
  </code></pre>
11
11
 
12
12
  And this to your application.rb: (It adds the app folder to the autoload paths, which is necessary for the view models to load)
@@ -21,7 +21,6 @@ h2. TODOs
21
21
 
22
22
  What you can look forward to in future versions of this gem:
23
23
  - Bootstrapping for easier installation
24
- - JSON generation out of view models
25
24
 
26
25
  h2. Basic Usage
27
26
 
@@ -170,13 +169,6 @@ h4. The Helper Way
170
169
 
171
170
  Imagine how to do this in a helper ? Well, better go ahead and use time_ago_in_words everywhere.
172
171
 
173
- h2. Where is it used?
174
-
175
- There are known some places in the big place called internet to use this gem:
176
-
177
- "rightclearing.com [Music Licensing Provider]": http://rightclearing.com
178
- "restorm.com [Music Platform]": http://restorm.com
179
-
180
172
  h2. Testing View Models
181
173
 
182
174
  Testing View Models is easy. You can use the view models initializer instead of the view_model_for mapping (example in rspec with factory girl):
@@ -194,5 +186,5 @@ end
194
186
  h2. Further reads
195
187
 
196
188
  "Rubygems":http://rubygems.org/gems/view_models
197
- "Bug Tracker":http://github.com/floere/view_models/issues
198
- "Source [Github]":http://github.com/floere/view_models
189
+ "Bug Tracker":http://github.com/beatrichartz/view_models/issues
190
+ "Source [Github]":http://github.com/beatrichartz/view_models
@@ -0,0 +1,44 @@
1
+ rbx = defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
2
+
3
+ def already_installed(dep)
4
+ !Gem::DependencyInstaller.new(:domain => :local).find_gems_with_sources(dep).empty? ||
5
+ !Gem::DependencyInstaller.new(:domain => :local,:prerelease => true).find_gems_with_sources(dep).empty?
6
+ end
7
+
8
+ if rbx
9
+ require 'rubygems'
10
+ require 'rubygems/command.rb'
11
+ require 'rubygems/dependency.rb'
12
+ require 'rubygems/dependency_installer.rb'
13
+
14
+ begin
15
+ Gem::Command.build_args = ARGV
16
+ rescue NoMethodError
17
+ end
18
+
19
+ dep = [
20
+ Gem::Dependency.new("rubysl", '~> 2.0'),
21
+ Gem::Dependency.new("rubysl-test-unit", '~> 2.0'),
22
+ Gem::Dependency.new("racc", '~> 1.4')
23
+ ].reject{|d| already_installed(d) }
24
+
25
+ begin
26
+ puts "Installing base gem"
27
+ inst = Gem::DependencyInstaller.new
28
+ dep.each {|d| inst.install d }
29
+ rescue
30
+ inst = Gem::DependencyInstaller.new(:prerelease => true)
31
+ begin
32
+ dep.each {|d| inst.install d }
33
+ rescue Exception => e
34
+ puts e
35
+ puts e.backtrace.join "\n "
36
+ exit(1)
37
+ end
38
+ end unless dep.size == 0
39
+ end
40
+
41
+ # create dummy rakefile to indicate success
42
+ f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
43
+ f.write("task :default\n")
44
+ f.close
@@ -0,0 +1,3 @@
1
+ class Test < ActiveRecord::Base
2
+
3
+ end
@@ -1,3 +1,2 @@
1
1
  class User < ActiveRecord::Base
2
- attr_protected :created_at, :updated_at
3
2
  end
@@ -59,6 +59,7 @@ module Testapp
59
59
  # Version of your assets, change this if you want to expire all your assets
60
60
  # config.assets.version = '1.0'
61
61
 
62
+ # Add the app folder to autoload paths
62
63
  config.autoload_paths.unshift config.root.join('app')
63
64
  end
64
65
  end
@@ -0,0 +1,5 @@
1
+ require 'test/unit'
2
+
3
+ class Test::Unit::Runner
4
+ @@stop_auto_run = true
5
+ end
@@ -5,14 +5,18 @@ Feature: integrate with Rails
5
5
  And I copy the generic app files from the support folder into the generated app
6
6
  And I configure the application to use the view_models gem from this project
7
7
  And I configure the application to use the following gems
8
- | Name | Version | Require |
9
- | factory_girl_rails | ~> 1.7.0 | |
10
- | factory_girl | ~> 2.6.4 | |
11
- | cucumber-rails | ~> 1.3.0 | false |
12
- | rspec-rails | ~> 2.11.0 | |
13
- | capybara | ~> 1.1.2 | |
14
- | slim-rails | ~> 1.0.3 | |
15
- And I successfully run `bundle install --local`
8
+ | Name | Version | Require | Condition |
9
+ | factory_girl_rails | ~> 4.3.0 | | |
10
+ | factory_girl | ~> 4.3.0 | | |
11
+ | cucumber-rails | ~> 1.4.0 | false | |
12
+ | rspec-rails | ~> 2.14.1 | | |
13
+ | capybara | ~> 2.2.0 | | |
14
+ | slim-rails | ~> 2.0.4 | | |
15
+ | rubysl | ~> 2.0 | | if RUBY_ENGINE == 'rbx' |
16
+ | rubysl-test-unit | ~> 2.0 | | if RUBY_ENGINE == 'rbx' |
17
+ | racc | ~> 1.4 | | if RUBY_ENGINE == 'rbx' |
18
+
19
+ And I successfully run `bundle install`
16
20
  And I successfully run `bundle exec rake db:migrate`
17
21
 
18
22
  Scenario:
@@ -23,7 +23,7 @@ When 'I generate a new rails application' do
23
23
  And I comment out the gem "uglifier" from the Gemfile
24
24
  And I reset Bundler environment variables
25
25
  And I set the "BUNDLE_GEMFILE" environment variable to "Gemfile"
26
- And I successfully run `bundle install --local`
26
+ And I successfully run `bundle install`
27
27
  }
28
28
  if RUBY_VERSION >= "1.9.3"
29
29
  append_to_gemfile %(gem "rake", "~> 0.9.3.beta.1")
@@ -56,9 +56,9 @@ end
56
56
  When 'I configure the application to use the following gems' do |table|
57
57
  table.hashes.each do |hash|
58
58
  if hash[:Require] && hash[:Require].strip.size > 0
59
- append_to_gemfile "gem '#{hash[:Name]}', '#{hash[:Version]}', :require => #{hash[:Require]}\n"
59
+ append_to_gemfile "gem '#{hash[:Name]}', '#{hash[:Version]}', :require => #{hash[:Require]}#{hash[:Condition]}\n"
60
60
  else
61
- append_to_gemfile "gem '#{hash[:Name]}', '#{hash[:Version]}'\n"
61
+ append_to_gemfile "gem '#{hash[:Name]}', '#{hash[:Version]}'#{hash[:Condition]}\n"
62
62
  end
63
63
  end
64
64
 
@@ -18,15 +18,14 @@ class ViewModelsGenerator < Rails::Generators::Base
18
18
  # Create views corresponding to view models
19
19
  #
20
20
  def create_views file_name
21
- %W(list_item main_item).each do |view|
22
- create_file "app/views/#{file_name.pluralize}/_#{view}.html.#{options.views.downcase}", File.read(File.join(File.expand_path('../templates', __FILE__), "/views/_empty.html.#{options.views.downcase}"))
21
+ %W(list_item main_item collection list pagination table).each do |view|
22
+ create_view_file view, file_name
23
23
  end
24
+ end
24
25
 
25
- # Copy collection views.
26
- #
27
- %W(collection list pagination table).each do |view|
28
- create_file "app/views/#{file_name.pluralize}/_#{view}.html.#{options.views.downcase}", File.read(File.join(File.expand_path('../templates', __FILE__), "/views/_#{view}.html.#{options.views.downcase}"))
29
- end
26
+ def create_view_file view, file_name
27
+ create_file "app/views/#{file_name.pluralize}/_#{view}.html.#{options.views.downcase}", File.read(File.join(File.expand_path('../templates', __FILE__), "/views/_empty.html.#{options.views.downcase}"))
28
+
30
29
  end
31
30
 
32
31
  # Create the view model files for the view models given
@@ -11,7 +11,7 @@ module ViewModels
11
11
  # Gets raised when render_as, render_the, or render_template cannot
12
12
  # find the named template, not even in the hierarchy.
13
13
  #
14
- MissingTemplateError = Class.new(StandardError)
14
+ MissingTemplateError = Class.new StandardError
15
15
 
16
16
  # Base class from which all view_models inherit.
17
17
  # @example Create Your first View Model
@@ -81,7 +81,7 @@ module ViewModels
81
81
  #
82
82
  include Extensions::ModelReader
83
83
 
84
- unless instance_methods.include?('old_add_template_helper')
84
+ unless instance_methods.include? 'old_add_template_helper'
85
85
  alias old_add_template_helper add_template_helper
86
86
 
87
87
  # Wrapper for add_template_helper in ActionController::Helpers, also
@@ -154,7 +154,7 @@ module ViewModels
154
154
  # @param [ActionView] renderer The view renderer
155
155
  # @param [Hash] options The options to pass to the template path
156
156
  #
157
- def template_path renderer, options
157
+ def template_path renderer, options
158
158
  raise_template_error_with options.error_message if inheritance_chain_ends?
159
159
 
160
160
  template_path_from(renderer, options) || self.next_in_render_hierarchy.template_path(renderer, options)
@@ -1,5 +1,5 @@
1
1
  module ViewModels
2
2
  # The current version of the gem
3
3
  #
4
- VERSION = '3.0.1'.freeze
4
+ VERSION = '4.0.1'.freeze
5
5
  end
@@ -5,7 +5,7 @@ describe ViewModels::Base do
5
5
  describe "readers" do
6
6
  describe "model" do
7
7
  before(:each) do
8
- @model = stub :model
8
+ @model = double :model
9
9
  @view_model = ViewModels::Base.new @model, nil
10
10
  end
11
11
  it "should have a reader" do
@@ -16,7 +16,7 @@ describe ViewModels::Base do
16
16
  end
17
17
  describe "controller" do
18
18
  before(:each) do
19
- @context = stub :controller
19
+ @context = double :controller
20
20
  @view_model = ViewModels::Base.new nil, @context
21
21
  end
22
22
  it "should have a reader" do
@@ -30,7 +30,7 @@ describe ViewModels::Base do
30
30
  describe "context recognition" do
31
31
  describe "context is a view" do
32
32
  before(:each) do
33
- @view = stub :view, :controller => 'controller'
33
+ @view = double :view, :controller => 'controller'
34
34
  @view_model = ViewModels::Base.new nil, @view
35
35
  end
36
36
  it "should get the controller from the view" do
@@ -41,7 +41,7 @@ describe ViewModels::Base do
41
41
  end
42
42
  describe "context is a controller" do
43
43
  before(:each) do
44
- @controller = stub :controller
44
+ @controller = double :controller
45
45
  @view_model = ViewModels::Base.new nil, @controller
46
46
  end
47
47
  it "should just use it for the controller" do
@@ -55,7 +55,7 @@ describe ViewModels::Base do
55
55
 
56
56
  describe "to_param" do
57
57
  before(:each) do
58
- @model = stub :model
58
+ @model = double :model
59
59
  @view_model = ViewModels::Base.new @model, nil
60
60
  end
61
61
  it "should delegate to_param to the model" do
@@ -77,8 +77,8 @@ describe ViewModels::Base do
77
77
  end
78
78
 
79
79
  it "should delegate dom_id with args to the context" do
80
- @context = mock('context')
81
- @view_model.stub! :context => @context
80
+ @context = double('context')
81
+ @view_model.stub :context => @context
82
82
  @context.should_receive(:dom_id).with('arg1', 'arg2').once
83
83
 
84
84
  @view_model.dom_id('arg1', 'arg2')
@@ -128,7 +128,7 @@ describe ViewModels::Base do
128
128
 
129
129
  describe "#logger" do
130
130
  it "should delegate to the controller" do
131
- controller = stub :controller
131
+ controller = double :controller
132
132
  view_model = ViewModels::Base.new nil, controller
133
133
 
134
134
  controller.should_receive(:logger).once
@@ -4,8 +4,8 @@ describe ViewModels::Helpers::Mapping::Collection do
4
4
  include ViewModels::Helpers::Mapping
5
5
 
6
6
  before(:each) do
7
- @collection = stub :collection
8
- @context = stub :context
7
+ @collection = double :collection
8
+ @context = double :context
9
9
  @collection_view_model = ViewModels::Helpers::Mapping::Collection.new @collection, @context
10
10
  end
11
11
 
@@ -32,8 +32,8 @@ describe ViewModels::Helpers::Mapping::Collection do
32
32
  collection_view_model_for([]).should be_kind_of ViewModels::Helpers::Mapping::Collection
33
33
  end
34
34
  it "should pass any parameters directly through" do
35
- collection = stub :collection
36
- context = stub :context
35
+ collection = double :collection
36
+ context = double :context
37
37
  ViewModels::Helpers::Mapping::Collection.should_receive(:new).with(collection, context).once
38
38
  collection_view_model_for collection, context
39
39
  end
@@ -41,7 +41,7 @@ describe ViewModels::Helpers::Mapping::Collection do
41
41
 
42
42
  describe "list" do
43
43
  it "should call render_partial and return the rendered result" do
44
- @collection_view_model.stub! :render_partial => :result
44
+ @collection_view_model.stub :render_partial => :result
45
45
 
46
46
  @collection_view_model.list.should == :result
47
47
  end
@@ -71,7 +71,7 @@ describe ViewModels::Helpers::Mapping::Collection do
71
71
 
72
72
  describe "collection" do
73
73
  it "should call render_partial and return the rendered result" do
74
- @collection_view_model.stub! :render_partial => :result
74
+ @collection_view_model.stub :render_partial => :result
75
75
 
76
76
  @collection_view_model.collection.should == :result
77
77
  end
@@ -100,7 +100,7 @@ describe ViewModels::Helpers::Mapping::Collection do
100
100
 
101
101
  describe "table" do
102
102
  it "should call render_partial and return the rendered result" do
103
- @collection_view_model.stub! :render_partial => :result
103
+ @collection_view_model.stub :render_partial => :result
104
104
 
105
105
  @collection_view_model.table.should == :result
106
106
  end
@@ -130,7 +130,7 @@ describe ViewModels::Helpers::Mapping::Collection do
130
130
 
131
131
  describe "pagination" do
132
132
  it "should call render_partial and return the rendered result" do
133
- @collection_view_model.stub! :render_partial => :result
133
+ @collection_view_model.stub :render_partial => :result
134
134
 
135
135
  @collection_view_model.pagination.should == :result
136
136
  end
@@ -198,7 +198,7 @@ describe ViewModels::Helpers::Mapping::Collection do
198
198
  end
199
199
  describe "each" do
200
200
  it "should delegate to #each of the collection" do
201
- proc = stub :proc
201
+ proc = double :proc
202
202
 
203
203
  @collection.should_receive(:each).with(proc).once
204
204
 
@@ -7,7 +7,7 @@ describe ViewModels::Helpers::Mapping do
7
7
  it "should just pass the params through to the view_model" do
8
8
  class SomeModelClazz; end
9
9
  class ViewModels::SomeModelClazz < ViewModels::Base; end
10
- context = stub :context
10
+ context = double :context
11
11
  model = SomeModelClazz.new
12
12
 
13
13
  ViewModels::SomeModelClazz.should_receive(:new).once.with model, context
@@ -42,13 +42,13 @@ describe ViewModels::Helpers::Mapping do
42
42
  class SomeModelClazz; end
43
43
  class ViewModels::SomeSpecificClazz < ViewModels::Base; end
44
44
  before(:each) do
45
- self.should_receive(:specific_view_model_mapping).any_number_of_times.and_return SomeModelClazz => ViewModels::SomeSpecificClazz
45
+ self.should_receive(:specific_view_model_mapping).at_most(2).times.and_return SomeModelClazz => ViewModels::SomeSpecificClazz
46
46
  end
47
47
  it "should return a specifically mapped view_model instance" do
48
48
  view_model_for(SomeModelClazz.new).should be_instance_of ViewModels::SomeSpecificClazz
49
49
  end
50
50
  it "should not call #default_view_model_class_for" do
51
- mock(self).should_receive(:default_view_model_class_for).never
51
+ double(self).should_receive(:default_view_model_class_for).never
52
52
  view_model_for SomeModelClazz.new
53
53
  end
54
54
  end
@@ -2,8 +2,8 @@ require 'spec_helper'
2
2
 
3
3
  describe ViewModels::View do
4
4
  subject do
5
- controller_class = stub :controller_class, :view_paths => ActionView::PathSet.new
6
- controller = stub :controller, :class => controller_class, :_prefixes => nil
5
+ controller_class = double :controller_class, :view_paths => ActionView::PathSet.new
6
+ controller = double :controller, :class => controller_class, :_prefixes => nil
7
7
 
8
8
  ViewModels::View.new controller, Module.new
9
9
  end
@@ -13,17 +13,17 @@ describe ViewModels::View do
13
13
  end
14
14
 
15
15
  it "should be renderable" do
16
- options = mock('options', :to_render_options => {:hey => 'hey!'})
16
+ options = double('options', :to_render_options => {:hey => 'hey!'})
17
17
  subject.should_receive(:render).with(:hey => 'hey!').once
18
18
  subject.render_with(options)
19
19
  end
20
20
 
21
21
  describe "finding templates" do
22
- let(:lookup_context) { mock('lookup_context') }
23
- let(:template) { mock('template') }
22
+ let(:lookup_context) { double('lookup_context') }
23
+ let(:template) { double('template') }
24
24
 
25
25
  before(:each) do
26
- subject.stub! :lookup_context => lookup_context
26
+ subject.stub :lookup_context => lookup_context
27
27
  end
28
28
  context "without ActionView Errors" do
29
29
  it "should find the template via lookup context" do
@@ -33,7 +33,7 @@ describe ViewModels::View do
33
33
  end
34
34
  context "with ActionView Errors" do
35
35
  it "should return nil" do
36
- lookup_context.should_receive(:find_template).with('PATH').once.and_raise(ActionView::MissingTemplate)
36
+ lookup_context.should_receive(:find_template).with('PATH').once.and_raise(StandardError)
37
37
  subject.find_template('PATH').should be_nil
38
38
  end
39
39
  end
@@ -5,7 +5,7 @@ TESTAPP_ROOT = File.join(File.dirname(__FILE__), '..', 'tmp', 'aruba', 'testapp'
5
5
  FileUtils.rm_rf(TESTAPP_ROOT) if File.exists?(TESTAPP_ROOT)
6
6
  `rails new #{TESTAPP_ROOT}`
7
7
 
8
- ENV['RAILS_ENV'] = 'test'
8
+ ENV['RAILS_ENV'] = 'test'
9
9
  ENV['BUNDLE_GEMFILE'] ||= TESTAPP_ROOT + '/Gemfile'
10
10
 
11
11
  require "#{TESTAPP_ROOT}/config/environment"
@@ -2,34 +2,45 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
2
2
  require 'view_models/version'
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "view_models"
6
- s.version = ViewModels::VERSION.dup
7
- s.authors = ["Florian Hanke", "Kaspar Schiess", "Niko Dittmann", "Beat Richartz"]
8
- s.date = Time.now.strftime("%Y-%m-%d")
9
- s.email = "support@viewmodels.com"
10
- s.homepage = "http://florianhanke.com/view_models/"
11
- s.summary = "The missing R to the Rails MVC"
12
- s.description = "The missing R to the Rails MVC"
5
+ s.name = "view_models"
6
+ s.version = ViewModels::VERSION.dup
7
+ s.authors = ["Florian Hanke", "Kaspar Schiess", "Niko Dittmann", "Beat Richartz"]
8
+ s.date = Time.now.strftime("%Y-%m-%d")
9
+ s.email = "beat.richartz@gmail.com"
10
+ s.summary = "The missing R to the Rails MVC"
11
+ s.description = "The missing R to the Rails MVC"
12
+ s.extensions = 'ext/mkrf_conf.rb'
13
+ s.homepage = 'https://github.com/beatrichartz/view_models'
13
14
 
14
15
  s.files = `git ls-files`.split("\n")
15
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
18
  s.require_paths = ["lib"]
19
+ s.licenses = ['MIT']
18
20
 
19
- s.add_dependency 'actionpack', '>= 3.0.0'
20
- s.add_dependency 'actionmailer', '>= 3.0.0'
21
+ s.add_dependency 'actionpack', '>= 3.1'
21
22
 
23
+ s.add_development_dependency 'rails', '>= 3.1'
24
+ s.add_development_dependency 'jquery-rails'
25
+ s.add_development_dependency 'sass-rails'
22
26
  s.add_development_dependency 'rake', '>= 0.8.7'
23
27
  s.add_development_dependency 'aruba'
24
28
  s.add_development_dependency 'yard'
25
29
  s.add_development_dependency 'RedCloth'
26
30
  s.add_development_dependency 'database_cleaner'
27
- s.add_development_dependency 'appraisal', '~> 0.4.0'
28
- s.add_development_dependency 'bundler', '>= 1.1.0'
29
- s.add_development_dependency 'cucumber-rails'
30
- s.add_development_dependency 'cucumber'
31
- s.add_development_dependency 'factory_girl_rails', '~> 1.7.0'
32
- s.add_development_dependency 'factory_girl', '~> 2.6.4'
33
- s.add_development_dependency 'slim-rails', '~> 1.0.0'
34
- s.add_development_dependency 'rspec-rails', '~> 2.11.0'
31
+ s.add_development_dependency 'appraisal', '~> 0.5'
32
+ s.add_development_dependency 'bundler', '>= 1.0'
33
+ s.add_development_dependency 'cucumber-rails'#, '~> 1.3' #bundler is not friends with some cucumber versions
34
+ s.add_development_dependency 'capybara', '~> 1'
35
+ s.add_development_dependency 'factory_girl_rails', '~> 1'
36
+ s.add_development_dependency 'factory_girl', '~> 2'
37
+ s.add_development_dependency 'slim-rails', '~> 1.0'
38
+ s.add_development_dependency 'rspec', '~> 2'
39
+ s.add_development_dependency 'rspec-rails', '~> 2'
40
+
41
+ if RUBY_ENGINE == 'rbx'
42
+ s.add_development_dependency "rubysl", "~> 2.0"
43
+ s.add_development_dependency "rubysl-test-unit", '~> 2.0'
44
+ s.add_development_dependency "racc", "~> 1.4"
45
+ end
35
46
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
5
- prerelease:
4
+ version: 4.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Florian Hanke
@@ -12,252 +11,265 @@ authors:
12
11
  autorequire:
13
12
  bindir: bin
14
13
  cert_chain: []
15
- date: 2012-12-16 00:00:00.000000000 Z
14
+ date: 2014-01-04 00:00:00.000000000 Z
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: actionpack
19
18
  requirement: !ruby/object:Gem::Requirement
20
- none: false
21
19
  requirements:
22
- - - ! '>='
20
+ - - '>='
23
21
  - !ruby/object:Gem::Version
24
- version: 3.0.0
22
+ version: '3.1'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - '>='
31
28
  - !ruby/object:Gem::Version
32
- version: 3.0.0
29
+ version: '3.1'
33
30
  - !ruby/object:Gem::Dependency
34
- name: actionmailer
31
+ name: rails
35
32
  requirement: !ruby/object:Gem::Requirement
36
- none: false
37
33
  requirements:
38
- - - ! '>='
34
+ - - '>='
39
35
  - !ruby/object:Gem::Version
40
- version: 3.0.0
41
- type: :runtime
36
+ version: '3.1'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '3.1'
44
+ - !ruby/object:Gem::Dependency
45
+ name: jquery-rails
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ type: :development
42
52
  prerelease: false
43
53
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
54
  requirements:
46
- - - ! '>='
55
+ - - '>='
47
56
  - !ruby/object:Gem::Version
48
- version: 3.0.0
57
+ version: '0'
58
+ - !ruby/object:Gem::Dependency
59
+ name: sass-rails
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
49
72
  - !ruby/object:Gem::Dependency
50
73
  name: rake
51
74
  requirement: !ruby/object:Gem::Requirement
52
- none: false
53
75
  requirements:
54
- - - ! '>='
76
+ - - '>='
55
77
  - !ruby/object:Gem::Version
56
78
  version: 0.8.7
57
79
  type: :development
58
80
  prerelease: false
59
81
  version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
82
  requirements:
62
- - - ! '>='
83
+ - - '>='
63
84
  - !ruby/object:Gem::Version
64
85
  version: 0.8.7
65
86
  - !ruby/object:Gem::Dependency
66
87
  name: aruba
67
88
  requirement: !ruby/object:Gem::Requirement
68
- none: false
69
89
  requirements:
70
- - - ! '>='
90
+ - - '>='
71
91
  - !ruby/object:Gem::Version
72
92
  version: '0'
73
93
  type: :development
74
94
  prerelease: false
75
95
  version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
96
  requirements:
78
- - - ! '>='
97
+ - - '>='
79
98
  - !ruby/object:Gem::Version
80
99
  version: '0'
81
100
  - !ruby/object:Gem::Dependency
82
101
  name: yard
83
102
  requirement: !ruby/object:Gem::Requirement
84
- none: false
85
103
  requirements:
86
- - - ! '>='
104
+ - - '>='
87
105
  - !ruby/object:Gem::Version
88
106
  version: '0'
89
107
  type: :development
90
108
  prerelease: false
91
109
  version_requirements: !ruby/object:Gem::Requirement
92
- none: false
93
110
  requirements:
94
- - - ! '>='
111
+ - - '>='
95
112
  - !ruby/object:Gem::Version
96
113
  version: '0'
97
114
  - !ruby/object:Gem::Dependency
98
115
  name: RedCloth
99
116
  requirement: !ruby/object:Gem::Requirement
100
- none: false
101
117
  requirements:
102
- - - ! '>='
118
+ - - '>='
103
119
  - !ruby/object:Gem::Version
104
120
  version: '0'
105
121
  type: :development
106
122
  prerelease: false
107
123
  version_requirements: !ruby/object:Gem::Requirement
108
- none: false
109
124
  requirements:
110
- - - ! '>='
125
+ - - '>='
111
126
  - !ruby/object:Gem::Version
112
127
  version: '0'
113
128
  - !ruby/object:Gem::Dependency
114
129
  name: database_cleaner
115
130
  requirement: !ruby/object:Gem::Requirement
116
- none: false
117
131
  requirements:
118
- - - ! '>='
132
+ - - '>='
119
133
  - !ruby/object:Gem::Version
120
134
  version: '0'
121
135
  type: :development
122
136
  prerelease: false
123
137
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
138
  requirements:
126
- - - ! '>='
139
+ - - '>='
127
140
  - !ruby/object:Gem::Version
128
141
  version: '0'
129
142
  - !ruby/object:Gem::Dependency
130
143
  name: appraisal
131
144
  requirement: !ruby/object:Gem::Requirement
132
- none: false
133
145
  requirements:
134
146
  - - ~>
135
147
  - !ruby/object:Gem::Version
136
- version: 0.4.0
148
+ version: '0.5'
137
149
  type: :development
138
150
  prerelease: false
139
151
  version_requirements: !ruby/object:Gem::Requirement
140
- none: false
141
152
  requirements:
142
153
  - - ~>
143
154
  - !ruby/object:Gem::Version
144
- version: 0.4.0
155
+ version: '0.5'
145
156
  - !ruby/object:Gem::Dependency
146
157
  name: bundler
147
158
  requirement: !ruby/object:Gem::Requirement
148
- none: false
149
159
  requirements:
150
- - - ! '>='
160
+ - - '>='
151
161
  - !ruby/object:Gem::Version
152
- version: 1.1.0
162
+ version: '1.0'
153
163
  type: :development
154
164
  prerelease: false
155
165
  version_requirements: !ruby/object:Gem::Requirement
156
- none: false
157
166
  requirements:
158
- - - ! '>='
167
+ - - '>='
159
168
  - !ruby/object:Gem::Version
160
- version: 1.1.0
169
+ version: '1.0'
161
170
  - !ruby/object:Gem::Dependency
162
171
  name: cucumber-rails
163
172
  requirement: !ruby/object:Gem::Requirement
164
- none: false
165
173
  requirements:
166
- - - ! '>='
174
+ - - '>='
167
175
  - !ruby/object:Gem::Version
168
176
  version: '0'
169
177
  type: :development
170
178
  prerelease: false
171
179
  version_requirements: !ruby/object:Gem::Requirement
172
- none: false
173
180
  requirements:
174
- - - ! '>='
181
+ - - '>='
175
182
  - !ruby/object:Gem::Version
176
183
  version: '0'
177
184
  - !ruby/object:Gem::Dependency
178
- name: cucumber
185
+ name: capybara
179
186
  requirement: !ruby/object:Gem::Requirement
180
- none: false
181
187
  requirements:
182
- - - ! '>='
188
+ - - ~>
183
189
  - !ruby/object:Gem::Version
184
- version: '0'
190
+ version: '1'
185
191
  type: :development
186
192
  prerelease: false
187
193
  version_requirements: !ruby/object:Gem::Requirement
188
- none: false
189
194
  requirements:
190
- - - ! '>='
195
+ - - ~>
191
196
  - !ruby/object:Gem::Version
192
- version: '0'
197
+ version: '1'
193
198
  - !ruby/object:Gem::Dependency
194
199
  name: factory_girl_rails
195
200
  requirement: !ruby/object:Gem::Requirement
196
- none: false
197
201
  requirements:
198
202
  - - ~>
199
203
  - !ruby/object:Gem::Version
200
- version: 1.7.0
204
+ version: '1'
201
205
  type: :development
202
206
  prerelease: false
203
207
  version_requirements: !ruby/object:Gem::Requirement
204
- none: false
205
208
  requirements:
206
209
  - - ~>
207
210
  - !ruby/object:Gem::Version
208
- version: 1.7.0
211
+ version: '1'
209
212
  - !ruby/object:Gem::Dependency
210
213
  name: factory_girl
211
214
  requirement: !ruby/object:Gem::Requirement
212
- none: false
213
215
  requirements:
214
216
  - - ~>
215
217
  - !ruby/object:Gem::Version
216
- version: 2.6.4
218
+ version: '2'
217
219
  type: :development
218
220
  prerelease: false
219
221
  version_requirements: !ruby/object:Gem::Requirement
220
- none: false
221
222
  requirements:
222
223
  - - ~>
223
224
  - !ruby/object:Gem::Version
224
- version: 2.6.4
225
+ version: '2'
225
226
  - !ruby/object:Gem::Dependency
226
227
  name: slim-rails
227
228
  requirement: !ruby/object:Gem::Requirement
228
- none: false
229
229
  requirements:
230
230
  - - ~>
231
231
  - !ruby/object:Gem::Version
232
- version: 1.0.0
232
+ version: '1.0'
233
+ type: :development
234
+ prerelease: false
235
+ version_requirements: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - ~>
238
+ - !ruby/object:Gem::Version
239
+ version: '1.0'
240
+ - !ruby/object:Gem::Dependency
241
+ name: rspec
242
+ requirement: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ~>
245
+ - !ruby/object:Gem::Version
246
+ version: '2'
233
247
  type: :development
234
248
  prerelease: false
235
249
  version_requirements: !ruby/object:Gem::Requirement
236
- none: false
237
250
  requirements:
238
251
  - - ~>
239
252
  - !ruby/object:Gem::Version
240
- version: 1.0.0
253
+ version: '2'
241
254
  - !ruby/object:Gem::Dependency
242
255
  name: rspec-rails
243
256
  requirement: !ruby/object:Gem::Requirement
244
- none: false
245
257
  requirements:
246
258
  - - ~>
247
259
  - !ruby/object:Gem::Version
248
- version: 2.11.0
260
+ version: '2'
249
261
  type: :development
250
262
  prerelease: false
251
263
  version_requirements: !ruby/object:Gem::Requirement
252
- none: false
253
264
  requirements:
254
265
  - - ~>
255
266
  - !ruby/object:Gem::Version
256
- version: 2.11.0
267
+ version: '2'
257
268
  description: The missing R to the Rails MVC
258
- email: support@viewmodels.com
269
+ email: beat.richartz@gmail.com
259
270
  executables: []
260
- extensions: []
271
+ extensions:
272
+ - ext/mkrf_conf.rb
261
273
  extra_rdoc_files: []
262
274
  files:
263
275
  - .bundle/config
@@ -272,7 +284,6 @@ files:
272
284
  - Appraisals
273
285
  - CHANGELOG
274
286
  - Gemfile
275
- - Gemfile.lock
276
287
  - MIT-LICENSE
277
288
  - README.textile
278
289
  - Rakefile
@@ -311,10 +322,12 @@ files:
311
322
  - doc/js/jquery.js
312
323
  - doc/method_list.html
313
324
  - doc/top-level-namespace.html
325
+ - ext/mkrf_conf.rb
314
326
  - feature_support/testapp/app/controllers/heroes_controller.rb
315
327
  - feature_support/testapp/app/controllers/users_controller.rb
316
328
  - feature_support/testapp/app/helpers/application_helper.rb
317
329
  - feature_support/testapp/app/models/hero.rb
330
+ - feature_support/testapp/app/models/test.rb
318
331
  - feature_support/testapp/app/models/user.rb
319
332
  - feature_support/testapp/app/view_models/hero.rb
320
333
  - feature_support/testapp/app/view_models/test.rb
@@ -327,6 +340,7 @@ files:
327
340
  - feature_support/testapp/config/database.yml
328
341
  - feature_support/testapp/config/environments/cucumber.rb
329
342
  - feature_support/testapp/config/environments/test.rb
343
+ - feature_support/testapp/config/initializers/prevent_test_unit_auto_run.rb
330
344
  - feature_support/testapp/config/routes.rb
331
345
  - feature_support/testapp/db/migrate/1_create_users.rb
332
346
  - feature_support/testapp/features/inheritance.feature
@@ -339,9 +353,6 @@ files:
339
353
  - features/rails_integration.feature
340
354
  - features/step_definitions/rails_steps.rb
341
355
  - features/support/env.rb
342
- - gemfiles/3.0.Gemfile
343
- - gemfiles/3.1.Gemfile
344
- - gemfiles/3.2.gemfile
345
356
  - lib/rails/generators/view_models/USAGE
346
357
  - lib/rails/generators/view_models/templates/views/_collection.html.erb
347
358
  - lib/rails/generators/view_models/templates/views/_collection.html.haml
@@ -379,31 +390,30 @@ files:
379
390
  - spec/lib/view_models/view_spec.rb
380
391
  - spec/spec_helper.rb
381
392
  - spec/spec_helper_extensions.rb
382
- - view_models-3.0.0.gem
383
393
  - view_models.gemspec
384
- homepage: http://florianhanke.com/view_models/
385
- licenses: []
394
+ homepage: https://github.com/beatrichartz/view_models
395
+ licenses:
396
+ - MIT
397
+ metadata: {}
386
398
  post_install_message:
387
399
  rdoc_options: []
388
400
  require_paths:
389
401
  - lib
390
402
  required_ruby_version: !ruby/object:Gem::Requirement
391
- none: false
392
403
  requirements:
393
- - - ! '>='
404
+ - - '>='
394
405
  - !ruby/object:Gem::Version
395
406
  version: '0'
396
407
  required_rubygems_version: !ruby/object:Gem::Requirement
397
- none: false
398
408
  requirements:
399
- - - ! '>='
409
+ - - '>='
400
410
  - !ruby/object:Gem::Version
401
411
  version: '0'
402
412
  requirements: []
403
413
  rubyforge_project:
404
- rubygems_version: 1.8.24
414
+ rubygems_version: 2.0.3
405
415
  signing_key:
406
- specification_version: 3
416
+ specification_version: 4
407
417
  summary: The missing R to the Rails MVC
408
418
  test_files:
409
419
  - features/rails_integration.feature
@@ -417,4 +427,3 @@ test_files:
417
427
  - spec/lib/view_models/view_spec.rb
418
428
  - spec/spec_helper.rb
419
429
  - spec/spec_helper_extensions.rb
420
- has_rdoc:
@@ -1,174 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- view_models (3.0.0)
5
- actionmailer (>= 3.0.0)
6
- actionpack (>= 3.0.0)
7
- activerecord (>= 3.0.0)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- RedCloth (4.2.9)
13
- actionmailer (3.2.8)
14
- actionpack (= 3.2.8)
15
- mail (~> 2.4.4)
16
- actionpack (3.2.8)
17
- activemodel (= 3.2.8)
18
- activesupport (= 3.2.8)
19
- builder (~> 3.0.0)
20
- erubis (~> 2.7.0)
21
- journey (~> 1.0.4)
22
- rack (~> 1.4.0)
23
- rack-cache (~> 1.2)
24
- rack-test (~> 0.6.1)
25
- sprockets (~> 2.1.3)
26
- activemodel (3.2.8)
27
- activesupport (= 3.2.8)
28
- builder (~> 3.0.0)
29
- activerecord (3.2.8)
30
- activemodel (= 3.2.8)
31
- activesupport (= 3.2.8)
32
- arel (~> 3.0.2)
33
- tzinfo (~> 0.3.29)
34
- activesupport (3.2.8)
35
- i18n (~> 0.6)
36
- multi_json (~> 1.0)
37
- addressable (2.3.2)
38
- appraisal (0.4.1)
39
- bundler
40
- rake
41
- arel (3.0.2)
42
- aruba (0.4.11)
43
- childprocess (>= 0.2.3)
44
- cucumber (>= 1.1.1)
45
- ffi (>= 1.0.11)
46
- rspec (>= 2.7.0)
47
- builder (3.0.3)
48
- capybara (1.1.2)
49
- mime-types (>= 1.16)
50
- nokogiri (>= 1.3.3)
51
- rack (>= 1.0.0)
52
- rack-test (>= 0.5.4)
53
- selenium-webdriver (~> 2.0)
54
- xpath (~> 0.1.4)
55
- childprocess (0.3.5)
56
- ffi (~> 1.0, >= 1.0.6)
57
- cucumber (1.2.1)
58
- builder (>= 2.1.2)
59
- diff-lcs (>= 1.1.3)
60
- gherkin (~> 2.11.0)
61
- json (>= 1.4.6)
62
- cucumber-rails (1.3.0)
63
- capybara (>= 1.1.2)
64
- cucumber (>= 1.1.8)
65
- nokogiri (>= 1.5.0)
66
- database_cleaner (0.8.0)
67
- diff-lcs (1.1.3)
68
- erubis (2.7.0)
69
- factory_girl (2.6.4)
70
- activesupport (>= 2.3.9)
71
- factory_girl_rails (1.7.0)
72
- factory_girl (~> 2.6.0)
73
- railties (>= 3.0.0)
74
- ffi (1.1.5)
75
- gherkin (2.11.2)
76
- json (>= 1.4.6)
77
- hike (1.2.1)
78
- i18n (0.6.1)
79
- journey (1.0.4)
80
- json (1.7.5)
81
- libwebsocket (0.1.5)
82
- addressable
83
- mail (2.4.4)
84
- i18n (>= 0.4.0)
85
- mime-types (~> 1.16)
86
- treetop (~> 1.4.8)
87
- mime-types (1.19)
88
- multi_json (1.3.6)
89
- nokogiri (1.5.5)
90
- polyglot (0.3.3)
91
- rack (1.4.1)
92
- rack-cache (1.2)
93
- rack (>= 0.4)
94
- rack-ssl (1.3.2)
95
- rack
96
- rack-test (0.6.1)
97
- rack (>= 1.0)
98
- railties (3.2.8)
99
- actionpack (= 3.2.8)
100
- activesupport (= 3.2.8)
101
- rack-ssl (~> 1.3.2)
102
- rake (>= 0.8.7)
103
- rdoc (~> 3.4)
104
- thor (>= 0.14.6, < 2.0)
105
- rake (0.9.2.2)
106
- rdoc (3.12)
107
- json (~> 1.4)
108
- rspec (2.11.0)
109
- rspec-core (~> 2.11.0)
110
- rspec-expectations (~> 2.11.0)
111
- rspec-mocks (~> 2.11.0)
112
- rspec-core (2.11.1)
113
- rspec-expectations (2.11.3)
114
- diff-lcs (~> 1.1.3)
115
- rspec-mocks (2.11.3)
116
- rspec-rails (2.11.0)
117
- actionpack (>= 3.0)
118
- activesupport (>= 3.0)
119
- railties (>= 3.0)
120
- rspec (~> 2.11.0)
121
- rubyzip (0.9.9)
122
- selenium-webdriver (2.25.0)
123
- childprocess (>= 0.2.5)
124
- libwebsocket (~> 0.1.3)
125
- multi_json (~> 1.0)
126
- rubyzip
127
- slim (1.3.0)
128
- temple (~> 0.4.1)
129
- tilt (~> 1.3.3)
130
- slim-rails (1.0.3)
131
- actionpack (~> 3.0)
132
- activesupport (~> 3.0)
133
- railties (~> 3.0)
134
- slim (~> 1.0)
135
- sprockets (2.1.3)
136
- hike (~> 1.2)
137
- rack (~> 1.0)
138
- tilt (~> 1.1, != 1.3.0)
139
- sqlite3 (1.3.6)
140
- temple (0.4.1)
141
- thor (0.16.0)
142
- tilt (1.3.3)
143
- treetop (1.4.11)
144
- polyglot
145
- polyglot (>= 0.3.1)
146
- tzinfo (0.3.33)
147
- xpath (0.1.4)
148
- nokogiri (~> 1.3)
149
- yard (0.8.3)
150
-
151
- PLATFORMS
152
- ruby
153
-
154
- DEPENDENCIES
155
- RedCloth
156
- activerecord-jdbc-adapter
157
- activerecord-jdbcsqlite3-adapter
158
- appraisal (~> 0.4.0)
159
- aruba
160
- bundler (>= 1.1.0)
161
- cucumber
162
- cucumber-rails
163
- database_cleaner
164
- factory_girl (~> 2.6.4)
165
- factory_girl_rails (~> 1.7.0)
166
- jdbc-sqlite3
167
- jruby-openssl
168
- rake (>= 0.8.7)
169
- rspec-rails (~> 2.11.0)
170
- slim-rails (~> 1.0.0)
171
- sqlite3
172
- therubyrhino
173
- view_models!
174
- yard
@@ -1,13 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source :rubygems
4
-
5
- gem "sqlite3", :platform=>:ruby
6
- gem "activerecord-jdbc-adapter", :platform=>:jruby
7
- gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
- gem "jdbc-sqlite3", :platform=>:jruby
9
- gem "jruby-openssl", :platform=>:jruby
10
- gem "therubyrhino", :platform=>:jruby
11
- gem "rails", "~> 3.0.0"
12
-
13
- gemspec :path=>"../"
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source :rubygems
4
-
5
- gem "sqlite3", :platform=>:ruby
6
- gem "activerecord-jdbc-adapter", :platform=>:jruby
7
- gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
- gem "jdbc-sqlite3", :platform=>:jruby
9
- gem "jruby-openssl", :platform=>:jruby
10
- gem "therubyrhino", :platform=>:jruby
11
- gem "rails", "~> 3.1.0"
12
- gem "jquery-rails"
13
- gem "sass-rails"
14
-
15
- gemspec :path=>"../"
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source :rubygems
4
-
5
- gem "sqlite3", :platform=>:ruby
6
- gem "activerecord-jdbc-adapter", :platform=>:jruby
7
- gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
8
- gem "jdbc-sqlite3", :platform=>:jruby
9
- gem "jruby-openssl", :platform=>:jruby
10
- gem "therubyrhino", :platform=>:jruby
11
- gem "rails", "~> 3.2.0"
12
- gem "jquery-rails"
13
- gem "sass-rails"
14
-
15
- gemspec :path=>"../"
Binary file