activitysmith 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6c8b5cc25342b8da0333e0707a6ed1711756441e9b0e81e2f30dad878d14cea
4
- data.tar.gz: 93456d1812c1ed2b66f630d9d1386bb8ca08b4f347c012de15316727635b182c
3
+ metadata.gz: 0156cf4ca24234b00d788157d7509e7ef039055f31d961d5cd69ef891fc4a00b
4
+ data.tar.gz: 5a677785c2474caf6c5f6c930be261e33a8587a60feb28e9780d2847cff84a08
5
5
  SHA512:
6
- metadata.gz: a6860c5182149f48ad3b998f71e3a106d27149d63946c9e8e23088eea263309f38b03237ffa0d756961207b4568907c114c3fbd5597ce3e460442076a6b8a8c8
7
- data.tar.gz: 4ed9cbf7c51a2aa08d2a3dc6e809d555f348a14f2957830401f2043887a3fd16827ec955b1e4bb267379571b01f4cfb92c5503a8c81907f2d1e5645ce0d0592c
6
+ metadata.gz: 7becb4ace06609d70f716db39f849fb00f11b7d0af191650543a9e80b9668edb6cc452f16e83de5c01d3a890642191776ef193a3880af26ca0e28c57964eff28
7
+ data.tar.gz: fbf630d410f3e0ba09fcba85121d9ba179b08e02a6d0a5f3f138094d9e1464822e3a8df0aa07d0d37e22769e8284af172b96403d675637e72fe575598af2e5a0
data/README.md CHANGED
@@ -27,8 +27,8 @@ activitysmith = ActivitySmith::Client.new(api_key: ENV.fetch("ACTIVITYSMITH_API_
27
27
  ```ruby
28
28
  response = activitysmith.notifications.send(
29
29
  {
30
- title: "Build Failed",
31
- message: "CI pipeline failed on main branch",
30
+ title: "New subscription 💸",
31
+ message: "Customer upgraded to Pro plan",
32
32
  channels: ["devs", "ops"] # Optional
33
33
  }
34
34
  )
@@ -43,9 +43,9 @@ puts response.devices_notified
43
43
  start = activitysmith.live_activities.start(
44
44
  {
45
45
  content_state: {
46
- title: "ActivitySmith API Deployment",
47
- subtitle: "start",
48
- number_of_steps: 4,
46
+ title: "Nightly database backup",
47
+ subtitle: "create snapshot",
48
+ number_of_steps: 3,
49
49
  current_step: 1,
50
50
  type: "segmented_progress",
51
51
  color: "yellow"
@@ -64,9 +64,9 @@ update = activitysmith.live_activities.update(
64
64
  {
65
65
  activity_id: activity_id,
66
66
  content_state: {
67
- title: "ActivitySmith API Deployment",
68
- subtitle: "npm i & pm2",
69
- current_step: 3
67
+ title: "Nightly database backup",
68
+ subtitle: "upload archive",
69
+ current_step: 2
70
70
  }
71
71
  }
72
72
  )
@@ -81,10 +81,10 @@ finish = activitysmith.live_activities.end(
81
81
  {
82
82
  activity_id: activity_id,
83
83
  content_state: {
84
- title: "ActivitySmith API Deployment",
85
- subtitle: "done",
86
- current_step: 4,
87
- auto_dismiss_minutes: 3
84
+ title: "Nightly database backup",
85
+ subtitle: "verify restore",
86
+ current_step: 3,
87
+ auto_dismiss_minutes: 2
88
88
  }
89
89
  }
90
90
  )
@@ -97,7 +97,7 @@ puts finish.success
97
97
  ```ruby
98
98
  begin
99
99
  activitysmith.notifications.send(
100
- { title: "Build Failed" }
100
+ { title: "New subscription 💸" }
101
101
  )
102
102
  rescue OpenapiClient::ApiError => err
103
103
  puts "Request failed: #{err.code} #{err.message}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActivitySmith
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activitysmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ActivitySmith
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-16 00:00:00.000000000 Z
11
+ date: 2026-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -112,7 +112,7 @@ licenses:
112
112
  metadata:
113
113
  homepage_uri: https://activitysmith.com/docs/sdks/ruby
114
114
  source_code_uri: https://github.com/ActivitySmithHQ/activitysmith-ruby
115
- post_install_message:
115
+ post_install_message:
116
116
  rdoc_options: []
117
117
  require_paths:
118
118
  - lib
@@ -127,8 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.0.3.1
131
- signing_key:
130
+ rubygems_version: 3.4.19
131
+ signing_key:
132
132
  specification_version: 4
133
133
  summary: Official ActivitySmith Ruby SDK
134
134
  test_files: []