activityutils 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ce6c97adb8567310854e56a1d4525128d7145bf
4
- data.tar.gz: 28d8087ee445e3003aa5fb4ea504e325c6fa8c1d
3
+ metadata.gz: 7c68074500e69550328c162927e8989c9a2d1727
4
+ data.tar.gz: 9847cc23dcb287d93e02abece0570cd7e524da09
5
5
  SHA512:
6
- metadata.gz: 072fad91ef93e86201b1d28fd95b6d25d460af966b190adc3df5fd954df96c4cd7d0b09283fd3a9e6e69eac5966f4676aa86edee131d56a1a515f3890edefcda
7
- data.tar.gz: 25829d124a7fc260734590caabed45589bd72cefb6cf07498fd82320a6030af582ec5a8c6346c43e419c87428555482dc32fbadcacf2a79d96b1c5aabb53938f
6
+ metadata.gz: fb4b97f27bdfadbec4ccaa580b33e2468ee43683b782bded509b9767a8764d87f8306585be785212af2a8ba635dbbb2996ebbfba92314ac5b1f44856b78a927f
7
+ data.tar.gz: 277d950deddbe202da35aee057a4d7096e461fa78a8d678412d549662d7d3396103cf33819ce5f76be33aaf28c20031e09ed118b409762a2b26db4f2840e2b9c
File without changes
@@ -1,4 +1,4 @@
1
- History.md
1
+ CHANGELOG.md
2
2
  Manifest.txt
3
3
  README.md
4
4
  Rakefile
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  activityutils gems - activity (timeline) utilities
4
4
 
