Skip to content

Commit

Permalink
Fix links pointing to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Jan 10, 2024
1 parent f6e3778 commit 56cdec5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Check the YARD documentation for more information on using

### 4. Creating an Assembly with Templates

Transloadit allows you to use custom [templates](https://github.com/transloadit/ruby-sdk/blob/master/README.md#8-templates)
Transloadit allows you to use custom [templates](https://github.com/transloadit/ruby-sdk/blob/main/README.md#8-templates)
for recurring encoding tasks. In order to use these do the following:

```ruby
Expand Down Expand Up @@ -408,17 +408,17 @@ transloadit.assembly(:tries => 0).create! open('/PATH/TO/FILE.mpg')
## Example

A small sample tutorial of using the Transloadit ruby-sdk to optimize an image, encode MP3 audio, add ID3 tags,
and more can be found [here](https://github.com/transloadit/ruby-sdk/tree/master/examples).
and more can be found [here](https://github.com/transloadit/ruby-sdk/tree/main/examples).

## Documentation

Up-to-date YARD documentation is automatically generated. You can view the
docs for the <a href="https://rubydoc.info/gems/transloadit/frames" rel="canonical">released gem</a> or
for the latest [git master](https://rubydoc.info/github/transloadit/ruby-sdk/master/frames).
for the latest [git main](https://rubydoc.info/github/transloadit/ruby-sdk/main/frames).

## Compatibility

Please see [ci.yml](https://github.com/transloadit/ruby-sdk/tree/master/.github/workflows/ci.yml) for a list of supported ruby versions. It may also work on older Rubies, but support for those is not guaranteed. If it doesn't work on one of the officially supported Rubies, please file a
Please see [ci.yml](https://github.com/transloadit/ruby-sdk/tree/main/.github/workflows/ci.yml) for a list of supported ruby versions. It may also work on older Rubies, but support for those is not guaranteed. If it doesn't work on one of the officially supported Rubies, please file a
[bug report](https://github.com/transloadit/ruby-sdk/issues). Compatibility patches for other Rubies are welcome.

### Ruby 2.x
Expand Down
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ utilizing our credentials that we set in environment variables.

### First example

In the [first example](https://github.com/transloadit/ruby-sdk/blob/master/examples/basic/image-transcoder.rb)
In the [first example](https://github.com/transloadit/ruby-sdk/blob/main/examples/basic/image-transcoder.rb)
that gets played, we fetch an image from the cat api, optimize it using the Transloadit `/image/optimize` robot, and then optionally
stores it in s3 if the s3 credentials are set.

Expand Down Expand Up @@ -85,7 +85,7 @@ assumes the file object passed in responds to `open`.

### Second example

In the [second example](https://github.com/transloadit/ruby-sdk/blob/master/examples/basic/audio-transcoder.rb),
In the [second example](https://github.com/transloadit/ruby-sdk/blob/main/examples/basic/audio-transcoder.rb),
we take a non-mp3 audio file, encode it as an mp3, add ID3 tags to it, and then optionally store it in s3.
There are many use cases for audio uploads, and adding ID3 tags provides the necessary metadata to display artist and track information
in audio players such as iTunes.
Expand Down Expand Up @@ -153,7 +153,7 @@ assembly.create! open(file)

### Third example

In the [third example](https://github.com/transloadit/ruby-sdk/blob/master/examples/basic/audio-concat-transcoder.rb),
In the [third example](https://github.com/transloadit/ruby-sdk/blob/main/examples/basic/audio-concat-transcoder.rb),
we take a series of mp3 files and concatenate them together. We then optionally upload the result to s3.

This example is provided to showcase advanced usage of the `use` parameter in the `audio/concat` assembly.
Expand Down

0 comments on commit 56cdec5

Please sign in to comment.