head	1.7;
access;
symbols
	pkgsrc-2025Q4:1.6.0.26
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.24
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.22
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.20
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.6.0.18
	pkgsrc-2024Q4-base:1.6
	pkgsrc-2024Q3:1.6.0.16
	pkgsrc-2024Q3-base:1.6
	pkgsrc-2024Q2:1.6.0.14
	pkgsrc-2024Q2-base:1.6
	pkgsrc-2024Q1:1.6.0.12
	pkgsrc-2024Q1-base:1.6
	pkgsrc-2023Q4:1.6.0.10
	pkgsrc-2023Q4-base:1.6
	pkgsrc-2023Q3:1.6.0.8
	pkgsrc-2023Q3-base:1.6
	pkgsrc-2023Q2:1.6.0.6
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.6.0.4
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.2
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.5.0.2
	pkgsrc-2022Q3-base:1.5
	pkgsrc-2022Q2:1.4.0.2
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.1.0.2
	pkgsrc-2021Q4-base:1.1;
locks; strict;
comment	@# @;


1.7
date	2026.02.23.14.43.27;	author taca;	state dead;
branches;
next	1.6;
commitid	Y9mbbCFEEtflIvvG;

1.6
date	2022.10.10.03.36.48;	author taca;	state Exp;
branches;
next	1.5;
commitid	kzMMc07TZtD6D7XD;

1.5
date	2022.07.13.14.48.48;	author taca;	state Exp;
branches;
next	1.4;
commitid	HbtQLfL8RPs5dKLD;

1.4
date	2022.06.07.15.22.14;	author taca;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	sIYxvX5WrhJey7HD;

1.3
date	2022.03.27.06.43.11;	author wiz;	state Exp;
branches;
next	1.2;
commitid	4SMFSJpfr2RCZOxD;

1.2
date	2022.03.27.06.29.59;	author wiz;	state Exp;
branches;
next	1.1;
commitid	gbFLATYSBEYbVOxD;

1.1
date	2021.12.19.06.18.55;	author taca;	state Exp;
branches;
next	;
commitid	CTnFPVadILSG0elD;

1.4.2.1
date	2022.07.23.19.40.54;	author spz;	state Exp;
branches;
next	;
commitid	fjU9UaixYjgpv3ND;


desc
@@


1.7
log
@www/ruby-rails70: Remove Ruby on Rails 7.0.x pacakges

EOL since 2025-10-29.
@
text
@# $NetBSD: Makefile,v 1.6 2022/10/10 03:36:48 taca Exp $

