action_smser 3.3.0 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_helper.rb CHANGED
@@ -5,10 +5,11 @@ ENV["RAILS_ENV"] = "test"
5
5
 
6
6
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
7
7
  require "rails/test_help"
8
+ # require "minitest/autorun"
8
9
  require 'minitest/mock'
9
- # require "mocha/setup"
10
10
  require 'mocha/minitest'
11
11
 
12
+
12
13
  Rails.backtrace_cleaner.remove_silencers!
13
14
 
14
15
  # Load support files
@@ -61,7 +61,7 @@ class ActionSmser::NexmoTest < ActiveSupport::TestCase
61
61
  test "gateway process_delivery_report(request)" do
62
62
  @msg_id = "msg_id_asdf"
63
63
 
64
- request_mock = MiniTest::Mock.new
64
+ request_mock = ::Minitest::Mock.new
65
65
  request_mock.expect(:params, {"messageId" => @msg_id, "status" => "EXPIRED"})
66
66
  result_array = ActionSmser::DeliveryMethods::Nexmo.process_delivery_report(request_mock)
67
67
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_smser
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olli Huotari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: mocha
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.7'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.7'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -177,8 +177,6 @@ files:
177
177
  - test/dummy/db/production.sqlite3
178
178
  - test/dummy/db/schema.rb
179
179
  - test/dummy/db/test.sqlite3
180
- - test/dummy/log/development.log
181
- - test/dummy/log/production.log
182
180
  - test/dummy/log/test.log
183
181
  - test/dummy/public/404.html
184
182
  - test/dummy/public/422.html
@@ -207,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
205
  requirements:
208
206
  - - ">="
209
207
  - !ruby/object:Gem::Version
210
- version: 2.7.0
208
+ version: 3.0.0
211
209
  required_rubygems_version: !ruby/object:Gem::Requirement
212
210
  requirements:
213
211
  - - ">="
@@ -254,8 +252,6 @@ test_files:
254
252
  - test/dummy/db/production.sqlite3
255
253
  - test/dummy/db/schema.rb
256
254
  - test/dummy/db/test.sqlite3
257
- - test/dummy/log/development.log
258
- - test/dummy/log/production.log
259
255
  - test/dummy/log/test.log
260
256
  - test/dummy/public/404.html
261
257
  - test/dummy/public/422.html
@@ -1,37 +0,0 @@
1
- DEPRECATION WARNING: You didn't set config.secret_key_base. Read the upgrade documentation to learn more about this new config option. (called from service at /home/ohu/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138)
2
-
3
-
4
- Started GET "/" for 127.0.0.1 at 2014-02-07 13:22:36 +0200
5
- Processing by Rails::WelcomeController#index as HTML
6
- Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p484/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (6.1ms)
7
- Completed 200 OK in 63ms (Views: 62.5ms | ActiveRecord: 0.0ms)
8
-
9
-
10
- Started GET "/" for 127.0.0.1 at 2014-02-07 13:22:38 +0200
11
- Processing by Rails::WelcomeController#index as HTML
12
- Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p484/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
13
- Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
14
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
-  (42.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
19
-  (0.2ms) select sqlite_version(*)
20
-  (42.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
- Migrating to CreateActionSmserDeliveryReports (20120102215215)
23
-  (0.0ms) begin transaction
24
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/ohu/koodi/own_gems_programs/action_smser/db/migrate/20120102215215_create_action_smser_delivery_reports.rb:18)
25
-  (0.3ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar, "status" varchar, "status_updated_at" datetime, "sms_type" varchar, "log" text, "to" varchar, "from" varchar, "body" varchar, "gateway" varchar, "re_delivery_of_delivery_report_id" integer, "re_delivered" boolean, "created_at" datetime, "updated_at" datetime)
26
-  (0.1ms) CREATE INDEX "index_action_smser_delivery_reports_on_msg_id" ON "action_smser_delivery_reports" ("msg_id")
27
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120102215215"]]
28
-  (43.9ms) commit transaction
29
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
-  (0.1ms)  SELECT sql
31
- FROM sqlite_master
32
- WHERE name='index_action_smser_delivery_reports_on_msg_id' AND type='index'
33
- UNION ALL
34
- SELECT sql
35
- FROM sqlite_temp_master
36
- WHERE name='index_action_smser_delivery_reports_on_msg_id' AND type='index'
37
- 
File without changes