Hello community,
here is the log from the commit of package rubygem-actionpack-4_2 for
openSUSE:Factory checked in at 2015-03-27 09:39:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-4_2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionpack-4_2"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionpack-4_2/rubygem-actionpack-4_2.changes
2015-02-16 21:09:12.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new/rubygem-actionpack-4_2.changes
2015-03-27 09:40:00.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Mar 22 09:07:28 UTC 2015 - [email protected]
+
+- updated to version 4.2.1, see CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
actionpack-4.2.0.gem
New:
----
actionpack-4.2.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionpack-4_2.spec ++++++
--- /var/tmp/diff_new_pack.jcBrLp/_old 2015-03-27 09:40:01.000000000 +0100
+++ /var/tmp/diff_new_pack.jcBrLp/_new 2015-03-27 09:40:01.000000000 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-actionpack-4_2
-Version: 4.2.0
+Version: 4.2.1
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
++++++ actionpack-4.2.0.gem -> actionpack-4.2.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2014-12-20 01:14:37.000000000 +0100
+++ new/CHANGELOG.md 2015-03-19 17:41:11.000000000 +0100
@@ -1,3 +1,89 @@
+## Rails 4.2.1 (March 19, 2014) ##
+
+* Non-string authenticity tokens do not raise NoMethodError when decoding
+ the masked token.
+
+ *Ville Lautanala*
+
+* Explicitly ignored wildcard verbs when searching for HEAD routes before
fallback
+
+ Fixes an issue where a mounted rack app at root would intercept the HEAD
+ request causing an incorrect behavior during the fall back to GET requests.
+
+ Example:
+ ```ruby
+ draw do
+ get '/home' => 'test#index'
+ mount rack_app, at: '/'
+ end
+ head '/home'
+ assert_response :success
+ ```
+ In this case, a HEAD request runs through the routes the first time and
fails
+ to match anything. Then, it runs through the list with the fallback and
matches
+ `get '/home'`. The original behavior would match the rack app in the first
pass.
+
+ *Terence Sun*
+
+* Preserve default format when generating URLs
+
+ Fixes an issue that would cause the format set in default_url_options to be
+ lost when generating URLs with fewer positional arguments than parameters
in
+ the route definition.
+
+ Backport of #18627
+
+ *Tekin Suleyman*, *Dominic Baggott*
+
+* Default headers, removed in controller actions, are no longer reapplied on
+ the test response.
+
+ *Jonas Baumann*
+
+* Ensure `append_info_to_payload` is called even if an exception is raised.
+
+ Fixes an issue where when an exception is raised in the request the
additonal
+ payload data is not available.
+
+ See:
+ * #14903
+ * https://github.com/roidrage/lograge/issues/37
+
+ *Dieter Komendera*, *Margus Pärt*
+
+* Correctly rely on the response's status code to handle calls to `head`.
+
+ *Robin Dupret*
+
+* Using `head` method returns empty response_body instead
+ of returning a single space " ".
+
+ The old behavior was added as a workaround for a bug in an early
+ version of Safari, where the HTTP headers are not returned correctly
+ if the response body has a 0-length. This is been fixed since and
+ the workaround is no longer necessary.
+
+ Fixes #18253.
+
+ *Prathamesh Sonpatki*
+
+* Fix how polymorphic routes works with objects that implement `to_model`.
+
+ *Travis Grathwell*
+
+* Fixed handling of positional url helper arguments when `format: false`.
+
+ Fixes #17819.
+
+ *Andrew White*, *Tatiana Soukiassian*
+
+* Fixed usage of optional scopes in URL helpers.
+
+ *Alex Robbin*
+
+
+## Rails 4.2.0 (December 20, 2014) ##
+
* Add `ActionController::Parameters#to_unsafe_h` to return an unfiltered
`Hash` representation of Parameters object. This is now a preferred way to
retrieve unfiltered parameters as we will stop inheriting `AC::Parameters`
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/metal/head.rb
new/lib/action_controller/metal/head.rb
--- old/lib/action_controller/metal/head.rb 2014-12-20 01:14:37.000000000
+0100
+++ new/lib/action_controller/metal/head.rb 2015-03-19 17:41:11.000000000
+0100
@@ -29,15 +29,17 @@
self.status = status
self.location = url_for(location) if location
- if include_content?(self._status_code)
+ self.response_body = ""
+
+ if include_content?(self.response_code)
self.content_type = content_type || (Mime[formats.first] if formats)
self.response.charset = false if self.response
- self.response_body = " "
else
headers.delete('Content-Type')
headers.delete('Content-Length')
- self.response_body = ""
end
+
+ true
end
private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/metal/http_authentication.rb
new/lib/action_controller/metal/http_authentication.rb
--- old/lib/action_controller/metal/http_authentication.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_controller/metal/http_authentication.rb 2015-03-19
17:41:11.000000000 +0100
@@ -53,10 +53,8 @@
# In your integration tests, you can do something like this:
#
# def test_access_granted_from_xml
- # get(
- # "/notes/1.xml", nil,
- # 'HTTP_AUTHORIZATION' =>
ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name,
users(:dhh).password)
- # )
+ # @request.env['HTTP_AUTHORIZATION'] =
ActionController::HttpAuthentication::Basic.encode_credentials(users(:dhh).name,
users(:dhh).password)
+ # get "/notes/1.xml"
#
# assert_equal 200, status
# end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/metal/instrumentation.rb
new/lib/action_controller/metal/instrumentation.rb
--- old/lib/action_controller/metal/instrumentation.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_controller/metal/instrumentation.rb 2015-03-19
17:41:11.000000000 +0100
@@ -28,10 +28,13 @@
ActiveSupport::Notifications.instrument("start_processing.action_controller",
raw_payload.dup)
ActiveSupport::Notifications.instrument("process_action.action_controller",
raw_payload) do |payload|
- result = super
- payload[:status] = response.status
- append_info_to_payload(payload)
- result
+ begin
+ result = super
+ payload[:status] = response.status
+ result
+ ensure
+ append_info_to_payload(payload)
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/metal/mime_responds.rb
new/lib/action_controller/metal/mime_responds.rb
--- old/lib/action_controller/metal/mime_responds.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_controller/metal/mime_responds.rb 2015-03-19
17:41:11.000000000 +0100
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/array/extract_options'
require 'abstract_controller/collector'
module ActionController #:nodoc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/action_controller/metal/request_forgery_protection.rb
new/lib/action_controller/metal/request_forgery_protection.rb
--- old/lib/action_controller/metal/request_forgery_protection.rb
2014-12-20 01:14:37.000000000 +0100
+++ new/lib/action_controller/metal/request_forgery_protection.rb
2015-03-19 17:41:11.000000000 +0100
@@ -274,7 +274,9 @@
# session token. Essentially the inverse of
# +masked_authenticity_token+.
def valid_authenticity_token?(session, encoded_masked_token)
- return false if encoded_masked_token.nil? ||
encoded_masked_token.empty?
+ if encoded_masked_token.nil? || encoded_masked_token.empty? ||
!encoded_masked_token.is_a?(String)
+ return false
+ end
begin
masked_token = Base64.strict_decode64(encoded_masked_token)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/metal.rb
new/lib/action_controller/metal.rb
--- old/lib/action_controller/metal.rb 2014-12-20 01:14:37.000000000 +0100
+++ new/lib/action_controller/metal.rb 2015-03-19 17:41:11.000000000 +0100
@@ -173,6 +173,7 @@
def status
@_status
end
+ alias :response_code :status # :nodoc:
def status=(status)
@_status = Rack::Utils.status_code(status)
@@ -236,9 +237,5 @@
lambda { |env| new.dispatch(name, klass.new(env)) }
end
end
-
- def _status_code #:nodoc:
- @_status
- end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/test_case.rb
new/lib/action_controller/test_case.rb
--- old/lib/action_controller/test_case.rb 2014-12-20 01:14:37.000000000
+0100
+++ new/lib/action_controller/test_case.rb 2015-03-19 17:41:11.000000000
+0100
@@ -67,7 +67,10 @@
def reset_template_assertion
RENDER_TEMPLATE_INSTANCE_VARIABLES.each do |instance_variable|
- instance_variable_get("@_#{instance_variable}").clear
+ ivar_name = "@_#{instance_variable}"
+ if instance_variable_defined?(ivar_name)
+ instance_variable_get(ivar_name).clear
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/http/cache.rb
new/lib/action_dispatch/http/cache.rb
--- old/lib/action_dispatch/http/cache.rb 2014-12-20 01:14:37.000000000
+0100
+++ new/lib/action_dispatch/http/cache.rb 2015-03-19 17:41:11.000000000
+0100
@@ -69,17 +69,17 @@
end
def date
- if date_header = headers['Date']
+ if date_header = headers[DATE]
Time.httpdate(date_header)
end
end
def date?
- headers.include?('Date')
+ headers.include?(DATE)
end
def date=(utc_time)
- headers['Date'] = utc_time.httpdate
+ headers[DATE] = utc_time.httpdate
end
def etag=(etag)
@@ -89,6 +89,7 @@
private
+ DATE = 'Date'.freeze
LAST_MODIFIED = "Last-Modified".freeze
ETAG = "ETag".freeze
CACHE_CONTROL = "Cache-Control".freeze
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/http/parameter_filter.rb
new/lib/action_dispatch/http/parameter_filter.rb
--- old/lib/action_dispatch/http/parameter_filter.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_dispatch/http/parameter_filter.rb 2015-03-19
17:41:11.000000000 +0100
@@ -56,7 +56,7 @@
elsif value.is_a?(Array)
value = value.map { |v| v.is_a?(Hash) ? call(v) : v }
elsif blocks.any?
- key = key.dup
+ key = key.dup if key.duplicable?
value = value.dup if value.duplicable?
blocks.each { |b| b.call(key, value) }
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/journey/router.rb
new/lib/action_dispatch/journey/router.rb
--- old/lib/action_dispatch/journey/router.rb 2014-12-20 01:14:37.000000000
+0100
+++ new/lib/action_dispatch/journey/router.rb 2015-03-19 17:41:11.000000000
+0100
@@ -121,6 +121,7 @@
end
def match_head_routes(routes, req)
+ routes.delete_if { |route| route.verb == // }
head_routes = match_routes(routes, req)
if head_routes.empty?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/mapper.rb
new/lib/action_dispatch/routing/mapper.rb
--- old/lib/action_dispatch/routing/mapper.rb 2014-12-20 01:14:37.000000000
+0100
+++ new/lib/action_dispatch/routing/mapper.rb 2015-03-19 17:41:11.000000000
+0100
@@ -1520,7 +1520,7 @@
end
def using_match_shorthand?(path, options)
- path && (options[:to] || options[:action]).nil? && path =~
%r{/[\w/]+$}
+ path && (options[:to] || options[:action]).nil? && path =~
%r{^/?[-\w]+/[-\w/]+$}
end
def decomposed_match(path, options) # :nodoc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/polymorphic_routes.rb
new/lib/action_dispatch/routing/polymorphic_routes.rb
--- old/lib/action_dispatch/routing/polymorphic_routes.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_dispatch/routing/polymorphic_routes.rb 2015-03-19
17:41:11.000000000 +0100
@@ -251,7 +251,7 @@
args = []
model = record.to_model
- name = if record.persisted?
+ name = if model.persisted?
args << model
model.model_name.singular_route_key
else
@@ -294,11 +294,12 @@
when Class
@key_strategy.call record.model_name
else
- if record.persisted?
- args << record.to_model
- record.to_model.model_name.singular_route_key
+ model = record.to_model
+ if model.persisted?
+ args << model
+ model.model_name.singular_route_key
else
- @key_strategy.call record.to_model.model_name
+ @key_strategy.call model.model_name
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/route_set.rb
new/lib/action_dispatch/routing/route_set.rb
--- old/lib/action_dispatch/routing/route_set.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_dispatch/routing/route_set.rb 2015-03-19
17:41:11.000000000 +0100
@@ -13,14 +13,15 @@
module ActionDispatch
module Routing
- class RouteSet #:nodoc:
+ # :stopdoc:
+ class RouteSet
# Since the router holds references to many parts of the system
# like engines, controllers and the application itself, inspecting
# the route set can actually be really slow, therefore we default
# alias inspect to to_s.
alias inspect to_s
- class Dispatcher < Routing::Endpoint #:nodoc:
+ class Dispatcher < Routing::Endpoint
def initialize(defaults)
@defaults = defaults
@controller_class_names = ThreadSafe::Cache.new
@@ -85,7 +86,7 @@
# A NamedRouteCollection instance is a collection of named routes, and
also
# maintains an anonymous module that can be used to install helpers for
the
# named routes.
- class NamedRouteCollection #:nodoc:
+ class NamedRouteCollection
include Enumerable
attr_reader :routes, :url_helpers_module
@@ -189,7 +190,7 @@
end
end
- class UrlHelper # :nodoc:
+ class UrlHelper
def self.create(route, options, route_name, url_strategy)
if optimize_helper?(route)
OptimizedUrlHelper.new(route, options, route_name, url_strategy)
@@ -204,7 +205,7 @@
attr_reader :url_strategy, :route_name
- class OptimizedUrlHelper < UrlHelper # :nodoc:
+ class OptimizedUrlHelper < UrlHelper
attr_reader :arg_size
def initialize(route, options, route_name, url_strategy)
@@ -280,14 +281,24 @@
end
def handle_positional_args(controller_options, inner_options, args,
result, path_params)
-
if args.size > 0
- if args.size < path_params.size - 1 # take format into account
+ # take format into account
+ if path_params.include?(:format)
+ path_params_size = path_params.size - 1
+ else
+ path_params_size = path_params.size
+ end
+
+ if args.size < path_params_size
path_params -= controller_options.keys
path_params -= result.keys
end
path_params.each { |param|
- result[param] = inner_options[param] || args.shift
+ value = inner_options.fetch(param) { args.shift }
+
+ unless param == :format && value.nil?
+ result[param] = value
+ end
}
end
@@ -337,7 +348,6 @@
end
end
- # :stopdoc:
# strategy for building urls to send to the client
PATH = ->(options) { ActionDispatch::Http::URL.path_for(options) }
FULL = ->(options) { ActionDispatch::Http::URL.full_url_for(options) }
@@ -368,7 +378,6 @@
PATH.call(options)
end
}
- # :startdoc:
attr_accessor :formatter, :set, :named_routes, :default_scope, :router
attr_accessor :disable_clear_and_finalize, :resources_path_names
@@ -443,7 +452,7 @@
Routing::RouteSet::Dispatcher.new(defaults)
end
- module MountedHelpers #:nodoc:
+ module MountedHelpers
extend ActiveSupport::Concern
include UrlFor
end
@@ -474,6 +483,14 @@
end
def url_helpers(supports_path = true)
+ if supports_path
+ @url_helpers_with_paths ||= generate_url_helpers(supports_path)
+ else
+ @url_helpers_without_paths ||= generate_url_helpers(supports_path)
+ end
+ end
+
+ def generate_url_helpers(supports_path)
routes = self
Module.new do
@@ -602,7 +619,7 @@
end
private :build_conditions
- class Generator #:nodoc:
+ class Generator
PARAMETERIZE = lambda do |name, value|
if name == :controller
value
@@ -754,7 +771,7 @@
options.delete(:script_name) || ''
end
- def path_for(options, route_name = nil) # :nodoc:
+ def path_for(options, route_name = nil)
url_for(options, route_name, PATH)
end
@@ -840,5 +857,6 @@
raise ActionController::RoutingError, "No route matches
#{path.inspect}"
end
end
+ # :startdoc:
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/testing/assertions/routing.rb
new/lib/action_dispatch/testing/assertions/routing.rb
--- old/lib/action_dispatch/testing/assertions/routing.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_dispatch/testing/assertions/routing.rb 2015-03-19
17:41:11.000000000 +0100
@@ -38,18 +38,24 @@
# # Test a custom route
# assert_recognizes({controller: 'items', action: 'show', id: '1'},
'view/item1')
def assert_recognizes(expected_options, path, extras={}, msg=nil)
- request = recognized_request_for(path, extras, msg)
+ if path.is_a?(Hash) && path[:method].to_s == "all"
+ [:get, :post, :put, :delete].each do |method|
+ assert_recognizes(expected_options, path.merge(method: method),
extras, msg)
+ end
+ else
+ request = recognized_request_for(path, extras, msg)
- expected_options = expected_options.clone
+ expected_options = expected_options.clone
- expected_options.stringify_keys!
+ expected_options.stringify_keys!
- msg = message(msg, "") {
- sprintf("The recognized options <%s> did not match <%s>,
difference:",
- request.path_parameters, expected_options)
- }
+ msg = message(msg, "") {
+ sprintf("The recognized options <%s> did not match <%s>,
difference:",
+ request.path_parameters, expected_options)
+ }
- assert_equal(expected_options, request.path_parameters, msg)
+ assert_equal(expected_options, request.path_parameters, msg)
+ end
end
# Asserts that the provided options can be used to generate the provided
path. This is the inverse of +assert_recognizes+.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/testing/test_response.rb
new/lib/action_dispatch/testing/test_response.rb
--- old/lib/action_dispatch/testing/test_response.rb 2014-12-20
01:14:37.000000000 +0100
+++ new/lib/action_dispatch/testing/test_response.rb 2015-03-19
17:41:11.000000000 +0100
@@ -25,5 +25,12 @@
# Was there a server-side error?
alias_method :error?, :server_error?
+
+ def merge_default_headers(original, *args)
+ # Default headers are already applied, no need to merge them a second
time.
+ # This makes sure that default headers, removed in controller actions,
will
+ # not be reapplied to the test response.
+ original
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_pack/gem_version.rb
new/lib/action_pack/gem_version.rb
--- old/lib/action_pack/gem_version.rb 2014-12-20 01:14:37.000000000 +0100
+++ new/lib/action_pack/gem_version.rb 2015-03-19 17:41:11.000000000 +0100
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 4
MINOR = 2
- TINY = 0
+ TINY = 1
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-12-20 01:14:37.000000000 +0100
+++ new/metadata 2015-03-19 17:41:11.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2014-12-20 00:00:00.000000000 Z
+date: 2015-03-19 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,28 +16,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 1.6.0
+ version: '1.6'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 1.6.0
+ version: '1.6'
- !ruby/object:Gem::Dependency
name: rack-test
requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.0
+ version: 4.2.1
description: Web apps on Rails. Simple, battle-tested conventions for building
and
testing MVC web applications. Works with any Rack-compatible server.
email: [email protected]
@@ -300,7 +300,7 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.2.2
+rubygems_version: 2.4.5
signing_key:
specification_version: 4
summary: Web-flow and rendering framework putting the VC in MVC (part of
Rails).
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.jcBrLp/_old 2015-03-27 09:40:01.000000000 +0100
+++ /var/tmp/diff_new_pack.jcBrLp/_new 2015-03-27 09:40:01.000000000 +0100
@@ -1,76 +1,5 @@
-# ---
-# ## used by gem2rpm
-# :summary: this is a custom summary
-# ## used by gem2rpm
-# :description: |-
-# this is a custom description
-#
-# it can be multiline
-# ## used by gem2rpm
-# :license: MIT or Ruby
-# ## used by gem2rpm and gem_packages
-# :version_suffix: -x_y
-# ## used by gem2rpm and gem_packages
-# :disable_docs: true
-# ## used by gem2rpm
-# :disable_automatic_rdoc_dep: true
-# ## used by gem2rpm
-# :preamble: |-
-# BuildRequires: foobar
-# Requires: foobar
-# ## used by gem2rpm
-# :patches:
-# foo.patch: -p1
-# bar.patch:
-# ## used by gem2rpm
-# :sources:
-# - foo.desktop
-# - bar.desktop
-# :gem_install_args: '....'
-# ## used by gem2rpm
-# :pre_install: |-
-# %if 0%{?use_system_libev}
-# export USE_VENDORED_LIBEV="no"
-# %endif
-# ## used by gem2rpm
-# :post_install: |-
-# # delete custom files here or do other fancy stuff
-# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
-# ## used by gem2rpm
-# :testsuite_command: |-
-# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
-# ## used by gem2rpm
-# :filelist: |-
-# /usr/bin/gem2rpm-opensuse
-# ## used by gem2rpm
-# :scripts:
-# :post: |-
-# /bin/echo foo
-# ## used by gem_packages
-# :main:
-# :preamble: |-
-# Requires: util-linux
-# Recommends: pwgen
-# :filelist: |-
-# /usr/bin/gem2rpm-opensuse
-# ## used by gem_packages
-# :custom:
-# apache:
-# :preamble: |-
-# Requires: .....
-# :filelist: |-
-# /etc/apache2/conf.d/passenger.conf
-# :summary: Custom summary is optional
-# :description: |-
-# Custom description is optional
-#
-# bar
-# :post: |-
-# /bin/echo foo
-#
---
:version_suffix: '-4_2'
-
:preamble: |-
%if 0%{?suse_version} == 1110
%define rb_build_versions ruby21
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]