DISTNAME=	railties-${RAILS_VERSION}
PKGNAME=	${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.rubyonrails.org/
COMMENT=	Tools for creating, working with, and running Rails 7.0
LICENSE=	mit

DEPENDS+=	${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+=	${RUBY_PKGPREFIX}-thor>=1.0<2:../../devel/ruby-thor
DEPENDS+=	${RUBY_PKGPREFIX}-method_source-[0-9]*:../../misc/ruby-method_source
DEPENDS+=	${RUBY_PKGPREFIX}-zeitwerk>=2.5<3:../../devel/ruby-zeitwerk

USE_LANGUAGES=	# none

RUBY_RAILS_ACCEPTED=	70
RUBY_RAILS_STRICT_DEP=	yes
RUBYGEM_OPTIONS+=	--format-executable
OVERRIDE_GEMSPEC+=	:executables rails=rails${RUBY_RAILS} \
			:files exe/rails=exe/rails${RUBY_RAILS}

pre-configure:
	${TEST} -f ${WRKSRC}/exe/rails${RUBY_RAILS} || \
		${MV} ${WRKSRC}/exe/rails ${WRKSRC}/exe/rails${RUBY_RAILS}
	${CHMOD} ${BINMODE} ${WRKSRC}/exe/rails${RUBY_RAILS}

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
@


1.6
log
@Remove lines for Ruby 2.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/07/13 14:48:48 taca Exp $
@


1.5
log
@www/ruby-rails70: update to 7.0.3.1

Rails 7.0.3.1 (2022-07-12) updates databases/ruby-activerecord70 only.

databases/ruby-activerecord70

* Change ActiveRecord::Coders::YAMLColumn default to safe_load

  This adds two new configuration options The configuration options are as
  follows:

	o config.active_storage.use_yaml_unsafe_load

  When set to true, this configuration option tells Rails to use the old
  "unsafe" YAML loading strategy, maintaining the existing behavior but
  leaving the possible escalation vulnerability in place.  Setting this
  option to true is *not* recommended, but can aid in upgrading.

	o config.active_record.yaml_column_permitted_classes

  The "safe YAML" loading method does not allow all classes to be
  deserialized by default.  This option allows you to specify classes deemed
  "safe" in your application.  For example, if your application uses Symbol
  and Time in serialized data, you can add Symbol and Time to the allowed
  list as follows:


	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]


  [CVE-2022-32224]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/06/07 15:22:14 taca Exp $
a24 2
RUBY_VERSIONS_INCOMPATIBLE=	26

@


1.4
log
@devel/ruby-railties70: update to 7.0.3

7.0.3 (2022-05-12)

* If reloading and eager loading are both enabled, after a reload Rails
  eager loads again the application code.

* Use controller_class_path in Rails::Generators::NamedBase#route_url

  The route_url method now returns the correct path when generating a
  namespaced controller with a top-level model using --model-name.

  Previously, when running this command:

	bin/rails generate scaffold_controller Admin/Post --model-name Post

  the comments above the controller action would look like:

	# GET /posts
	def index
	  @@posts = Post.all
	end

  afterwards, they now look like this:

	# GET /admin/posts
	def index
	  @@posts = Post.all
	end

  Fixes #44662.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/03/27 06:43:11 wiz Exp $
d23 1
a23 2
			:files exe/rails=exe/rails${RUBY_RAILS} \
			:files lib/rails/.DS_Store=
@


1.4.2.1
log
@Pullup ticket #6656 - requested by taca
databases/ruby-activerecord70: security update
devel/ruby-activejob70: security update
devel/ruby-activemodel70: security update
devel/ruby-activestorage70: security update
devel/ruby-activesupport70: security update
devel/ruby-railties70: security update
mail/ruby-actionmailbox70: security update
mail/ruby-actionmailer70: security update
textproc/ruby-actiontext70: security update
www/ruby-actioncable70: security update
www/ruby-actionpack70: security update
www/ruby-actionview70: security update
www/ruby-rails70: security update


Revisions pulled up:
- databases/ruby-activerecord70/distinfo                        1.7
- devel/ruby-activejob70/distinfo                               1.7
- devel/ruby-activemodel70/distinfo                             1.7
- devel/ruby-activestorage70/distinfo                           1.7
- devel/ruby-activesupport70/distinfo                           1.7
- devel/ruby-railties70/Makefile                                1.5
- devel/ruby-railties70/distinfo                                1.7
- lang/ruby/rails.mk                                            1.132
- mail/ruby-actionmailbox70/distinfo                            1.7
- mail/ruby-actionmailer70/distinfo                             1.7
- textproc/ruby-actiontext70/distinfo                           1.7
- www/ruby-actioncable70/distinfo                               1.7
- www/ruby-actionpack70/distinfo                                1.7
- www/ruby-actionview70/distinfo                                1.7
- www/ruby-rails70/distinfo                                     1.7

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Jul 13 14:48:48 UTC 2022

   Modified Files:
   	pkgsrc/databases/ruby-activerecord70: distinfo
   	pkgsrc/devel/ruby-activejob70: distinfo
   	pkgsrc/devel/ruby-activemodel70: distinfo
   	pkgsrc/devel/ruby-activestorage70: distinfo
   	pkgsrc/devel/ruby-activesupport70: distinfo
   	pkgsrc/devel/ruby-railties70: Makefile distinfo
   	pkgsrc/lang/ruby: rails.mk
   	pkgsrc/mail/ruby-actionmailbox70: distinfo
   	pkgsrc/mail/ruby-actionmailer70: distinfo
   	pkgsrc/textproc/ruby-actiontext70: distinfo
   	pkgsrc/www/ruby-actioncable70: distinfo
   	pkgsrc/www/ruby-actionpack70: distinfo
   	pkgsrc/www/ruby-actionview70: distinfo
   	pkgsrc/www/ruby-rails70: distinfo

   Log Message:
   www/ruby-rails70: update to 7.0.3.1

   Rails 7.0.3.1 (2022-07-12) updates databases/ruby-activerecord70 only.

   databases/ruby-activerecord70

   * Change ActiveRecord::Coders::YAMLColumn default to safe_load

     This adds two new configuration options The configuration options are as
     follows:

   	o config.active_storage.use_yaml_unsafe_load

     When set to true, this configuration option tells Rails to use the old
     "unsafe" YAML loading strategy, maintaining the existing behavior but
     leaving the possible escalation vulnerability in place.  Setting this
     option to true is *not* recommended, but can aid in upgrading.

   	o config.active_record.yaml_column_permitted_classes

     The "safe YAML" loading method does not allow all classes to be
     deserialized by default.  This option allows you to specify classes deemed
     "safe" in your application.  For example, if your application uses Symbol
     and Time in serialized data, you can add Symbol and Time to the allowed
     list as follows:

   	config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]

     [CVE-2022-32224]


   To generate a diff of this commit:
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/ruby-activerecord70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activejob70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activemodel70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activestorage70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-activesupport70/distinfo
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-railties70/Makefile
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-railties70/distinfo
   cvs rdiff -u -r1.131 -r1.132 pkgsrc/lang/ruby/rails.mk
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/ruby-actionmailbox70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/ruby-actionmailer70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/ruby-actiontext70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actioncable70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actionpack70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-actionview70/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-rails70/distinfo
@
text
@d1 1
a1 1
# $NetBSD$
d23 2
a24 1
			:files exe/rails=exe/rails${RUBY_RAILS}
@


1.3
log
@rails 7.0 wants ruby 2.7+, mark it as such
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/03/27 06:29:59 wiz Exp $
d23 2
a24 1
			:files exe/rails=exe/rails${RUBY_RAILS}
@


1.2
log
@ruby*: fix rails version in COMMENT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/12/19 06:18:55 taca Exp $
d25 2
@


1.1
log
@devel/ruby-railties70: add package version 7.0.0

Railties -- Gluing the Engine to the Rails

Railties is responsible for gluing all frameworks together. Overall, it:

* handles the bootstrapping process for a Rails application;

* manages the +rails+ command line interface;

* and provides the Rails generators core.

This is for Ruby on Rails 7.0.
@
text
@d1 1
a1 1
# $NetBSD$
d9 1
a9 1
COMMENT=	Tools for creating, working with, and running Rails 6.0
@

