user_actions_logger 0.1 → 0.1.1

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: 9955ea816def52296a19140496e3727474497d1eb923afea5312dcc0632d1a8c
4
- data.tar.gz: 7bd0b96ac465669596801d505f308a1f25b701722fa94e85abb349217dcad4ee
3
+ metadata.gz: caf5a59f0e73d9612498a447a1779a031f16f3434cf1b06522f7120c0c296805
4
+ data.tar.gz: 62d3a0636c3e805bda7a3499ee18d45f8708fc8e5846d9924a6313d0b412cf80
5
5
  SHA512:
6
- metadata.gz: d691a2e481019b3ab7e2c0a48edda6d9a94579f81c70f500e1dd6f5015adcc56ad811b52b165dc220a713817fe7cabbb80aa1e84994906ad34f9de3a8b70e611
7
- data.tar.gz: b354b81abf2d666461749580c709eb728a63213597f6c5228ba83c0afd076e4d253a27ff948ef144b7c6e9fe17dea30c97850da8aa6a5948bd4c1e7c01890c1b
6
+ metadata.gz: 2072972e2d5c0d8553a576b6c0fe276f9b768c1467ef095fe8986bc00b41d2b6669f0ce5a82be9367742759e04e0f5a98b687defcb5939e539da5b107e2978ef
7
+ data.tar.gz: bb302973a93aa9efe0c4883420eacf4e6313fbc23db606283e132470ce969468e4acb046af8105a807c382deb90e7a49aa2473e31c43e8ed0f31345f32f1ece8
data/.gitignore CHANGED
@@ -15,4 +15,168 @@ rdoc
15
15
  spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
