Skip to content

Commit

Permalink
Bump Version - Release 0.2.0 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiLavera authored Sep 9, 2020
1 parent 146fc75 commit 2cf1508
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion javascript/Component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class Component {
{
channel: `motion:${this.generateTopic()}`,
// TODO:
version: '0.1.0', // import version
version: '0.2.0', // import version
state: this.element.getAttribute(this.client.stateAttribute),
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@awcrotwell/motion",
"version": "0.1.16",
"version": "0.2.0",
"description": "Motion allows you to build reactive, real-time frontend UI components in your Amber application using pure Crystal that are reusable, testable & encapsulated. For brevity, we will call them MotionComponents.",
"main": "dist/index.js",
"types": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: motion
version: 0.1.0
version: 0.2.0

# description: |
# Short description of view_component
Expand Down
4 changes: 2 additions & 2 deletions spec/motion/channel_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe Motion::Channel do
"data" => {} of String => String,
"identifier" => {
"channel" => "motion:6968",
"version" => "0.1.0",
"version" => Motion::Version.to_s,
"state" => "eyJtYXBfbW90aW9uIjpmYWxzZSwibW90aW9uX2hpdCI6ZmFsc2V9AE1vdGlvblJlbmRlcg==",
},
},
Expand All @@ -58,7 +58,7 @@ describe Motion::Channel do
"topic": "motion:69689",
"identifier": {
"state": "eyJtb3Rpb25fY29tcG9uZW50Ijp0cnVlLCJjb3VudCI6MH0AVGlja2VyQ29tcG9uZW50", # TickerComponent
"version": "0.1.0",
"version": Motion::Version.to_s,
},
}

Expand Down
4 changes: 2 additions & 2 deletions spec/support/json_fixtures.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MESSAGE_JOIN = JSON.parse({
"topic" => "motion:6968",
"identifier" => {
"channel" => "motion:6968",
"version" => "0.1.0",
"version" => Motion::Version.to_s,
"state" => "eyJtYXBfbW90aW9uIjpmYWxzZSwibW90aW9uX2hpdCI6ZmFsc2V9AE1vdGlvblJlbmRlcg==",
},
}.to_json)
Expand All @@ -16,7 +16,7 @@ MESSAGE_NEW = JSON.parse({
"command" => "process_motion",
"identifier" => {
"channel" => "motion:6968",
"version" => "0.1.0",
"version" => Motion::Version.to_s,
"state" => "eyJtYXBfbW90aW9uIjpmYWxzZSwibW90aW9uX2hpdCI6ZmFsc2V9AE1vdGlvblJlbmRlcg==",
},
"data" => {
Expand Down
2 changes: 1 addition & 1 deletion src/motion/version.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Motion
# :nodoc:
module Version
VERSION = "0.1.0"
VERSION = "0.2.0"

def self.to_s
VERSION
Expand Down

0 comments on commit 2cf1508

Please sign in to comment.