"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/models/email_address.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

email_address.rb  (redmine-4.1.0):email_address.rb  (redmine-4.1.1)
skipping to change at line 23 skipping to change at line 23
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA . # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA .
class EmailAddress < ActiveRecord::Base class EmailAddress < ActiveRecord::Base
include Redmine::SafeAttributes include Redmine::SafeAttributes
EMAIL_REGEXP = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i EMAIL_REGEXP = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+(?:(?:xn--[-a-z0-9]+)|(?:[a-z]{2 ,})))\z/i
belongs_to :user belongs_to :user
after_update :destroy_tokens after_update :destroy_tokens
after_destroy :destroy_tokens after_destroy :destroy_tokens
after_create_commit :deliver_security_notification_create after_create_commit :deliver_security_notification_create
after_update_commit :deliver_security_notification_update after_update_commit :deliver_security_notification_update
after_destroy_commit :deliver_security_notification_destroy after_destroy_commit :deliver_security_notification_destroy
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)