David Heinemeier Hansson
5beb87c7b1
Move to new storage.yml location
2017-07-31 16:18:39 -05:00
David Heinemeier Hansson
bb69b3e047
Directory and config installation now done by app_generator
2017-07-31 16:12:39 -05:00
David Heinemeier Hansson
e814042a0a
Create the skeleton directories needed and ignore accordingly
2017-07-31 16:12:27 -05:00
David Heinemeier Hansson
9d1268375c
Fix gitignore to be relative
2017-07-31 15:59:04 -05:00
David Heinemeier Hansson
a1a363a8aa
Follow form from actioncable
2017-07-31 15:57:56 -05:00
David Heinemeier Hansson
d24e72d8a9
Load activestorage by default
2017-07-31 15:57:47 -05:00
David Heinemeier Hansson
90a8e0698d
Use config/storage.yml as part of the skeleton and loading
2017-07-31 15:57:37 -05:00
David Heinemeier Hansson
54663f55ef
Resolve gemspec typo
2017-07-31 15:55:55 -05:00
David Heinemeier Hansson
9e502959c0
No longer used
2017-07-31 15:54:17 -05:00
David Heinemeier Hansson
17b2137282
Require activestorage per default with asset pipeline
2017-07-31 15:53:56 -05:00
David Heinemeier Hansson
16d00247f3
Bring activestorage dependencies into the general Gemfile
2017-07-31 15:53:09 -05:00
David Heinemeier Hansson
253757ddcb
Initialize changelog
2017-07-31 15:52:39 -05:00
David Heinemeier Hansson
4b5e042d79
Use standard Rails layout for gemspec
2017-07-31 15:52:31 -05:00
David Heinemeier Hansson
4687c86b91
Include default storage configuration
2017-07-31 15:17:23 -05:00
Rafael Mendonça França
9330d01ada
Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'
...
git-subtree-dir: activestorage
git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6
git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58
2017-07-31 15:21:22 -04:00
Guillermo Iguaran
0d58e7e478
Merge pull request #30016 from albertoalmagro/set-ruby-version-in-gemfile-and-ruby-version-by-default
...
Set Ruby version in Gemfile and .ruby-version by default
2017-07-31 14:04:25 -05:00
Alberto Almagro
fd7f978a50
Set Ruby version in Gemfile and .ruby-version by default
2017-07-31 20:06:26 +02:00
Dino Maric
3f4a7218a4
Azure Storage support ( #36 )
...
* Microsoft Azure storage support
* Add support for Microsoft Azure Storage
* Comply with the new headers implementation
2017-07-31 10:09:12 -05:00
Dino Maric
6c68524b69
Depend on Ruby >=2.2.2 ( #85 )
2017-07-31 09:41:00 -05:00
Sean Griffin
0f245882c9
Merge pull request #29950 from MaxLap/avoid_or_clause_duplicates
...
Avoid duplicate clauses when using #or
2017-07-31 09:21:43 -04:00
Javan Makhmali
9da2c41b2f
activestorage.js 0.1.1
2017-07-30 11:34:39 -04:00
Javan Makhmali
39bfc836b8
Configure per-service request headers for direct uploads ( #83 )
...
* Configure per-service request headers for direct uploads
* Fix header hashes
2017-07-30 10:00:55 -05:00
Kasper Timm Hansen
090eaa7e1b
Merge pull request #30001 from y-yagi/fix_test_directory
...
Fix test directory to correct path
2017-07-30 16:19:43 +02:00
Kasper Timm Hansen
f757c1f413
Merge pull request #29951 from georgeclaghorn/action-view-test-flow
...
Fix testing helpers that use Action View's capturing helpers (e.g. content_for)
2017-07-30 16:13:47 +02:00
Kasper Timm Hansen
3636d1f479
Fix github user output.
...
[ Orhan Toy & Kasper Timm Hansen ]
2017-07-30 16:09:36 +02:00
Kasper Timm Hansen
a78e591d10
Merge pull request #29963 from y-yagi/fix_ruby_warnings
...
Fix `warning: method redefined;`
2017-07-30 15:58:49 +02:00
Vipul A M
0e94a1d338
Merge pull request #30002 from y-yagi/change_http_postgresql_links_to_https
...
Change http postgresql.org links to https [ci skip]
2017-07-30 18:36:15 +05:30
yuuji.yaginuma
b52849d421
Change http postgresql.org links to https [ci skip]
...
It seems that it accepts only HTTPS connections.
Ref: 7f77cbd996
2017-07-30 21:52:31 +09:00
yuuji.yaginuma
05bbfc5eab
Fix test directory to correct path
...
Together, fix to the following lint violation.
```
rails/actionview/test/ujs/public/test/data-confirm.js
303:11 error Strings must use singlequote quotes
rails/actionview/test/ujs/public/test/data-remote.js
414:32 error Extra semicolon semi
✖ 2 problems (2 errors, 0 warnings)
```
2017-07-30 16:28:10 +09:00
Matthew Draper
b5db730769
Merge pull request #29933 from kirs/frozen-actionpack
...
Use frozen string literal in actionpack/
2017-07-29 15:38:02 -04:00
Kir Shatrov
dfcc766163
Use frozen string literal in actionpack/
2017-07-29 14:02:40 +03:00
Maxime Lapointe
be81b50660
Edits following the reviews
2017-07-28 17:53:50 -04:00
David Heinemeier Hansson
a91bb13b8d
Convert type inquiry into root predicates for base types alone instead
2017-07-28 15:49:43 -05:00
David Heinemeier Hansson
1f150e0218
Must always return the options even if they werent converted
2017-07-28 15:43:53 -05:00
David Heinemeier Hansson
801b4eb465
Add Blob#type as a StringInquirer
2017-07-28 15:27:43 -05:00
David Heinemeier Hansson
696b8c6f43
Add a direct_upload: true option to file_field_tag and Form#file_field
...
Then users don't have to bother with manually referring to internal routes.
2017-07-28 15:13:22 -05:00
Sean Griffin
904f1a8747
Merge pull request #29946 from kamipo/passing_arel_to_where_is_boundable
...
Building `where_clause` in `UniquenessValidator` is no longer needed
2017-07-28 12:42:23 -04:00
Sean Griffin
c33fb580cd
Merge pull request #29979 from kamipo/use_build_bind_attribute
...
Use `predicate_builder.build_bind_attribute` wherever possible
2017-07-28 12:36:05 -04:00
Javan Makhmali
fd438769cc
Add npm package details
2017-07-28 11:54:57 -04:00
Javan Makhmali
b0b072ff2e
Minor constructor signature tweaks
2017-07-28 11:46:38 -04:00
Javan Makhmali
a0a23e9f5d
Add JavaScript linting ( #82 )
2017-07-28 10:17:48 -05:00
Sayan Chakraborty
a54e13bd2e
Add missing support for modulo operations on durations
...
Rails 5.1 introduce an `ActiveSupport::Duration::Scalar` class as
a wrapper around a numeric value as a way of ensuring a duration
was the outcome of an expression. However the implementation was
missing support for modulo operations. This commit adds support
for those operations and should result in a duration being
returned from expressions involving them.
Fixes #29603 and #29743 .
2017-07-28 14:06:53 +01:00
Robin Dupret
c6a28b290a
Merge pull request #29982 from ydakuka/patch-1
...
[ci skip] update routing guide
2017-07-28 14:50:48 +02:00
ydakuka
0e523ffc28
Squashed commit of the following:
...
commit 4a3d295f3011e771cddead80de7497ca15d15c13
Author: Yauheni Dakuka <yauheni.dakuka@gmail.com>
Date: Fri Jul 28 14:31:35 2017 +0300
Update routing.md
commit 620a4ce47288e3ef6504290c78f931214968e7e3
Author: Yauheni Dakuka <yauheni.dakuka@gmail.com>
Date: Fri Jul 28 14:19:29 2017 +0300
[ci skip] update routing guide
2017-07-28 15:44:10 +03:00
Robin Dupret
490c5a742f
Merge pull request #29980 from ydakuka/patch-1
...
[ci skip] update routing guide
2017-07-28 11:59:34 +02:00
Yauheni Dakuka
bb5f29bfb7
[ci skip] update routing guide
2017-07-28 11:35:09 +03:00
Ryuta Kamizono
d148c32983
Use predicate_builder.build_bind_attribute
wherever possible
...
For less duplicated code.
2017-07-28 17:18:09 +09:00
yuuji.yaginuma
65a1733545
Fix warning: method redefined;
...
This fixes the following warning:
```
/tmp/d20170727-7039-kmdtb1/app/app/models/user.rb:5: warning: method redefined; discarding old model_name
rails/activemodel/lib/active_model/naming.rb:222: warning: previous definition of model_name was here
```
2017-07-28 12:18:14 +09:00
Javan Makhmali
6262891b56
Add JavaScript direct upload support ( #81 )
2017-07-27 18:47:03 -05:00
George Claghorn
dc235c4d13
Separate show and direct upload tests
2017-07-27 17:07:52 -04:00