Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: translationexchange/tml-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: RepairShopr/tml-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 12 commits
  • 7 files changed
  • 5 contributors

Commits on Dec 18, 2020

  1. bump Rails version 5 -> 6

    lysenko committed Dec 18, 2020
    Copy the full SHA
    cd010cb View commit details

Commits on Sep 2, 2021

  1. Upgrade ruby version.

    gryaznov committed Sep 2, 2021
    Copy the full SHA
    598828c View commit details
  2. Fixnum -> Integer

    gryaznov committed Sep 2, 2021
    Copy the full SHA
    e8681de View commit details
  3. Copy the full SHA
    2af15ef View commit details

Commits on Sep 3, 2021

  1. Copy the full SHA
    21ad755 View commit details

Commits on Sep 6, 2021

  1. Merge pull request #1 from RepairShopr/ruby-2-6-upgrade

    Ruby 2.6.8 upgrade
    lysenko authored Sep 6, 2021
    Copy the full SHA
    4d881ab View commit details

Commits on Nov 14, 2024

  1. Ruby upgrade

    ajay-syncromsp committed Nov 14, 2024
    Copy the full SHA
    48acdca View commit details
  2. Merge pull request #2 from RepairShopr/ruby-3-2-6-upgrade

    Ruby 3.2 upgrade
    ajay-syncromsp authored Nov 14, 2024
    Copy the full SHA
    4c9ecd3 View commit details

Commits on Jan 7, 2025

  1. Copy the full SHA
    301fa64 View commit details
  2. Copy the full SHA
    4802104 View commit details
  3. [TQ-1172]: Bump Rails version in Gemfile

    Also use https instead of git protocol
    arocca1 authored Jan 7, 2025
    Copy the full SHA
    2537abe View commit details

Commits on Jan 9, 2025

  1. Merge pull request #3 from RepairShopr/TQ-1172-upgrade-ruby-rails

    [TQ-1172] Bump Rails version to enable RSYN Rails upgrade
    arocca1 authored Jan 9, 2025
    Copy the full SHA
    60f7fe0 View commit details
Showing with 13 additions and 12 deletions.
  1. +1 −1 .ruby-version
  2. +4 −5 Gemfile
  3. +1 −1 lib/tasks/tml.rake
  4. +1 −1 lib/tml_rails/version.rb
  5. +3 −0 spec/dummy/app/assets/config/manifest.js
  6. +2 −2 spec/dummy/app/assets/javascripts/prism_rails.js
  7. +1 −2 tml-rails.gemspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.1
3.3.6
9 changes: 4 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ Encoding.default_internal = Encoding::UTF_8

gemspec

gem 'rails', '~> 5.1'
gem 'rails', '>= 5.0', '< 9'

gem 'bundler'
gem 'puma'
@@ -46,9 +46,8 @@ gem 'dalli'
gem 'rake'
gem 'rdoc'

# gem 'tml', '~> 5.7'
# gem 'tml', :git => 'git://github.com/translationexchange/tml-ruby.git', :branch => :develop
# gem 'tml', :path => '../tml-ruby'
# Use forked version because of Ruby upgrade
gem 'tml', git: 'https://github.com/RepairShopr/tml-ruby.git', branch: :master

gem 'coveralls'

@@ -70,4 +69,4 @@ gem 'redis-store'
gem 'redis-rails'
gem 'redis'

gem 'rails-i18n'
gem 'rails-i18n'
2 changes: 1 addition & 1 deletion lib/tasks/tml.rake
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ namespace :tml do

desc 'initializes tml'
task :init => :environment do
unless File.exists?("#{Rails.root}/config/initializers/tml.rb")
unless File.exist?("#{Rails.root}/config/initializers/tml.rb")
root = File.expand_path('../templates', __FILE__)
system "cp #{root}/tml.rb #{Rails.root}/config/initializers"
puts 'Please update config/initializers/tml.rb with your application token'
2 changes: 1 addition & 1 deletion lib/tml_rails/version.rb
Original file line number Diff line number Diff line change
@@ -30,5 +30,5 @@
#++

module TmlRails
VERSION = '6.0.2'
VERSION = '6.1.0'
end
3 changes: 3 additions & 0 deletions spec/dummy/app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
4 changes: 2 additions & 2 deletions spec/dummy/app/assets/javascripts/prism_rails.js
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ Prism.languages.ruby = {
lookbehind: true
},
'keyword': /\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/g,
'builtin': /\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,
'builtin': /\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Integer|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,
'boolean': /\b(true|false)\b/g,
'number': /\b-?(0x)?\d*\.?\d+\b/g,
'operator': /[-+]{1,2}|!|=?&lt;|=?&gt;|={1,2}|(&amp;){1,2}|\|?\||\?|\*|\//g,
@@ -46,4 +46,4 @@ Prism.languages.haml = {
'operator': /[-+]{1,2}|!|={1,2}|(&amp;){1,2}|\|?\||\?|\*|\//g,
'rails': /(form_tag|do|end|link_to|image_tag|content_for)/g,
'ignore': /&(lt|gt|amp);/gi
};
};
3 changes: 1 addition & 2 deletions tml-rails.gemspec
Original file line number Diff line number Diff line change
@@ -47,6 +47,5 @@ Gem::Specification.new do |s|
s.files = Dir['{app,config,lib}/**/*'] + %w(LICENSE Rakefile README.md)
s.licenses = 'MIT-LICENSE'

s.add_dependency 'rails', '~> 5.0'
s.add_dependency 'tml', '~> 5.7'
s.add_dependency 'rails', '>= 5.0', '< 9'
end