- tmp
18
+ tmp
19
+
20
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
21
+ #
22
+ # If you find yourself ignoring temporary files generated by your text editor
23
+ # or operating system, you probably want to add a global ignore instead:
24
+ # git config --global core.excludesfile '~/.gitignore_global'
25
+
26
+ # Ignore bundler config.
27
+ /.bundle
28
+
29
+ # Ignore all logfiles and tempfiles.
30
+ /log/*
31
+ /tmp/*
32
+ !/log/.keep
33
+ !/tmp/.keep
34
+
35
+ /node_modules
36
+ /yarn-error.log
37
+
38
+ .byebug_history
39
+ ### JetBrains template
40
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
41
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
42
+
43
+ # User-specific stuff:
44
+ .idea/**/workspace.xml
45
+ .idea/**/tasks.xml
46
+ .idea/dictionaries
47
+
48
+ # Sensitive or high-churn files:
49
+ .idea/**/dataSources/
50
+ .idea/**/dataSources.ids
51
+ .idea/**/dataSources.xml
52
+ .idea/**/dataSources.local.xml
53
+ .idea/**/sqlDataSources.xml
54
+ .idea/**/dynamic.xml
55
+ .idea/**/uiDesigner.xml
56
+
57
+ # Gradle:
58
+ .idea/**/gradle.xml
59
+ .idea/**/libraries
60
+
61
+ # Mongo Explorer plugin:
62
+ .idea/**/mongoSettings.xml
63
+
64
+ ## File-based project format:
65
+ *.iws
66
+
67
+ ## Plugin-specific files:
68
+
69
+ # IntelliJ
70
+ /out/
71
+
72
+ # mpeltonen/sbt-idea plugin
73
+ .idea_modules/
74
+
75
+ # JIRA plugin
76
+ atlassian-ide-plugin.xml
77
+
78
+ # Crashlytics plugin (for Android Studio and IntelliJ)
79
+ com_crashlytics_export_strings.xml
80
+ crashlytics.properties
81
+ crashlytics-build.properties
82
+ fabric.properties
83
+ ### Rails template
84
+ *.rbc
85
+ capybara-*.html
86
+ .rspec
87
+ /log
88
+ /tmp
89
+ /db/*.sqlite3
90
+ /db/*.sqlite3-journal
91
+ /public/system
92
+ /public/uploads
93
+ /coverage/
94
+ /spec/tmp
95
+ **.orig
96
+ rerun.txt
97
+ pickle-email-*.html
98
+
99
+ config/initializers/secret_token.rb
100
+
101
+ # Only include if you have production secrets in this file, which is no longer a Rails default
102
+ # config/secrets.yml
103
+
104
+ # dotenv
105
+ .env
106
+
107
+ ## Environment normalization:
108
+ /.bundle
109
+ /vendor/bundle
110
+
111
+ # these should all be checked in to normalize the environment:
112
+ # Gemfile.lock, .ruby-version, .ruby-gemset
113
+
114
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
115
+ .rvmrc
116
+
117
+ # if using bower-rails ignore default bower_components path bower.json files
118
+ /vendor/assets/bower_components
119
+ *.bowerrc
120
+ bower.json
121
+
122
+ # Ignore pow environment settings
123
+ .powenv
124
+
125
+ # Ignore Byebug command history file.
126
+ .byebug_history
127
+ ### Ruby template
128
+ *.gem
129
+ *.rbc
130
+ /.config
131
+ /coverage/
132
+ /InstalledFiles
133
+ /pkg/
134
+ /spec/reports/
135
+ /spec/examples.txt
136
+ /test/tmp/
137
+ /test/version_tmp/
138
+ /tmp/
139
+
140
+ # Used by dotenv library to load environment variables.
141
+ # .env
142
+
143
+ ## Specific to RubyMotion:
144
+ .dat*
145
+ .repl_history
146
+ build/
147
+ *.bridgesupport
148
+ build-iPhoneOS/
149
+ build-iPhoneSimulator/
150
+
151
+ ## Specific to RubyMotion (use of CocoaPods):
152
+ #
153
+ # We recommend against adding the Pods directory to your .gitignore. However
154
+ # you should judge for yourself, the pros and cons are mentioned at:
155
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
156
+ #
157
+ # vendor/Pods/
158
+
159
+ ## Documentation cache and generated files:
160
+ /.yardoc/
161
+ /_yardoc/
162
+ /doc/
163
+ /rdoc/
164
+
165
+ ## Environment normalization:
166
+ /.bundle/
167
+ /vendor/bundle
168
+ /lib/bundler/man/
169
+
170
+ # for a library or gem, you might want to ignore these files since the code is
171
+ # intended to run in multiple environments; otherwise, check them in:
172
+ # Gemfile.lock
173
+ # .ruby-version
174
+ # .ruby-gemset
175
+
176
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
177
+ .rvmrc
178
+ /.idea/*
179
+ /public/packs
180
+ /public/packs-test
181
+ /node_modules
182
+ /yarn.lock
data/README.md CHANGED
@@ -1 +1,12 @@
1
- init gem
1
+ # UserActionsLogger
2
+
3
+ ### Installation:
4
+ 1. Add UserActionsLogger to you 'Gemfile'.
5
+ gem 'user_actions_logger', '~> 0.1'
6
+
7
+ 2. Add 'loggings' table to your database
8
+ rake user_actions_logger:create_migration
9
+ bundle exec rake db:migrate
10
+
11
+ ### Basic Usage:
12
+ missing doc. :(
@@ -0,0 +1,5 @@
1
+ namespace :user_actions_logger do
2
+ task create_migration: :environment do
3
+ `rails generate migration CreateLoggings user:string object:string action:string module_name:string created_at:datetime updated_at:datetime`
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'user_actions_logger'
5
+ s.version = '0.1.1'
6
+ s.date = '2018-04-01'
7
+ s.summary = 'UserAsctionLogger - Simple gem for loggin user actions'
8
+ s.description = 'Logging user actions in loggings table if you use SQL. But you can use this gem whith no-sql db'
9
+ s.author = 'Yurich May'
10
+ s.email = 'yurich.maevskiy@gmail.com'
11
+ s.homepage = 'https://github.com/AveYurich/user_actions_logger'
12
+ s.license = 'MIT'
13
+ s.files = `git ls-files`.split("\n")
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_actions_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yurich May
@@ -20,7 +20,9 @@ files:
20
20
  - ".gitignore"
21
21
  - Gemfile
22
22
  - README.md
23
+ - lib/tasks/user_actions_logger.rake
23
24
  - lib/user_actions_logger.rb
25
+ - user_actions_logger.gemspec
24
26
  homepage: https://github.com/AveYurich/user_actions_logger
25
27
  licenses:
26
28
  - MIT