author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
581,214
12.09.2019 17:00:34
-3,600
a6a2d7d4e9f0b346cfe2e387f5ff74689e25b662
Fix bug where array_including argument matcher could not be nested
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/argument_matchers.rb", "new_path": "lib/rspec/mocks/argument_matchers.rb", "diff": "@@ -241,6 +241,8 @@ module RSpec\nRSpec::Support::FuzzyMatcher.values_match?(expected_element, actual_element)\nend\nend\n+ rescue NoMethodError\n+ false\nend\n...
Ruby
MIT License
rspec/rspec-mocks
Fix bug where array_including argument matcher could not be nested (#1291)
581,220
17.01.2020 14:24:34
-3,600
2957cda37298f972ac71ea63ffe21081b177fa2d
Be able to set custom error message from rspec-expectation
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/message_expectation.rb", "new_path": "lib/rspec/mocks/message_expectation.rb", "diff": "@@ -366,7 +366,7 @@ module RSpec\nattr_reader :message\nattr_reader :orig_object\nattr_writer :expected_received_count, :expected_from, :argument_list_match...
Ruby
MIT License
rspec/rspec-mocks
Be able to set custom error message from rspec-expectation
581,220
24.01.2020 09:49:35
-3,600
628156e76a7f7a41fd7588e3c08280d4ed2cf2df
Add documentation for custom failure message
[ { "change_type": "MODIFY", "old_path": "features/basics/expecting_messages.feature", "new_path": "features/basics/expecting_messages.feature", "diff": "@@ -73,3 +73,40 @@ Feature: Expecting messages\n\"\"\"\nWhen I run `rspec negative_message_expectation_spec.rb`\nThen the examples should all pass\n...
Ruby
MIT License
rspec/rspec-mocks
Add documentation for custom failure message
581,220
01.01.2020 15:39:23
-3,600
81c17e89b2722cb225d602e08b600e4a4f6148a4
Bump yard to support Ruby 2.7 See:
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -12,7 +12,7 @@ branch = File.read(File.expand_path(\"../maintenance-branch\", __FILE__)).chomp\nend\nend\n-gem 'yard', '~> 0.9.12', :require => false\n+gem 'yard', '~> 0.9.24', :require => false\n# No need to run ru...
Ruby
MIT License
rspec/rspec-mocks
Bump yard to support Ruby 2.7 See: https://github.com/lsegal/yard/releases/tag/v0.9.21
581,214
07.04.2020 10:02:46
-3,600
19164994c26b1f09d8d0f853da7d3c2b8ebf43aa
Update rake to avoid security warning
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -12,6 +12,14 @@ branch = File.read(File.expand_path(\"../maintenance-branch\", __FILE__)).chomp\nend\nend\n+if RUBY_VERSION < '1.9.3'\n+ gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later\n+elsif RUBY_VER...
Ruby
MIT License
rspec/rspec-mocks
Update rake to avoid security warning
581,238
12.05.2020 00:56:11
-7,200
8623eb000fb8edd53bc842033663ff8644b191c3
Update RSpec::Mocks.with_temporary_scope to return the result of the passed block.
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks.rb", "new_path": "lib/rspec/mocks.rb", "diff": "@@ -87,15 +87,19 @@ module RSpec\n# Call the passed block and verify mocks after it has executed. This allows\n# mock usage in arbitrary places, such as a `before(:all)` hook.\n+ # Returns the res...
Ruby
MIT License
rspec/rspec-mocks
Update RSpec::Mocks.with_temporary_scope to return the result of the passed block.
581,214
28.06.2020 11:44:11
-3,600
5adf99fdecf36cf92fd55ef658c63f8221ee876d
Support both versions of `diff-lcs` in specs
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/diffing_spec.rb", "new_path": "spec/rspec/mocks/diffing_spec.rb", "diff": "@@ -2,6 +2,8 @@ require \"spec_helper\"\nrequire \"pp\"\nRSpec.describe \"Diffs printed when arguments don't match\" do\n+ include RSpec::Support::Spec::DiffHelpers\n+\...
Ruby
MIT License
rspec/rspec-mocks
Support both versions of `diff-lcs` in specs
581,214
28.06.2020 11:45:59
-3,600
f6a84700c77dfb4591d5b0738d5c28e74775a73b
Run CI on both versions of diff-lcs
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -38,6 +38,8 @@ matrix:\ninclude:\n- rvm: jruby-1.7\nenv: JRUBY_OPTS='--dev --1.8'\n+ - rvm: 2.7.1\n+ env: DIFF_LCS_VERSION='~> 1.3.0'\nallow_failures:\n- rvm: jruby-head\n- rvm: ruby-head\n" }, { "ch...
Ruby
MIT License
rspec/rspec-mocks
Run CI on both versions of diff-lcs
581,214
21.11.2020 14:27:57
0
54238eba42f75cbad33286c0bb8d5d44bdf534a1
These examples need only pend on JRuby 9.1.17.0
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/partial_double_spec.rb", "new_path": "spec/rspec/mocks/partial_double_spec.rb", "diff": "@@ -604,7 +604,9 @@ module RSpec\ncontext \"on a class with a private `new`\" do\nit 'uses the method signature from `#initialize` for arg verification' d...
Ruby
MIT License
rspec/rspec-mocks
These examples need only pend on JRuby 9.1.17.0
581,232
06.12.2020 13:48:49
-10,800
2e16faf90093f6d309ece5cb28cf73b636bc77fe
raise ArgumentError if object cannot be proxied
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -21,6 +21,8 @@ module RSpec\n# @private\ndef initialize(object, order_group, options={})\n+ ensure_can_be_proxied!(object)\n+\n@object = object\n@order_group = order_group\n@error_g...
Ruby
MIT License
rspec/rspec-mocks
raise ArgumentError if object cannot be proxied
581,232
06.12.2020 16:35:42
-10,800
ae5e54ea572e2e47d591df46d5ad6704030f163c
more detailed error message, improve tests
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -38,8 +38,13 @@ module RSpec\nreturn unless object.frozen?\nreturn if object.nil?\n- raise ArgumentError, 'Cannot proxy frozen object.' \\\n- ' Seems like you passed symbol but obje...
Ruby
MIT License
rspec/rspec-mocks
more detailed error message, improve tests
581,232
10.12.2020 12:28:15
-10,800
00de957283e91bcc5f71a4d35859b0a1679f1096
add support for ruby < 2.0 symbols not frozen
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -35,7 +35,12 @@ module RSpec\n# @private\ndef ensure_can_be_proxied!(object)\n+ if RUBY_VERSION.to_f < 2.0\n+ return if !object.is_a?(Symbol) && !object.frozen?\n+ else\nreturn unle...
Ruby
MIT License
rspec/rspec-mocks
add support for ruby < 2.0 symbols not frozen
581,232
11.12.2020 12:30:29
-10,800
c934c3e0663cea58bc9c61c0d9915a3d75b59cfd
unified solution for all ruby versions
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -35,12 +35,7 @@ module RSpec\n# @private\ndef ensure_can_be_proxied!(object)\n- if RUBY_VERSION.to_f < 2.0\n- return if !object.is_a?(Symbol) && !object.frozen?\n- else\n- return un...
Ruby
MIT License
rspec/rspec-mocks
unified solution for all ruby versions
581,240
29.12.2020 13:21:45
28,800
82dd54bb5fc2c35a0b946891ef0636d6fffe4810
Mark proxy methods with ruby2_keywords
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/method_double.rb", "new_path": "lib/rspec/mocks/method_double.rb", "diff": "@@ -63,6 +63,7 @@ module RSpec\ndefine_method(method_name) do |*args, &block|\nmethod_double.proxy_method_invoked(self, *args, &block)\nend\n+ ruby2_keywords(method_nam...
Ruby
MIT License
rspec/rspec-mocks
Mark proxy methods with ruby2_keywords
581,240
29.12.2020 13:50:39
28,800
c120a91e296223742378797f8605b8b005c2444c
Only use ruby2_keywords if defined
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/method_double.rb", "new_path": "lib/rspec/mocks/method_double.rb", "diff": "@@ -63,7 +63,7 @@ module RSpec\ndefine_method(method_name) do |*args, &block|\nmethod_double.proxy_method_invoked(self, *args, &block)\nend\n- ruby2_keywords(method_nam...
Ruby
MIT License
rspec/rspec-mocks
Only use ruby2_keywords if defined
581,240
29.12.2020 18:18:34
28,800
be1b513e9587bec8a4daeadbed4d9e50df76ae3e
Only test keyword arguments on rubies that support them
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/and_call_original_spec.rb", "new_path": "spec/rspec/mocks/and_call_original_spec.rb", "diff": "@@ -185,11 +185,15 @@ RSpec.describe \"and_call_original\" do\nexpect(klazz.alternate_new).to be_an_instance_of(klazz)\nend\n+ if RSpec::Support::Ru...
Ruby
MIT License
rspec/rspec-mocks
Only test keyword arguments on rubies that support them
581,240
29.12.2020 18:27:50
28,800
c5f4d5408167ed4eedc6e4cb4d64601f805b1efe
Update a spec to work in rubies that don't support required kwargs
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/and_call_original_spec.rb", "new_path": "spec/rspec/mocks/and_call_original_spec.rb", "diff": "@@ -188,7 +188,7 @@ RSpec.describe \"and_call_original\" do\nif RSpec::Support::RubyFeatures.kw_args_supported?\nbinding.eval(<<-CODE, __FILE__, __L...
Ruby
MIT License
rspec/rspec-mocks
Update a spec to work in rubies that don't support required kwargs
581,240
06.01.2021 17:59:07
28,800
2ca170b25f1048ad8494dc15c35bf58ac9b85346
Avoid respond_to? when checking existence of the ruby2_keywords method Using `respond_to?` causes issues in rspec-rails because of how the `Railtie` class implements `respond_to_missing?`.
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/method_double.rb", "new_path": "lib/rspec/mocks/method_double.rb", "diff": "@@ -63,7 +63,7 @@ module RSpec\ndefine_method(method_name) do |*args, &block|\nmethod_double.proxy_method_invoked(self, *args, &block)\nend\n- ruby2_keywords(method_nam...
Ruby
MIT License
rspec/rspec-mocks
Avoid respond_to? when checking existence of the ruby2_keywords method Using `respond_to?` causes issues in rspec-rails because of how the `Railtie` class implements `respond_to_missing?`.
581,214
31.03.2022 22:35:22
-3,600
ff6a17b56115116989b1ce4b6c44752cfb0690b2
Pin ffi on Windows Ruby 2.3
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -36,6 +36,8 @@ end\n# allow gems to be installed on older rubies and/or windows\nif RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)\ngem 'ffi', '< 1.10'\n+elsif RUB...
Ruby
MIT License
rspec/rspec-mocks
Pin ffi on Windows Ruby 2.3
581,219
25.05.2022 20:40:48
-10,800
66250dc1819f9435e5f584064067e7f05a9afe72
Fix `with` for instance doubles didn't verify Ruby 3 keyword arguments
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/verifying_message_expectation.rb", "new_path": "lib/rspec/mocks/verifying_message_expectation.rb", "diff": "@@ -31,6 +31,7 @@ module RSpec\nend\nend\nend\n+ ruby2_keywords(:with) if respond_to?(:ruby2_keywords, true)\nprivate\n" }, { "c...
Ruby
MIT License
rspec/rspec-mocks
Fix `with` for instance doubles didn't verify Ruby 3 keyword arguments
581,219
25.05.2022 21:12:50
-10,800
e03dd5e1ed216369223d43b181d40668be779763
Use `a_string_including` instead of a multiline regexp
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb", "new_path": "spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb", "diff": "@@ -135,7 +135,7 @@ module RSpec\nexpect(dbl).to receive(:kw_args_method).with(1, :required_arg ...
Ruby
MIT License
rspec/rspec-mocks
Use `a_string_including` instead of a multiline regexp
581,214
10.10.2022 17:13:44
-3,600
a4dec7ad2ef6f23ac0f9adccc19bc288da0e5294
Improve language around
[ { "change_type": "MODIFY", "old_path": "features/configuring_responses/mixed_responses.feature", "new_path": "features/configuring_responses/mixed_responses.feature", "diff": "Feature: Mixed responses\n- Use `and_invoke` to invoke a Proc when a message is received. Pass `and_invoke` multiple\n- Proc...
Ruby
MIT License
rspec/rspec-mocks
Improve language around
581,214
14.10.2022 08:30:21
-3,600
d9a782f750896e2a0d3c7abc72d4667dd0b83f0b
Slight wording tweak
[ { "change_type": "MODIFY", "old_path": "features/configuring_responses/mixed_responses.feature", "new_path": "features/configuring_responses/mixed_responses.feature", "diff": "@@ -4,8 +4,9 @@ Feature: Mixed responses\ncallables to have different behavior for consecutive calls. The final callable wil...
Ruby
MIT License
rspec/rspec-mocks
Slight wording tweak
581,214
25.10.2022 09:09:01
-3,600
7428fcfe7d605e82effcc83f950d595884cfeeca
Add missing reference to
[ { "change_type": "MODIFY", "old_path": "Changelog.md", "new_path": "Changelog.md", "diff": "@@ -10,7 +10,7 @@ Bug Fixes:\n* Use the original implementation of `Class.new` to detect overridden definitions\nof `new` rather than the owner, fixing detection of \"double aliased\" methods\n- in Ruby 3 and...
Ruby
MIT License
rspec/rspec-mocks
Add missing reference to #1476
581,214
25.10.2022 09:37:48
-3,600
519e3fdc2780cfdd84f5633e04c7036c7ccb0670
Tweak formatting for relish
[ { "change_type": "MODIFY", "old_path": "features/configuring_responses/mixed_responses.feature", "new_path": "features/configuring_responses/mixed_responses.feature", "diff": "@@ -4,9 +4,9 @@ Feature: Mixed responses\ncallables to have different behavior for consecutive calls. The final callable wil...
Ruby
MIT License
rspec/rspec-mocks
Tweak formatting for relish
581,213
22.02.2022 07:44:45
18,000
767c10d3f4218695e3dc5a4b082b7f0212db2b0d
Improve forward compatibility of method_double's frozen handling
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/method_double.rb", "new_path": "lib/rspec/mocks/method_double.rb", "diff": "@@ -77,7 +77,7 @@ module RSpec\n# TODO: drop in favor of FrozenError in ruby 2.5+\n# RuntimeError (and FrozenError) for ruby 2.x\n# TypeError for ruby 1.x\n- if FROZEN_...
Ruby
MIT License
rspec/rspec-mocks
Improve forward compatibility of method_double's frozen handling
581,213
02.05.2022 15:00:24
14,400
c6882d971d1351d2c689edf431e48bb2b3526951
Remove misleading frozen string check from proxy Let the logic in method_double handle this like it does for other classes.
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -35,14 +35,9 @@ module RSpec\n# @private\ndef ensure_can_be_proxied!(object)\n- return unless object.is_a?(Symbol) || (object.is_a?(String) && object.frozen?)\n+ return unless objec...
Ruby
MIT License
rspec/rspec-mocks
Remove misleading frozen string check from proxy Let the logic in method_double handle this like it does for other classes.
581,214
11.11.2022 11:12:17
0
8662451cbbb696620532d65d48e06e10f3cdca12
Prevent missing chains from failing the expectation when dealing with super/sub classes
[ { "change_type": "MODIFY", "old_path": "Changelog.md", "new_path": "Changelog.md", "diff": "@@ -6,6 +6,8 @@ Bug Fixes:\n* Change check to detect frozen objects to rescue errors rather than\npre-empting by checking `frozen?` due to some objects mis-behaving.\n(Keegan Roth, #1401)\n+* Prevent unfulfil...
Ruby
MIT License
rspec/rspec-mocks
Prevent missing chains from failing the expectation when dealing with super/sub classes
581,214
28.11.2022 13:16:35
-39,600
8fb7ee2221404437a57b8d675af7de17bd173705
Add specs for partial doubles with keywords
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/diffing_spec.rb", "new_path": "spec/rspec/mocks/diffing_spec.rb", "diff": "@@ -83,9 +83,10 @@ RSpec.describe \"Diffs printed when arguments don't match\" do\nend\nend\n+ context 'with keyword arguments on normal doubles' do\nif RSpec::Support:...
Ruby
MIT License
rspec/rspec-mocks
Add specs for partial doubles with keywords
581,214
28.11.2022 13:38:54
-39,600
3363a15d117ee2a82c0a8224b684a6f828203a44
Strip console codes when detecting empty diff
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/error_generator.rb", "new_path": "lib/rspec/mocks/error_generator.rb", "diff": "@@ -283,8 +283,12 @@ module RSpec\nif args_for_multiple_calls.one?\ndiff = diff_message(expectation.expected_args, args_for_multiple_calls.first)\n+ if RSpec::Mocks...
Ruby
MIT License
rspec/rspec-mocks
Strip console codes when detecting empty diff
581,214
29.11.2022 10:09:00
-39,600
e905657c68477ef8b590dae0d766967d972ea6eb
Make the expected hash an expected hash
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/diffing_spec.rb", "new_path": "spec/rspec/mocks/diffing_spec.rb", "diff": "@@ -82,7 +82,7 @@ RSpec.describe \"Diffs printed when arguments don't match\" do\nwith_unfulfilled_double do |d|\nexpect(d).to receive(:foo).with(expected_hash)\nexpect...
Ruby
MIT License
rspec/rspec-mocks
Make the expected hash an expected hash
581,214
29.11.2022 10:11:54
-39,600
27bfa49a23bc07790784b54e187dce05ea1494df
Better indicate keyword vs hash differences when arguments don't match These specs also provide a check that we properly diff arguments when the objects are more complicated than just a primative or enumerable
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/error_generator.rb", "new_path": "lib/rspec/mocks/error_generator.rb", "diff": "@@ -269,13 +269,19 @@ module RSpec\nexpected_args = format_args(expectation.expected_args)\nactual_args = format_received_args(args_for_multiple_calls)\n- if RSpec:...
Ruby
MIT License
rspec/rspec-mocks
Better indicate keyword vs hash differences when arguments don't match These specs also provide a check that we properly diff arguments when the objects are more complicated than just a primative or enumerable
581,218
27.12.2022 10:04:30
25,200
590fa0e766b7ddadcc2a056fd1768873db4bf653
test passes in Ruby 3.1, fails in Ruby 3.2
[ { "change_type": "MODIFY", "old_path": "spec/rspec/mocks/matchers/have_received_spec.rb", "new_path": "spec/rspec/mocks/matchers/have_received_spec.rb", "diff": "@@ -107,6 +107,20 @@ module RSpec\n}.to_not raise_error\nend\n+ if RSpec::Support::RubyFeatures.required_kw_args_supported?\n+ it \"passes...
Ruby
MIT License
rspec/rspec-mocks
test passes in Ruby 3.1, fails in Ruby 3.2
581,218
27.12.2022 09:47:36
25,200
4d2ffbe7116c8b9b3a42258d9a2701a780e765ab
fix mocking via block implementation in Ruby 3.2 Default flag `reby2_keywords` was declared a Ruby 3.0 bug and removed in Ruby 3.2. All methods that take `*args` that we also want to use to support keyword args must be explicitly instrumented via the `ruby2_keywords` method.
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/proxy.rb", "new_path": "lib/rspec/mocks/proxy.rb", "diff": "@@ -192,6 +192,7 @@ module RSpec\n@messages_received << [message, args, block]\nend\nend\n+ ruby2_keywords :record_message_received if respond_to?(:ruby2_keywords, true)\n# @private\nd...
Ruby
MIT License
rspec/rspec-mocks
fix mocking via block implementation in Ruby 3.2 Default flag `reby2_keywords` was declared a Ruby 3.0 bug and removed in Ruby 3.2. All methods that take `*args` that we also want to use to support keyword args must be explicitly instrumented via the `ruby2_keywords` method. https://github.com/ruby/ruby/blob/07c19cf5...
581,220
03.01.2023 08:15:29
-3,600
68fefd17f1304266893a4b495139d10e6a92ac79
Fix args forwarding on Ruby 3.2 Related:
[ { "change_type": "MODIFY", "old_path": "lib/rspec/mocks/verifying_proxy.rb", "new_path": "lib/rspec/mocks/verifying_proxy.rb", "diff": "@@ -160,6 +160,7 @@ module RSpec\nvalidate_arguments!(args)\nsuper\nend\n+ ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)\ndef validate_...
Ruby
MIT License
rspec/rspec-mocks
Fix args forwarding on Ruby 3.2 Related: - https://github.com/rspec/rspec-mocks/pull/1497 - https://github.com/rspec/rspec-mocks/pull/1502 Co-authored-by: Slava Kardakov <ojab@ojab.ru>
581,214
10.12.2022 12:35:07
-39,600
6c7aeca5b325bee49731d5f20f2f90f484a7154c
Add missing 3.12.1 changelog on main
[ { "change_type": "MODIFY", "old_path": "Changelog.md", "new_path": "Changelog.md", "diff": "### Development\n-[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.0...main)\n+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.1...main)\n+\n+Bug Fixes:\n+\n+* Fix impleme...
Ruby
MIT License
rspec/rspec-mocks
Add missing 3.12.1 changelog on main
108,883
19.12.2016 11:11:59
18,000
01241255f60b7a8881e1856401f0ec3ea25fedc3
Algorithms in many languages
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm.rb", "new_path": "app/models/setup/algorithm.rb", "diff": "@@ -26,9 +26,22 @@ module Setup\nattr_reader :last_output\n+ field :language, type: String, default: :Ruby\n+\n+ validates_inclusion_of :language, in: ->(alg) { alg.class.lan...
Ruby
MIT License
cenit-io/cenit
Algorithms in many languages
108,883
02.01.2017 16:30:04
18,000
4cea05bda7177a00b989cd855e9b1358390657db
Improving alert for asynchronous tasks notifications
[ { "change_type": "MODIFY", "old_path": "app/controllers/rails_admin/main_controller_decorator.rb", "new_path": "app/controllers/rails_admin/main_controller_decorator.rb", "diff": "@@ -69,9 +69,25 @@ module RailsAdmin\nend\ndef do_flash_process_result(objs)\n- objs = [objs] unless objs.is_a?(Enumerab...
Ruby
MIT License
cenit-io/cenit
Improving alert for asynchronous tasks notifications
108,883
02.01.2017 16:36:37
18,000
cd0f9faee09a8afa41479bc5a72fbf4b27329fb3
Freezing algorithms outputs
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm_output.rb", "new_path": "app/models/setup/algorithm_output.rb", "diff": "@@ -5,7 +5,7 @@ module Setup\nbuild_in_data_type\n- deny :edit, :copy, :simple_export\n+ deny :new, :edit, :copy, :update\nbelongs_to :algorithm, class_name: Se...
Ruby
MIT License
cenit-io/cenit
Freezing algorithms outputs
108,883
02.01.2017 16:37:08
18,000
63c220aa2032dee0295d96ac9b2200bbb50ed1ce
Tuning cenit data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -32,6 +32,10 @@ module Setup\ndelegate :title, :schema, :subtype?, to: :build_in, allow_nil: true\n+ def data_type_storage_collection_name\n+ Account.tenant_co...
Ruby
MIT License
cenit-io/cenit
Tuning cenit data types
108,883
02.01.2017 16:37:40
18,000
c7c8aef613d3acad37fd79d1e84b74b009a651e1
Using attachment uploader helpers for notifications
[ { "change_type": "MODIFY", "old_path": "app/models/setup/notification.rb", "new_path": "app/models/setup/notification.rb", "diff": "module Setup\nclass Notification\ninclude CenitScoped\n+ include Setup::AttachmentUploader\ninclude RailsAdmin::Models::Setup::NotificationAdmin\nbuild_in_data_type\nde...
Ruby
MIT License
cenit-io/cenit
Using attachment uploader helpers for notifications
108,883
02.01.2017 16:38:17
18,000
85b754cb949f93327950b62b0b07f17473da2148
Fixing formatter for empty only option
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -231,7 +231,7 @@ module Edi\nif (include_id = options[:include_id]).respond_to?(:call)\ninclude_id = include_id.call(record)\nend\n- store(json, 'id', record.id, options) if include_id\n+ do_...
Ruby
MIT License
cenit-io/cenit
Fixing formatter for empty only option
108,883
02.01.2017 16:39:00
18,000
adc9f8a53157695e9333e5f27a48f2b29add3768
Task execution destroying access
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -60,6 +60,8 @@ class Ability\ncan :simple_cross, CROSSING_MODELS_WITH_ORIGIN, :origin.in => [:default, :owner]\nend\n+ can :destroy, Setup::TaskExecution, :status.in => Setup::Task::FINIS...
Ruby
MIT License
cenit-io/cenit
Task execution destroying access
108,883
02.01.2017 16:40:30
18,000
97cc5a32f7496749373a496bee57af07e96b4a42
Bundler interpreter (JavaScript & Ruby)
[ { "change_type": "MODIFY", "old_path": "Gemfile", "new_path": "Gemfile", "diff": "@@ -115,3 +115,5 @@ gem 'cenit-service', git: 'https://github.com/cenit-io/cenit-service.git'\ngem 'cenit-oauth', git: 'https://github.com/cenit-io/cenit-oauth.git'\ngem 'capataz', git: 'https://github.com/macarci/capa...
Ruby
MIT License
cenit-io/cenit
Bundler interpreter (JavaScript & Ruby)
108,868
03.01.2017 12:59:42
28,800
1925e2b804ad7041936ab0b51cb138e463059792
added to monitor flow executions
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "new_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "diff": "@@ -7,8 +7,9 @@ module RailsAdmin\nincluded do\nrails_admin do\nnavigation_label 'Monitors'\n- visible false\n+ visible true\nob...
Ruby
MIT License
cenit-io/cenit
added to monitor flow executions
108,868
03.01.2017 13:08:59
28,800
8600a5d84aae5ce9ca99cbe6dd5d97f0dfe43003
added weight to FlowExecutionAdmim to fix menu
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "new_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "diff": "@@ -9,7 +9,7 @@ module RailsAdmin\nnavigation_label 'Monitors'\nvisible true\nobject_label_method { :to_s }\n- parent ::Setup::T...
Ruby
MIT License
cenit-io/cenit
added weight to FlowExecutionAdmim to fix menu
108,883
03.01.2017 17:41:47
18,000
7d356e3aff77453ed134e659e7019eee1def1367
Fixing connection webhooks methods for pathless URLs
[ { "change_type": "MODIFY", "old_path": "app/models/setup/connection.rb", "new_path": "app/models/setup/connection.rb", "diff": "@@ -43,8 +43,14 @@ module Setup\nif Setup::Webhook.method_enum.include?(symbol)\nif args.length == 1 && (url = args[0]).is_a?(String)\nuri = URI.parse(url)\n- connection = ...
Ruby
MIT License
cenit-io/cenit
Fixing connection webhooks methods for pathless URLs
108,868
03.01.2017 18:09:10
28,800
2721932c6de59cd7a0f7a0f5df3992eb1de3595b
show task and flow execution, both in monitors
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "new_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "diff": "@@ -9,7 +9,9 @@ module RailsAdmin\nnavigation_label 'Monitors'\nvisible true\nobject_label_method { :to_s }\n+ parent 'Monitors'...
Ruby
MIT License
cenit-io/cenit
show task and flow execution, both in monitors
108,868
03.01.2017 18:16:41
28,800
4134299b2a2659ca5fa6229503ea853b127b0350
removed unnecessary visible true for rails_admin model
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "new_path": "lib/rails_admin/models/setup/flow_execution_admin.rb", "diff": "@@ -7,7 +7,6 @@ module RailsAdmin\nincluded do\nrails_admin do\nnavigation_label 'Monitors'\n- visible true\nobject_label_method...
Ruby
MIT License
cenit-io/cenit
removed unnecessary visible true for rails_admin model
108,883
04.01.2017 06:26:28
18,000
8d87bf461961406e65f2de4202ed6a8e4e369181
Fixing include_blanks option checking for non JSON values
[ { "change_type": "MODIFY", "old_path": "lib/edi/formater.rb", "new_path": "lib/edi/formater.rb", "diff": "@@ -308,7 +308,8 @@ module Edi\njson[key] = value if store_anyway || value.present? || options[:include_blanks] || options[:include_empty]\nelse\nvalue = value.to_s if [BSON::ObjectId, Symbol].a...
Ruby
MIT License
cenit-io/cenit
Fixing include_blanks option checking for non JSON values
108,883
04.01.2017 06:27:41
18,000
816edc2498ab9d2abc8c29847d3b3aa6da38cdad
Uploaders file attributes
[ { "change_type": "MODIFY", "old_path": "app/models/setup/uploader_helper.rb", "new_path": "app/models/setup/uploader_helper.rb", "diff": "@@ -8,8 +8,8 @@ module Setup\nself.class.before_store_callbacks.each do |callback|\ninstance_eval(&callback)\nend\n- reset_lazy_storage.each do |field, data|\n- s...
Ruby
MIT License
cenit-io/cenit
Uploaders file attributes
108,883
04.01.2017 06:29:04
18,000
9e816d174f354e9f1c64e294d21ea8620089f324
Task executions for API run action
[ { "change_type": "MODIFY", "old_path": "app/controllers/api/v2/api_controller.rb", "new_path": "app/controllers/api/v2/api_controller.rb", "diff": "@@ -148,7 +148,11 @@ module Api::V2\ndef run\nif @item.is_a?(Setup::Algorithm)\nbegin\n- render plain: @item.run(@webhook_body)\n+ execution = Setup::Al...
Ruby
MIT License
cenit-io/cenit
Task executions for API run action
108,883
04.01.2017 07:03:53
18,000
74402ddfe998b5c5a38f653dfef22bca5ae354fd
Storing executions result schema on storage metadata field
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm_execution.rb", "new_path": "app/models/setup/algorithm_execution.rb", "diff": "@@ -13,8 +13,11 @@ module Setup\ndef run(message)\nalgorithm_id = message[:algorithm_id]\nif (algorithm = Setup::Algorithm.where(id: algorithm_id).first)\...
Ruby
MIT License
cenit-io/cenit
Storing executions result schema on storage metadata field
108,883
04.01.2017 11:17:38
18,000
e6e6010caa55a450e499da7560ec99b509711c23
Renaming Task Execution
[ { "change_type": "MODIFY", "old_path": "app/models/ability.rb", "new_path": "app/models/ability.rb", "diff": "@@ -60,7 +60,7 @@ class Ability\ncan :simple_cross, CROSSING_MODELS_WITH_ORIGIN, :origin.in => [:default, :owner]\nend\n- can :destroy, Setup::TaskExecution, :status.in => Setup::Task::FINIS...
Ruby
MIT License
cenit-io/cenit
Renaming Task Execution
108,883
04.01.2017 11:34:10
18,000
077162b2bd60d5e239d9269a49be0bb76d4d0121
Fixing default language for existing algorithms
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm.rb", "new_path": "app/models/setup/algorithm.rb", "diff": "@@ -28,7 +28,7 @@ module Setup\nattr_reader :last_output\n- field :language, type: Symbol, default: -> { new_record? ? :auto : ruby }\n+ field :language, type: Symbol, defaul...
Ruby
MIT License
cenit-io/cenit
Fixing default language for existing algorithms
108,871
04.01.2017 12:49:28
18,000
64335dbb4a1e3026dbff331786ce2aec06bceb70
Highlight REST-API block codes.
[ { "change_type": "MODIFY", "old_path": "app/assets/stylesheets/rails_admin/custom/rest-api.scss", "new_path": "app/assets/stylesheets/rails_admin/custom/rest-api.scss", "diff": "pre.code {\npadding: 1em;\n- background-color: #dddddd;\nborder-radius: 10px;\nmargin-top: 0;\n}\n" }, { "change_t...
Ruby
MIT License
cenit-io/cenit
Highlight REST-API block codes.
108,883
04.01.2017 14:24:39
18,000
9d82e5efc4803efd625f0344f96429b744d68308
Prevent wrong cenit data types (because models no longer exists with that name)
[ { "change_type": "MODIFY", "old_path": "app/models/setup/cenit_data_type.rb", "new_path": "app/models/setup/cenit_data_type.rb", "diff": "@@ -33,7 +33,10 @@ module Setup\ndelegate :title, :schema, :subtype?, to: :build_in, allow_nil: true\ndef data_type_storage_collection_name\n- Account.tenant_coll...
Ruby
MIT License
cenit-io/cenit
Prevent wrong cenit data types (because models no longer exists with that name)
108,883
04.01.2017 14:25:28
18,000
05e11ce01eda86554e144ecdfa377f2be561d7df
Skipping namespace presence validation for cenit data types
[ { "change_type": "MODIFY", "old_path": "app/models/setup/data_type.rb", "new_path": "app/models/setup/data_type.rb", "diff": "@@ -35,8 +35,6 @@ module Setup\nattr_readonly :name\n- validates_presence_of :namespace\n-\nbefore_save :validates_configuration\nafter_destroy do\n" }, { "change_typ...
Ruby
MIT License
cenit-io/cenit
Skipping namespace presence validation for cenit data types
108,883
04.01.2017 16:14:17
18,000
5276e7489138bf60accd391a4f52e5f176d0df94
Enhancing execution data type
[ { "change_type": "MODIFY", "old_path": "app/models/setup/execution.rb", "new_path": "app/models/setup/execution.rb", "diff": "@@ -4,7 +4,15 @@ module Setup\ninclude Setup::AttachmentUploader\ninclude RailsAdmin::Models::Setup::ExecutionAdmin\n- build_in_data_type\n+ build_in_data_type.and({\n+ prope...
Ruby
MIT License
cenit-io/cenit
Enhancing execution data type
108,871
04.01.2017 17:11:33
18,000
3b81e5feb1107b104c42cb5b8af25aa987f8cbd2
Fixed ecommerce rest api.
[ { "change_type": "MODIFY", "old_path": "app/controllers/rails_admin/application_controller_decorator.rb", "new_path": "app/controllers/rails_admin/application_controller_decorator.rb", "diff": "@@ -19,18 +19,18 @@ module RailsAdmin\nif @model_name == Setup::SharedCollection.to_s && !User.current_sup...
Ruby
MIT License
cenit-io/cenit
Fixed ecommerce rest api.
108,883
05.01.2017 14:57:36
18,000
b8ff3529964ecb0d4583597ddd76b589223a532b
Improving labels
[ { "change_type": "MODIFY", "old_path": "app/controllers/rails_admin/main_controller_decorator.rb", "new_path": "app/controllers/rails_admin/main_controller_decorator.rb", "diff": "@@ -79,7 +79,7 @@ module RailsAdmin\nobjs.collect { |obj| obj2msg(obj) }\nend\nmodel_label = @model_config.label\n- mode...
Ruby
MIT License
cenit-io/cenit
Improving labels
108,883
05.01.2017 15:36:49
18,000
63f1a34e7ecba59b1d6b200334dc3931cf961fc9
Renaming Store Index action
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/application_helper_decorator.rb", "new_path": "app/helpers/rails_admin/application_helper_decorator.rb", "diff": "@@ -266,7 +266,7 @@ module RailsAdmin\nend\nend\necommerce_models = ecommerce_models.collect { |model| RailsAdmin.config(m...
Ruby
MIT License
cenit-io/cenit
Renaming Store Index action
108,883
05.01.2017 17:19:52
18,000
4dfbae2ae0822379a31034d5ffa13d152367390a
Fixing uploader helper
[ { "change_type": "MODIFY", "old_path": "app/models/setup/uploader_helper.rb", "new_path": "app/models/setup/uploader_helper.rb", "diff": "@@ -66,8 +66,8 @@ module Setup\ntemporary_file.write(data)\ntemporary_file.rewind\ndata = Cenit::Utility::Proxy.new(temporary_file,\n- original_filename: store_op...
Ruby
MIT License
cenit-io/cenit
Fixing uploader helper
108,883
06.01.2017 07:20:26
18,000
d59feba9deb55319eb9808c064ea89c1206d028f
Labeled mongoff models
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/model.rb", "new_path": "lib/mongoff/model.rb", "diff": "@@ -407,6 +407,10 @@ module Mongoff\nend\nend\n+ def labeled?\n+ schema.key?('label')\n+ end\n+\ndef label_template\nif @label_template.nil? && (template = schema['label'])\nbegin\n" }, { ...
Ruby
MIT License
cenit-io/cenit
Labeled mongoff models
108,883
06.01.2017 12:22:26
18,000
07a54e66e42f9ee0576c054488fa50c39aac3546
Including data_type option on data type customized flows processing
[ { "change_type": "MODIFY", "old_path": "app/models/setup/flow.rb", "new_path": "app/models/setup/flow.rb", "diff": "@@ -323,7 +323,7 @@ module Setup\nobject_ids = ((obj_id = message[:source_id]) && [obj_id]) || source_ids_from(message)\nif translator.source_handler\nbegin\n- translator.run(object_id...
Ruby
MIT License
cenit-io/cenit
Including data_type option on data type customized flows processing
108,883
06.01.2017 13:39:47
18,000
147a806032da9ded47e050d56b29b290165224e3
Fixing triggers evaluation for FALSE conditions
[ { "change_type": "MODIFY", "old_path": "app/models/setup/triggers_formatter.rb", "new_path": "app/models/setup/triggers_formatter.rb", "diff": "@@ -17,8 +17,8 @@ module Setup\nreturn false\nend\nmodified = nil\n- hash.each do |_, conditions|\n- conditions.each do |_, condition|\n+ hash.values.each d...
Ruby
MIT License
cenit-io/cenit
Fixing triggers evaluation for FALSE conditions
108,883
06.01.2017 13:40:39
18,000
0c20ed866f5367df2ff327c17c83edadefbc5a7b
Fixing mongoff FALSE values handling
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/model.rb", "new_path": "lib/mongoff/model.rb", "diff": "@@ -329,7 +329,7 @@ module Mongoff\nelse\nconvert(type, value)\nend\n- return v if v\n+ return v unless v.nil?\nend\nnil\nend\n" }, { "change_type": "MODIFY", "old_path": "lib/mong...
Ruby
MIT License
cenit-io/cenit
Fixing mongoff FALSE values handling
108,868
08.01.2017 07:14:21
28,800
dacd300e73560149c460dbe26d88cd3052f66ced
avoided Chrome issue when is render partial for rest API button
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/rails_admin/pjax.html.haml", "new_path": "app/views/layouts/rails_admin/pjax.html.haml", "diff": "= breadcrumb\n-= render :partial => 'rails_admin/rest_api_sdk/menu' if respond_to?(:api_current_paths) && !api_current_paths.empty?\n+=# render ...
Ruby
MIT License
cenit-io/cenit
avoided Chrome issue when is render partial for rest API button
108,868
08.01.2017 07:55:47
28,800
3b05066da891856cfc4bd5c096f72357c29c030b
commented highlight js that crashes Chrome
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/rails_admin/pjax.html.haml", "new_path": "app/views/layouts/rails_admin/pjax.html.haml", "diff": "= breadcrumb\n-=# render :partial => 'rails_admin/rest_api_sdk/menu' if respond_to?(:api_current_paths) && !api_current_paths.empty?\n+=render :...
Ruby
MIT License
cenit-io/cenit
commented highlight js that crashes Chrome
108,868
08.01.2017 16:05:32
28,800
306e5f7a51b9746cf233a54c0d0ac07e0f9a6636
changed copyright to 2017
[ { "change_type": "MODIFY", "old_path": "app/assets/stylesheets/rails_admin/custom/select2-bootstrap.min.scss", "new_path": "app/assets/stylesheets/rails_admin/custom/select2-bootstrap.min.scss", "diff": "/*!\n* Select2 Bootstrap Theme v0.1.0-beta.9 (https://select2.github.io/select2-bootstrap-theme)...
Ruby
MIT License
cenit-io/cenit
changed copyright to 2017
108,883
09.01.2017 07:19:43
18,000
a8b1b8793bb3b2d59fce6ff91b63dc257ff92c58
Fixing some TODOs
[ { "change_type": "MODIFY", "old_path": "app/models/setup/collection_behavior.rb", "new_path": "app/models/setup/collection_behavior.rb", "diff": "@@ -175,7 +175,7 @@ module Setup\nif (model = r.klass).include?(Setup::CrossOriginShared)\nmodel.where(:id.in => send(r.foreign_key)).and(criteria).with_t...
Ruby
MIT License
cenit-io/cenit
Fixing some TODOs
108,883
09.01.2017 08:44:40
18,000
d67474623678402058315115a5f06f26ad1266e1
CodeMirror readOnly option for non edit actions
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/fields/types/code.rb", "new_path": "lib/rails_admin/config/fields/types/code.rb", "diff": "@@ -62,10 +62,14 @@ module RailsAdmin\nend\nregister_instance_option :default_config do\n- {\n+ config = {\nlineNumbers: true,\ntheme: (theme = Us...
Ruby
MIT License
cenit-io/cenit
CodeMirror readOnly option for non edit actions
108,871
09.01.2017 12:41:49
18,000
e6b2f0fec8ef30b702e136faef97479e9b076689
Fixed Error: Aw, snap!
[ { "change_type": "MODIFY", "old_path": "app/views/rails_admin/main/rest_api.html.erb", "new_path": "app/views/rails_admin/main/rest_api.html.erb", "diff": "});\n// Async highlight code blocks.\n- $('.rest-api-codes pre.code').each(function (index, block) {\nvar worker = new Worker('/highlight-worker...
Ruby
MIT License
cenit-io/cenit
Fixed Error: Aw, snap!
108,883
09.01.2017 19:36:22
18,000
40cb96ca2e02bb50825a0e59ccd98b8001b73e05
CodeMirror edition also for New action
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/fields/types/code.rb", "new_path": "lib/rails_admin/config/fields/types/code.rb", "diff": "@@ -66,7 +66,8 @@ module RailsAdmin\nlineNumbers: true,\ntheme: (theme = User.current.try(:code_theme)).present? ? theme : (Cenit.default_code_the...
Ruby
MIT License
cenit-io/cenit
CodeMirror edition also for New action
108,883
09.01.2017 19:38:28
18,000
00742b0d7e58dc34b56131d36dd7004bcab35557
Refactoring auto-fixed error descriptions
[ { "change_type": "MODIFY", "old_path": "lib/cenit/actions.rb", "new_path": "lib/cenit/actions.rb", "diff": "@@ -187,7 +187,7 @@ module Cenit\ncollection.errors.full_messages.each { |msg| errors << msg }\ncollection.errors.clear\nif Cenit::Utility.save(collection, { create_collector: create_collector...
Ruby
MIT License
cenit-io/cenit
Refactoring auto-fixed error descriptions
108,883
10.01.2017 11:27:16
18,000
339a418093ad383f02b31273bc380944b2e0cebe
Silent auto-fixed errors
[ { "change_type": "MODIFY", "old_path": "app/models/setup/req_rej_validator.rb", "new_path": "app/models/setup/req_rej_validator.rb", "diff": "@@ -10,11 +10,19 @@ module Setup\nr = false\nfields.each do |field|\nif send(field).present?\n- errors.add(field, reject_message)\n+ changed =\n+ if (relation...
Ruby
MIT License
cenit-io/cenit
Silent auto-fixed errors
108,883
11.01.2017 12:16:17
18,000
17a7121f403230beeee4bee26e4efa2b1a059b18
Fixing attribute key resolution
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/model.rb", "new_path": "lib/mongoff/model.rb", "diff": "@@ -77,7 +77,7 @@ module Mongoff\ndef property_model(property)\nproperty = property.to_s\nmodel = nil\n- if schema.is_a?(Hash) && schema['type'] == 'object' && schema['properties'] && property...
Ruby
MIT License
cenit-io/cenit
Fixing attribute key resolution
108,883
11.01.2017 12:56:27
18,000
6659fb00c1953306badb0c7f19b96bad9599f14d
Fixing object types validation
[ { "change_type": "MODIFY", "old_path": "app/models/setup/json_data_type.rb", "new_path": "app/models/setup/json_data_type.rb", "diff": "@@ -21,11 +21,17 @@ module Setup\nshared_deny :simple_delete_data_type, :bulk_delete_data_type, :simple_expand, :bulk_expand\nafter_initialize do\n- self.schema = {...
Ruby
MIT License
cenit-io/cenit
Fixing object types validation
108,883
11.01.2017 12:58:33
18,000
052a1749d44ecb2b382861c782a078341df1b11e
Fixing data type generation action
[ { "change_type": "MODIFY", "old_path": "app/models/setup/data_type_generation.rb", "new_path": "app/models/setup/data_type_generation.rb", "diff": "@@ -14,64 +14,69 @@ module Setup\nif existing_data_types.present?\nif message[:override_data_types].to_b\nexisting_data_types.each do |data_type|\n- dat...
Ruby
MIT License
cenit-io/cenit
Fixing data type generation action
108,883
11.01.2017 12:59:06
18,000
725e25b4d4dacb644c717221ff074f318a210b44
Fixing schemas import action
[ { "change_type": "MODIFY", "old_path": "app/models/setup/schemas_import.rb", "new_path": "app/models/setup/schemas_import.rb", "diff": "@@ -19,30 +19,11 @@ module Setup\nend\ndef run(message)\n- schemas = {}\n- saved_schemas_ids = []\neach_entry do |entry_name, schema|\nuri = base_uri.blank? ? entry...
Ruby
MIT License
cenit-io/cenit
Fixing schemas import action
108,883
11.01.2017 13:00:58
18,000
95720a5278ea88fb141213060ba44a325176f881
Improving XML/JSON Schema conversion
[ { "change_type": "MODIFY", "old_path": "lib/cenit/core_ext.rb", "new_path": "lib/cenit/core_ext.rb", "diff": "@@ -69,13 +69,17 @@ end\nclass String\ndef to_title\n- self.\n+ title =\ngsub(/([A-Z])(\\d)/, '\\1 \\2').\ngsub(/([a-z])(\\d|[A-Z])/, '\\1 \\2').\ngsub(/(\\d)([a-z]|[A-Z])/, '\\1 \\2').\ntr(...
Ruby
MIT License
cenit-io/cenit
Improving XML/JSON Schema conversion
108,883
11.01.2017 13:03:33
18,000
845b2486e7577f8ac799bdf75aa0e966e57973f3
Improving UI for mongoff models and associations
[ { "change_type": "MODIFY", "old_path": "app/models/rails_admin/config/fields/association_decorator.rb", "new_path": "app/models/rails_admin/config/fields/association_decorator.rb", "diff": "@@ -13,7 +13,6 @@ module RailsAdmin\naction = v.instance_variable_get(:@action)\nvalues, total = show_values(l...
Ruby
MIT License
cenit-io/cenit
Improving UI for mongoff models and associations
108,883
11.01.2017 13:05:03
18,000
0df55ea7fe231f2b96e03b37d0e244ffb1867ea1
Handling XML parsing when data does not matches the schema
[ { "change_type": "MODIFY", "old_path": "app/models/setup/data_type_parser.rb", "new_path": "app/models/setup/data_type_parser.rb", "diff": "@@ -13,7 +13,11 @@ module Setup\ndef new_from_xml(data, options={})\n- post_process(Edi::Parser.parse_xml(self, data, options))\n+ if (record = Edi::Parser.pars...
Ruby
MIT License
cenit-io/cenit
Handling XML parsing when data does not matches the schema
108,883
11.01.2017 13:05:45
18,000
22f228fa9ff0391e487115b912966b0fc29b2d52
Fixing schema merging
[ { "change_type": "MODIFY", "old_path": "app/models/setup/schema_handler.rb", "new_path": "app/models/setup/schema_handler.rb", "diff": "@@ -157,7 +157,7 @@ module Setup\nunless (xml_opts = schema['xml']).nil? || xml_opts['content_property']\nschema['xml'].delete('content_property') if (xml_opts = ba...
Ruby
MIT License
cenit-io/cenit
Fixing schema merging
108,868
11.01.2017 20:39:19
28,800
3f842de3c83027630d818c78a4cdfd553ad643c5
removed prefix setup~
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/rails_admin/_secondary_navigation.html.haml", "new_path": "app/views/layouts/rails_admin/_secondary_navigation.html.haml", "diff": "- query = params[:query]\n%ul.nav.navbar-nav.navbar-right.root_links{style: 'padding-left: 0px;'}\n%li#navbar-...
Ruby
MIT License
cenit-io/cenit
removed prefix setup~
108,883
12.01.2017 11:01:48
18,000
fec423b7eacb2aff13abb47f06f52f7a483473d3
Fixing array $ref checking
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/model.rb", "new_path": "lib/mongoff/model.rb", "diff": "@@ -57,9 +57,11 @@ module Mongoff\nend\ndef schema\n+ unless @schema\nif model_schema?(@schema = proto_schema)\n@schema = (Model[:base_schema] || {}).deep_merge(@schema)\n- end unless @schema\...
Ruby
MIT License
cenit-io/cenit
Fixing array $ref checking
108,883
12.01.2017 13:31:50
18,000
e30a40d0909ab629b682678c6a24176c4ca61fd8
Merging schemas for mongoff validation using JSON Schema
[ { "change_type": "MODIFY", "old_path": "lib/json-schema/validators/mongoff.rb", "new_path": "lib/json-schema/validators/mongoff.rb", "diff": "@@ -47,6 +47,9 @@ module JSON\nuri.define_singleton_method(:fragment) { @_fragment }\nuri.define_singleton_method(:fragment=) { |f| @_fragment = f }\nend\n+ i...
Ruby
MIT License
cenit-io/cenit
Merging schemas for mongoff validation using JSON Schema
108,871
12.01.2017 14:53:45
18,000
815f4c72e63dff1c16ce825a2a96545f4eda51b2
add rest-api actions in dashboard page.
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/rest_api_helper.rb", "new_path": "app/helpers/rails_admin/rest_api_helper.rb", "diff": "@@ -26,6 +26,12 @@ module RailsAdmin\n###\n# Returns api specification paths for current namespace and model.\ndef api_current_paths\n+ if params[:a...
Ruby
MIT License
cenit-io/cenit
add rest-api actions in dashboard page.
108,883
13.01.2017 05:50:43
18,000
f32401be866252674fcb16ee7f2bdf22a9207635
Executions notifications
[ { "change_type": "MODIFY", "old_path": "app/models/setup/execution.rb", "new_path": "app/models/setup/execution.rb", "diff": "@@ -17,6 +17,7 @@ module Setup\ndeny :copy, :new, :translator_update, :import, :convert, :send_to_flow\nbelongs_to :task, class_name: Setup::Task.to_s, inverse_of: :execution...
Ruby
MIT License
cenit-io/cenit
Executions notifications
108,883
13.01.2017 06:57:48
18,000
8c4f2601ea2cd4800d70e7e8860e52477f69cd48
Configuring executions UI
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/models/setup/execution_admin.rb", "new_path": "lib/rails_admin/models/setup/execution_admin.rb", "diff": "@@ -6,9 +6,8 @@ module RailsAdmin\nincluded do\nrails_admin do\n- visible false\nnavigation_label 'Monitors'\n- weight 600\n+ weight 615\n...
Ruby
MIT License
cenit-io/cenit
Configuring executions UI
108,883
13.01.2017 13:54:35
18,000
a0d36a77cb02db44d8195bede10336360f33fd0a
Fixing attribute_key deletion from mongoff records
[ { "change_type": "MODIFY", "old_path": "lib/mongoff/record.rb", "new_path": "lib/mongoff/record.rb", "diff": "@@ -217,7 +217,7 @@ module Mongoff\nproperty_schema = field_metadata[:schema] || orm_model.property_schema(field)\nif value.nil?\n@fields.delete(field)\n- document.delete(attribute_key)\n+ d...
Ruby
MIT License
cenit-io/cenit
Fixing attribute_key deletion from mongoff records
108,883
13.01.2017 13:55:39
18,000
0aa804614e2ddc264d3e03104132a97d38a19327
Fixing xsd:language type schema
[ { "change_type": "MODIFY", "old_path": "lib/xsd/document.rb", "new_path": "lib/xsd/document.rb", "diff": "@@ -30,7 +30,7 @@ module Xsd\n'type:http://www.w3.org/2001/XMLSchema:string' => { 'type' => 'string' },\n'type:http://www.w3.org/2001/XMLSchema:normalizedString' => { 'type' => 'string' },\n'typ...
Ruby
MIT License
cenit-io/cenit
Fixing xsd:language type schema
108,883
13.01.2017 13:56:37
18,000
abb609247be2b965f085e0307772805b4eaa1abe
Non empty string/text types
[ { "change_type": "MODIFY", "old_path": "config/initializers/rails_admin.rb", "new_path": "config/initializers/rails_admin.rb", "diff": "@@ -71,7 +71,9 @@ RailsAdmin::Config::Actions.register(:export, RailsAdmin::Config::Actions::BulkE\nRailsAdmin::Config::Fields::Types::OptionalBelongsTo,\nRailsAdmi...
Ruby
MIT License
cenit-io/cenit
Non empty string/text types
108,883
13.01.2017 13:57:19
18,000
86e201188cd3f283bfad8b933b80a03f8f5d0917
Improving save error handling
[ { "change_type": "MODIFY", "old_path": "app/controllers/rails_admin/main_controller_decorator.rb", "new_path": "app/controllers/rails_admin/main_controller_decorator.rb", "diff": "@@ -58,8 +58,7 @@ module RailsAdmin\ndef handle_save_error(whereto = :new)\n#Patch\nif @object && @object.errors.present...
Ruby
MIT License
cenit-io/cenit
Improving save error handling
108,871
13.01.2017 15:21:12
18,000
119564b94fac1cc9d94d7ccf6c947e13e1cf161f
Set GITHUB_OAUTH_TOKEN env.
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/algorithm_helper.rb", "new_path": "app/helpers/rails_admin/algorithm_helper.rb", "diff": "@@ -16,14 +16,14 @@ module RailsAdmin\nend\ndef pull_dependencies(lang)\n- contents = Github::Client::Repos::Contents.new(oauth_token: 'c756392350...
Ruby
MIT License
cenit-io/cenit
Set GITHUB_OAUTH_TOKEN env.
108,871
13.01.2017 15:22:04
18,000
fbcce19afc54b73b7251b33e85c1183356f8ba3d
Sort languages.
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/algorithm_helper.rb", "new_path": "app/helpers/rails_admin/algorithm_helper.rb", "diff": "@@ -8,10 +8,10 @@ module RailsAdmin\ndef algorithm_langs\n[\n- { id: 'php', label: 'Php', dependencies_file: 'composer.json' },\n{ id: 'ruby', lab...
Ruby
MIT License
cenit-io/cenit
Sort languages.
108,871
13.01.2017 15:39:05
18,000
b7ceef81e3608913ec0299db67e1ddd7bb7a6532
Response json when pushed dependencies.
[ { "change_type": "MODIFY", "old_path": "lib/rails_admin/config/actions/algorithm_dependencies.rb", "new_path": "lib/rails_admin/config/actions/algorithm_dependencies.rb", "diff": "@@ -19,7 +19,8 @@ module RailsAdmin\nproc do\nif request.post?\nlang = algorithm_langs.select { |l| l[:id] == params[:la...
Ruby
MIT License
cenit-io/cenit
Response json when pushed dependencies.
108,883
14.01.2017 07:09:46
18,000
528f996e8d2ac8dbeead3a677bff762f1bb32f99
Fixing JS parsing exception
[ { "change_type": "MODIFY", "old_path": "app/models/setup/algorithm.rb", "new_path": "app/models/setup/algorithm.rb", "diff": "@@ -291,7 +291,12 @@ module Setup\ndef parse_javascript_code\nlogs = { errors: errors = [] }\n- ast = RKelly.parse(code) rescue nil\n+ ast =\n+ begin\n+ RKelly.parse(code)\n+...
Ruby
MIT License
cenit-io/cenit
Fixing JS parsing exception
108,868
14.01.2017 08:28:55
28,800
8e4fcc7b6a324d0c3421ac4bd310473dcd17c694
added random integration sample to dashboard search box
[ { "change_type": "MODIFY", "old_path": "app/helpers/rails_admin/dashboard_helper.rb", "new_path": "app/helpers/rails_admin/dashboard_helper.rb", "diff": "@@ -8,6 +8,10 @@ module RailsAdmin\n[1.0, percent].max.to_i * 20\nend\n+ def integration_sample(index = 3)\n+ ['odoo', 'desk', 'mailchimp', 'mandr...
Ruby
MIT License
cenit-io/cenit
added random integration sample to dashboard search box
108,868
15.01.2017 10:17:38
28,800
5a3f26f674fbafe8805e5ee99f13e0c6c06bf94a
improved responsive in dashboard
[ { "change_type": "MODIFY", "old_path": "app/views/layouts/rails_admin/pjax.html.haml", "new_path": "app/views/layouts/rails_admin/pjax.html.haml", "diff": "- @count ||= {}\n- query = params[:query]\n.col-md-12{style: 'margin-bottom: 20px;'}\n- .col-md-7\n+ .col-md-9.col-lg-6\n%h3.label-heading{style...
Ruby
MIT License
cenit-io/cenit
improved responsive in dashboard