-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Uaitt/fix/active-record-relation-issue
Fix: active record relation issue
- Loading branch information
Showing
16 changed files
with
169 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
aasm_rbs (0.2.0) | ||
aasm_rbs (0.2.1) | ||
aasm (~> 5) | ||
|
||
GEM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module AasmRbs | ||
VERSION = '0.2.0' | ||
VERSION = '0.2.1' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,3 @@ sources: | |
path: .gem_rbs_collection | ||
|
||
gems: | ||
- name: rbs | ||
ignore: true | ||
- name: steep | ||
ignore: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
module AasmRbs | ||
class Output | ||
def initialize: (Class) -> String | ||
attr_reader data: String | ||
|
||
def add_states: (Array[String]) -> Array[String] | ||
def add_events: (Array[String]) -> Array[String] | ||
def initialize: (Class klass) -> String | ||
|
||
def add_states: (Array[String] states, ?::Hash[untyped, untyped] opts) -> String | ||
def add_events: (Array[String] events) -> Array[String] | ||
def add_active_record_relation: () -> String | ||
|
||
def new_line: () -> String | ||
def finalize: () -> String | ||
|
||
private | ||
|
||
attr_reader klass: Class | ||
attr_accessor data: String | ||
attr_writer data: String | ||
|
||
def add_state_constants: (Array[String]) -> String | ||
def add_state_scopes: (Array[String]) -> String | ||
def add_predicate_states_methods: (Array[String]) -> Array[String] | ||
def add_state_constants: (Array[String] states) -> String | ||
def add_state_scopes: (Array[String] states) -> String | ||
def add_predicate_states_methods: (Array[String] states) -> String | ||
end | ||
end |
Oops, something went wrong.