5
- * home :: [github.com/rubylibs/activityutils](https://github.com/rubylibs/activityutils)
6
- * bugs :: [github.com/rubylibs/activityutils/issues](https://github.com/rubylibs/activityutils/issues)
5
+ * home :: [github.com/rubycoco/activityutils](https://github.com/rubycoco/activityutils)
6
+ * bugs :: [github.com/rubycoco/activityutils/issues](https://github.com/rubycoco/activityutils/issues)
7
7
  * gem :: [rubygems.org/gems/activityutils](https://rubygems.org/gems/activityutils)
8
8
  * rdoc :: [rubydoc.info/gems/activityutils](http://rubydoc.info/gems/activityutils)
9
9
 
@@ -17,7 +17,7 @@ TBD
17
17
 
18
18
  ### Database Schemas
19
19
 
20
- ~~~
20
+ ```
21
21
  create_table :activity_engine_activities do |t|
22
22
  t.integer :user_id
23
23
  t.string :subject_type, index: true, null: false
@@ -26,11 +26,11 @@ create_table :activity_engine_activities do |t|
26
26
  t.text :message
27
27
  t.timestamps
28
28
  end
29
- ~~~
29
+ ```
30
30
 
31
31
  (source: [ndlib/activity_engine](https://github.com/ndlib/activity_engine/blob/master/db/migrate/20130722162331_create_activity_engine_activities.rb))
32
32
 
33
- ~~~
33
+ ```
34
34
  create_table :activities do |t|
35
35
  t.integer :user_id, :limit => 10
36
36
  t.string :action, :limit => 50
@@ -38,11 +38,11 @@ create_table :activities do |t|
38
38
  t.string :item_type
39
39
  t.datetime :created_at
40
40
  end
41
- ~~~
41
+ ```
42
42
 
43
43
  (source: [bborn/communityengine](https://github.com/bborn/communityengine/blob/master/db/migrate/039_create_activities_table.rb))
44
44
 
45
- ~~~
45
+ ```
46
46
  create_table :activities do |t|
47
47
  t.references :user # who performed the activity
48
48
  t.boolean :public, :default => true
@@ -51,12 +51,12 @@ create_table :activities do |t|
51
51
  t.string :action # what action was performed on the item (create, destroy, update, etc)
52
52
  t.timestamps
53
53
  end
54
- ~~~
54
+ ```
55
55
 
56
56
  (source: [timothyf/EngineY](https://github.com/timothyf/EngineY/blob/master/db/migrate/20090116165201_create_activities.rb))
57
57
 
58
58
 
59
- ~~~
59
+ ```
60
60
  create_table :activities do |t|
61
61
  t.integer :person_id
62
62
  t.boolean :public
@@ -64,12 +64,12 @@ create_table :activities do |t|
64
64
  t.string :item_type
65
65
  t.timestamps
66
66
  end
67
- ~~~
67
+ ```
68
68
 
69
69
  (source: [insoshi/insoshi](https://github.com/insoshi/insoshi/blob/master/db/migrate/010_create_events_and_feed.rb))
70
70
 
71
71
 
72
- ~~~
72
+ ```
73
73
  create_table :activities do |t|
74
74
  t.belongs_to :trackable, :polymorphic => true
75
75
  t.belongs_to :owner, :polymorphic => true
@@ -78,11 +78,11 @@ create_table :activities do |t|
78
78
  t.belongs_to :recipient, :polymorphic => true
79
79
  t.timestamps
80
80
  end
81
- ~~~
81
+ ```
82
82
 
83
83
  (source: [pokonski/public_activity](https://github.com/pokonski/public_activity/blob/master/lib/generators/public_activity/migration/templates/migration.rb))
84
84
 
85
- ~~~
85
+ ```
86
86
  create_table :activity_logs do |t|
87
87
  t.integer :user_id
88
88
  t.integer :loggable_id
@@ -93,13 +93,15 @@ create_table :activity_logs do |t|
93
93
  t.text :data
94
94
  t.timestamps
95
95
  end
96
- ~~~
96
+ ```
97
97
 
98
98
  (source: [JonErikDSuero/activitylog](https://github.com/JonErikDSuero/activitylog/blob/master/lib/generators/activity_log/templates/create_activity_logs.rb))
99
99
 
100
100
 
101
101
  TBD
102
102
 
103
+
104
+
103
105
  ## License
104
106
 
105
107
  The `activityutils` scripts are dedicated to the public domain.
data/Rakefile CHANGED
@@ -8,23 +8,23 @@ Hoe.spec 'activityutils' do
8
8
  self.summary = 'activityutils - activity (timeline) utilities'
9
9
  self.description = summary
10
10
 
11
- self.urls = ['https://github.com/rubylibs/activityutils']
11
+ self.urls = ['https://github.com/rubycoco/activityutils']
12
12
 
13
13
  self.author = 'Gerald Bauer'
14
14
  self.email = 'wwwmake@googlegroups.com'
15
15
 
16
16
  # switch extension to .markdown for gihub formatting
17
17
  self.readme_file = 'README.md'
18
- self.history_file = 'History.md'
18
+ self.history_file = 'CHANGELOG.md'
19
19
 
20
20
  self.extra_deps = [
21
- ['logutils', '>= 0.5']
21
+ ['logutils', '>= 0.6.1']
22
22
  ]
23
23
 
24
24
  self.licenses = ['Public Domain']
25
25
 
26
26
  self.spec_extras = {
27
- :required_ruby_version => '>= 2.3'
27
+ required_ruby_version: '>= 2.2.2'
28
28
  }
29
29
 
30
30
  end
@@ -15,4 +15,6 @@ module ActivityUtils
15
15
  end # module ActivityUtils
16
16
 
17
17
 
18
- puts ActivityUtils.banner # say hello
18
+ # say hello
19
+ puts ActivityUtils.banner if $DEBUG || (defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG)
20
+
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ActivityUtils
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activityutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2020-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logutils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: 0.6.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.5'
26
+ version: 0.6.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rdoc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -57,11 +57,11 @@ email: wwwmake@googlegroups.com
57
57
  executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files:
60
- - History.md
60
+ - CHANGELOG.md
61
61
  - Manifest.txt
62
62
  - README.md
63
63
  files:
64
- - History.md
64
+ - CHANGELOG.md
65
65
  - Manifest.txt
66
66
  - README.md
67
67
  - Rakefile
@@ -72,7 +72,7 @@ files:
72
72
  - lib/activityutils/server/public/style.css
73
73
  - lib/activityutils/server/views/index.erb
74
74
  - lib/activityutils/version.rb
75
- homepage: https://github.com/rubylibs/activityutils
75
+ homepage: https://github.com/rubycoco/activityutils
76
76
  licenses:
77
77
  - Public Domain
78
78
  metadata: {}
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '2.3'
89
+ version: 2.2.2
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="